Fix the overload which prints ExtMachInst in X86.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 19 Jul 2007 00:45:43 +0000 (17:45 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 19 Jul 2007 00:45:43 +0000 (17:45 -0700)
--HG--
extra : convert_revision : 2ef8ee71999f36b09270ba9526c2846beda65051

src/arch/x86/types.hh

index ef4d2e5c4602ae3efb6d727d9a52adea3ad1de2f..9d927679db1c769cf3e895031690a67f06ed9977 100644 (file)
@@ -184,8 +184,8 @@ namespace X86ISA
                            "prefixA = %#x,\n\t\tprefixB = %#x\n\t},\n\t"
                      "modRM = %#x,\n\tsib = %#x,\n\t"
                      "immediate = %#x,\n\tdisplacement = %#x\n}\n",
-                     emi.legacy, (uint8_t)emi.rex,
-                     emi.opcode.num, emi.opcode.op,
+                     (uint8_t)emi.legacy, (uint8_t)emi.rex,
+                     emi.opcode.num, (uint8_t)emi.opcode.op,
                      emi.opcode.prefixA, emi.opcode.prefixB,
                      (uint8_t)emi.modRM, (uint8_t)emi.sib,
                      emi.immediate, emi.displacement);