summaryrefslogtreecommitdiff
path: root/src/arch/x86/types.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-18 00:52:45 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-18 00:52:45 -0700
commitfd45c04cad4891c6216807639482f2b2d6a7b042 (patch)
tree63dd180fab8258317559fbff99f46f456c5a765a /src/arch/x86/types.hh
parenta1ea10d7bac34f022598f82873723e2dfee58625 (diff)
downloadgem5-fd45c04cad4891c6216807639482f2b2d6a7b042.tar.xz
X86: Decode three byte opcodes.
Diffstat (limited to 'src/arch/x86/types.hh')
-rw-r--r--src/arch/x86/types.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/x86/types.hh b/src/arch/x86/types.hh
index 956ec3216..6fd36b487 100644
--- a/src/arch/x86/types.hh
+++ b/src/arch/x86/types.hh
@@ -156,8 +156,10 @@ namespace X86ISA
uint8_t num;
//The first byte detected in a 2+ byte opcode. Should be 0xF0.
uint8_t prefixA;
- //The second byte detected in a 3+ byte opcode. Could be 0xF0 for
- //3dnow instructions, or 0x38-0x3F for some SSE instructions.
+ //The second byte detected in a 3+ byte opcode. Could be 0x38-0x3F
+ //for some SSE instructions. 3dNow! instructions are handled as
+ //two byte opcodes and then split out further by the immediate
+ //byte.
uint8_t prefixB;
//The main opcode byte. The highest addressed byte in the opcode.
Opcode op;