From: Gabe Black Date: Tue, 17 Jul 2007 23:55:33 +0000 (-0700) Subject: Implemented jnz. X-Git-Tag: m5_2.0_beta4~297^2~46 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e80f71dcd2367ceae00df88405deee66a68b9ca;p=gem5.git Implemented jnz. --HG-- extra : convert_revision : ea169ad68acbb3383443586b783b831b3a9eecf9 --- diff --git a/src/arch/x86/isa/decoder/one_byte_opcodes.isa b/src/arch/x86/isa/decoder/one_byte_opcodes.isa index 4be83bf54..546577662 100644 --- a/src/arch/x86/isa/decoder/one_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/one_byte_opcodes.isa @@ -264,7 +264,7 @@ 0x2: jb_Jb(); 0x3: jnb_Jb(); 0x4: Inst::JZ(Jb); - 0x5: jnz_Jb(); + 0x5: Inst::JNZ(Jb); 0x6: jbe_Jb(); 0x7: jnbe_Jb(); } diff --git a/src/arch/x86/isa/insts/control_transfer/jump.py b/src/arch/x86/isa/insts/control_transfer/jump.py index 9a013a823..15f00e083 100644 --- a/src/arch/x86/isa/insts/control_transfer/jump.py +++ b/src/arch/x86/isa/insts/control_transfer/jump.py @@ -60,4 +60,11 @@ def macroop JZ_I limm t2, imm wrip t1, t2, flags=(CZF,) }; + +def macroop JNZ_I +{ + rdip t1 + limm t2, imm + wrip t1, t2, flags=(nCZF,) +}; '''