X86: Hook in the new instructions.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 30 Jul 2007 20:31:27 +0000 (13:31 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 30 Jul 2007 20:31:27 +0000 (13:31 -0700)
--HG--
extra : convert_revision : c4233001b35b52161083482841593ec28da6ff7d

src/arch/x86/isa/decoder/one_byte_opcodes.isa
src/arch/x86/isa/decoder/two_byte_opcodes.isa

index 3b51f9d734e8405ced8eb7dfb9c5eb247cd9a2ef..3253c9fec4244e896ffd906301476195cc6492c9 100644 (file)
         }
         0x19: decode OPCODE_OP_BOTTOM3 {
             0x0: enter_Iw_Ib();
-            0x1: leave();
+            0x1: Inst::LEAVE();
             0x2: ret_far_Iw();
             0x3: ret_far();
             0x4: int3();
                 0x1: Inst::TEST(Eb,Iz);
                 0x2: Inst::NOT(Eb);
                 0x3: Inst::NEG(Eb);
-                0x4: mul_Eb();
-                0x5: imul_Eb();
+                0x4: Inst::MUL_B(Eb);
+                0x5: Inst::IMUL_B(Eb);
                 0x6: div_Eb();
                 0x7: idiv_Eb();
             }
                 0x1: Inst::TEST(Ev,Iz);
                 0x2: Inst::NOT(Ev);
                 0x3: Inst::NEG(Ev);
-                0x4: mul_Ev();
-                0x5: imul_Ev();
+                0x4: Inst::MUL(Ev);
+                0x5: Inst::IMUL(Ev);
                 0x6: div_Ev();
                 0x7: idiv_Ev();
             }
index da4c82afa53c51ebb84daa92dcf8ed2fa81e69f1..a8c4e706266cf43a23070d6ef3851b446b6b9599 100644 (file)
             0x14: decode OPCODE_OP_BOTTOM3 {
                 0x0: push_fs();
                 0x1: pop_fs();
-                0x2: cpuid();
+                0x2: Inst::CPUID(rAd);
                 0x3: bt_Ev_Gv();
                 0x4: shld_Ev_Gv_Ib();
                 0x5: shld_Ev_Gv_rCl();