changeset 072f8b921599 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=072f8b921599
description:
X86: Define a noop ExtMachInst.
diffstat:
src/arch/x86/isa_traits.hh | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r b49144029ec8 -r 072f8b921599 src/arch/x86/isa_traits.hh
--- a/src/arch/x86/isa_traits.hh Mon Aug 23 09:44:19 2010 -0700
+++ b/src/arch/x86/isa_traits.hh Mon Aug 23 09:44:19 2010 -0700
@@ -74,6 +74,18 @@
// Memory accesses can be unaligned
const bool HasUnalignedMemAcc = true;
+
+ 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_ISATRAITS_HH__
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev