From 075df1469f0244f1800b261b65eeac8bb3f460b9 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 15 Mar 2007 15:29:39 +0000 Subject: Added immediate value support, and fixed alot of bugs. This won't support 3 byte opcodes. --HG-- extra : convert_revision : 4c79bff2592a668e1154916875f019ecafe67022 --- src/arch/x86/types.hh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/arch/x86/types.hh') 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; -- cgit v1.2.3