changeset b64c3d2348cb in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=b64c3d2348cb
description:
        X86: Fix the constant detecting three byte opcodes in the predecoder.

diffstat:

 src/arch/x86/predecoder.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 330f8109b199 -r b64c3d2348cb src/arch/x86/predecoder.cc
--- a/src/arch/x86/predecoder.cc        Thu Nov 17 22:53:56 2011 -0600
+++ b/src/arch/x86/predecoder.cc        Sun Nov 20 05:10:05 2011 -0800
@@ -186,7 +186,7 @@
             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");
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to