From: Gabe Black Date: Sun, 20 Nov 2011 13:10:05 +0000 (-0800) Subject: X86: Fix the constant detecting three byte opcodes in the predecoder. X-Git-Tag: stable_2012_02_02~25 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49a2d54e1aada7d2edeef48a113401a3e05aaec4;p=gem5.git X86: Fix the constant detecting three byte opcodes in the predecoder. --HG-- extra : rebase_source : b64c3d2348cb73177024695fb6e205d51bf1cda9 --- diff --git a/src/arch/x86/predecoder.cc b/src/arch/x86/predecoder.cc index 429b91687..a4aa93b48 100644 --- a/src/arch/x86/predecoder.cc +++ b/src/arch/x86/predecoder.cc @@ -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");