From b6395da4cea2d12f27ae52517675dfdf507d4a92 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 29 Jul 2007 01:28:36 -0700 Subject: [PATCH] X86: Fix register ordering. The correct order is unintuitively rax, rcx, rdx, rbx, etc, not rax, rbx, rcx, rdx. --HG-- extra : convert_revision : 3abe6a723a6e30becfe34f8da707ea2ff5d4df77 --- src/cpu/nativetrace.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2