diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-15 15:29:39 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-15 15:29:39 +0000 |
commit | 075df1469f0244f1800b261b65eeac8bb3f460b9 (patch) | |
tree | ee3c55be2d22cb5087110ff88a34592e482da994 /src/arch/x86/types.hh | |
parent | 4379e54b52a6cefda4009b96a1a545973f3174c8 (diff) | |
download | gem5-075df1469f0244f1800b261b65eeac8bb3f460b9.tar.xz |
Added immediate value support, and fixed alot of bugs. This won't support 3 byte opcodes.
--HG--
extra : convert_revision : 4c79bff2592a668e1154916875f019ecafe67022
Diffstat (limited to 'src/arch/x86/types.hh')
-rw-r--r-- | src/arch/x86/types.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/x86/types.hh b/src/arch/x86/types.hh index 68d95de94..583f03d55 100644 --- a/src/arch/x86/types.hh +++ b/src/arch/x86/types.hh @@ -94,7 +94,11 @@ namespace X86ISA uint8_t legacyPrefixes; uint8_t rexPrefix; - bool twoByteOpcode; + //Right now, we ignore that this can be 3 in + //some cases + uint8_t numOpcodes; + //This will need to be decoded specially later + bool is3dnow; uint8_t opcode; uint64_t immediate; uint64_t displacement; |