projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f171a29
)
X86: Fix the constant detecting three byte opcodes in the predecoder.
author
Gabe Black
<gblack@eecs.umich.edu>
Sun, 20 Nov 2011 13:10:05 +0000
(
05:10
-0800)
committer
Gabe 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
patch
|
blob
|
history
diff --git
a/src/arch/x86/predecoder.cc
b/src/arch/x86/predecoder.cc
index 429b91687cddc51f8f182f2d593493145008f5b4..a4aa93b4817a79306e091e12ccbc196e4502b828 100644
(file)
--- 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 == 0x3
F
))
+ else if(emi.opcode.num == 2 && (nextByte == 0x38 || nextByte == 0x3
A
))
{
nextState = OpcodeState;
DPRINTF(Predecoder, "Found three byte opcode.\n");