X86: Implemented the jrcx instruction.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 19 Oct 2007 05:37:08 +0000 (22:37 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 19 Oct 2007 05:37:08 +0000 (22:37 -0700)
--HG--
extra : convert_revision : d738015ff33449e55d8f1624c8467c1bba193e16

src/arch/x86/isa/decoder/one_byte_opcodes.isa
src/arch/x86/isa/insts/general_purpose/control_transfer/conditional_jump.py

index da78674011cb4151419138bbfe9753b3b9889c53..f49059de20bb4df0999430fa5f154a5978b89cd8 100644 (file)
             0x0: loopne_Jb();
             0x1: loope_Jb();
             0x2: loop_Jb();
-            0x3: jcxz_or_jecx_or_jrcx();
+            0x3: Inst::JRCX(Jb);
             0x4: in_Al_Ib();
             0x5: in_eAX_Ib();
             0x6: out_Ib_Al();
index b04ca97d6e8626125e74f5f53800ccf83289053d..c2856e630efc3605b5b5fb4f420b6e36c7db2189 100644 (file)
@@ -213,4 +213,11 @@ def macroop JNO_I
     limm t2, imm
     wrip t1, t2, flags=(nCOF,)
 };
+
+def macroop JRCX_I
+{
+    rdip t1
+    add t0, t0, rcx, flags=(EZF,), dataSize=asz
+    wripi t1, imm, flags=(CEZF,)
+};
 '''