X86: Fix the constant detecting three byte opcodes in the predecoder.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 20 Nov 2011 13:10:05 +0000 (05:10 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 20 Nov 2011 13:10:05 +0000 (05:10 -0800)
--HG--
extra : rebase_source : b64c3d2348cb73177024695fb6e205d51bf1cda9

src/arch/x86/predecoder.cc

index 429b91687cddc51f8f182f2d593493145008f5b4..a4aa93b4817a79306e091e12ccbc196e4502b828 100644 (file)
@@ -186,7 +186,7 @@ namespace X86ISA
             DPRINTF(Predecoder, "Found two byte opcode.\n");
             emi.opcode.prefixA = nextByte;
         }
-        else if(emi.opcode.num == 2 && (nextByte == 0x38 || nextByte == 0x3F))
+        else if(emi.opcode.num == 2 && (nextByte == 0x38 || nextByte == 0x3A))
         {
             nextState = OpcodeState;
             DPRINTF(Predecoder, "Found three byte opcode.\n");