Implemented jnz.
authorGabe Black <gblack@eecs.umich.edu>
Tue, 17 Jul 2007 23:55:33 +0000 (16:55 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Tue, 17 Jul 2007 23:55:33 +0000 (16:55 -0700)
--HG--
extra : convert_revision : ea169ad68acbb3383443586b783b831b3a9eecf9

src/arch/x86/isa/decoder/one_byte_opcodes.isa
src/arch/x86/isa/insts/control_transfer/jump.py

index 4be83bf54907ed44dcd38715044233abadfca506..5465776621652d4db8c9afce7f9f63400eaac4f2 100644 (file)
             0x2: jb_Jb();
             0x3: jnb_Jb();
             0x4: Inst::JZ(Jb);
-            0x5: jnz_Jb();
+            0x5: Inst::JNZ(Jb);
             0x6: jbe_Jb();
             0x7: jnbe_Jb();
         }
index 9a013a8234e822a5052d324bea0a710a6332b831..15f00e08384dbd250954f140d0e800d030a1682b 100644 (file)
@@ -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,)
+};
 '''