summaryrefslogtreecommitdiff
path: root/src/cpu/nativetrace.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-29 01:28:36 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-29 01:28:36 -0700
commitb6395da4cea2d12f27ae52517675dfdf507d4a92 (patch)
tree7ce2bc7aef156fca6629d825dc02cbe57a99e3a6 /src/cpu/nativetrace.cc
parent33847f8c83f8ac3c85c1388b5b69aacbc5163564 (diff)
downloadgem5-b6395da4cea2d12f27ae52517675dfdf507d4a92.tar.xz
X86: Fix register ordering.
The correct order is unintuitively rax, rcx, rdx, rbx, etc, not rax, rbx, rcx, rdx. --HG-- extra : convert_revision : 3abe6a723a6e30becfe34f8da707ea2ff5d4df77
Diffstat (limited to 'src/cpu/nativetrace.cc')
-rw-r--r--src/cpu/nativetrace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/nativetrace.cc b/src/cpu/nativetrace.cc
index 57304c79b..90a0e1a62 100644
--- a/src/cpu/nativetrace.cc
+++ b/src/cpu/nativetrace.cc
@@ -107,9 +107,9 @@ Trace::NativeTraceRecord::dump()
if(!staticInst->isMicroop() || staticInst->isLastMicroop())
{
checkIntReg("rax", INTREG_RAX, sizeof(uint64_t));
- checkIntReg("rbx", INTREG_RBX, sizeof(uint64_t));
checkIntReg("rcx", INTREG_RCX, sizeof(uint64_t));
checkIntReg("rdx", INTREG_RDX, sizeof(uint64_t));
+ checkIntReg("rbx", INTREG_RBX, sizeof(uint64_t));
checkIntReg("rsp", INTREG_RSP, sizeof(uint64_t));
checkIntReg("rbp", INTREG_RBP, sizeof(uint64_t));
checkIntReg("rsi", INTREG_RSI, sizeof(uint64_t));