summaryrefslogtreecommitdiff
path: root/src/arch/x86/x86_traits.hh
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-06-05 13:52:30 -0400
committerAli Saidi <Ali.Saidi@ARM.com>2012-06-05 13:52:30 -0400
commit20d25b9da77cc681ef7d5bb101438bc0b0c6827c (patch)
treeda0bfc97bc139abecaa7dfd4cbe85d7387cb1da7 /src/arch/x86/x86_traits.hh
parentc06970b673181aa1032210b60ad799eb97105ae5 (diff)
downloadgem5-20d25b9da77cc681ef7d5bb101438bc0b0c6827c.tar.xz
ISA: Back-out NoopMachInst as a StaticInstPtr change.
Diffstat (limited to 'src/arch/x86/x86_traits.hh')
-rw-r--r--src/arch/x86/x86_traits.hh13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/arch/x86/x86_traits.hh b/src/arch/x86/x86_traits.hh
index a94d806ef..6157cb30b 100644
--- a/src/arch/x86/x86_traits.hh
+++ b/src/arch/x86/x86_traits.hh
@@ -40,7 +40,6 @@
#include <cassert>
-#include "arch/x86/types.hh"
#include "base/types.hh"
namespace X86ISA
@@ -105,18 +104,6 @@ namespace X86ISA
assert(addr < PhysAddrAPICRangeSize);
return PhysAddrPrefixInterrupts | (id * PhysAddrAPICRangeSize) | addr;
}
-
- const ExtMachInst NoopMachInst = {
- 0x0, // No legacy prefixes.
- 0x0, // No rex prefix.
- { 1, 0x0, 0x0, 0x90 }, // One opcode byte, 0x90.
- 0x0, 0x0, // No modrm or sib.
- 0, 0, // No immediate or displacement.
- 8, 8, 8, // All sizes are 8.
- 0, // Displacement size is 0.
- SixtyFourBitMode // Behave as if we're in 64 bit
- // mode (this doesn't actually matter).
- };
}
#endif //__ARCH_X86_X86TRAITS_HH__