diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-17 16:55:33 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-17 16:55:33 -0700 |
commit | 2e80f71dcd2367ceae00df88405deee66a68b9ca (patch) | |
tree | f39ffd675b73c108cff9e03d4627cccd23d830e4 /src | |
parent | 62ffc71faba7f2cf05ab7e3fc0624a2c12bf6486 (diff) | |
download | gem5-2e80f71dcd2367ceae00df88405deee66a68b9ca.tar.xz |
Implemented jnz.
--HG--
extra : convert_revision : ea169ad68acbb3383443586b783b831b3a9eecf9
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/isa/decoder/one_byte_opcodes.isa | 2 | ||||
-rw-r--r-- | src/arch/x86/isa/insts/control_transfer/jump.py | 7 |
2 files changed, 8 insertions, 1 deletions
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,) +}; ''' |