summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-11-20 05:10:05 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-11-20 05:10:05 -0800
commit49a2d54e1aada7d2edeef48a113401a3e05aaec4 (patch)
tree9e0599ad413178cddce82d9770560e9889dbb130 /src/arch
parentf171a29118e1d80c04c72d2fb5f024fed4fb62af (diff)
downloadgem5-49a2d54e1aada7d2edeef48a113401a3e05aaec4.tar.xz
X86: Fix the constant detecting three byte opcodes in the predecoder.
--HG-- extra : rebase_source : b64c3d2348cb73177024695fb6e205d51bf1cda9
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/predecoder.cc2
1 files changed, 1 insertions, 1 deletions
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");