X86: Hook in another version of the XCHG instruction.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 05:03:38 +0000 (22:03 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 05:03:38 +0000 (22:03 -0700)
--HG--
extra : convert_revision : 7b6f9cd2f59443622f6963dfee454175322c0ef5

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

index d4e881128fd485d65240e5d3a2005a692061a37e..0816eb175a3a7e2cb6eb3c27a9cc5351c923902b 100644 (file)
         }
         0x12: decode OPCODE_OP_BOTTOM3 {
             0x0: Inst::NOP(); //XXX repe makes this a "pause"
-            default: xchg_B_rAX();
+            default: Inst::XCHG(Bv,rAv);
         }
         0x13: decode OPCODE_OP_BOTTOM3 {
             0x0: Inst::CDQE(rAv);