Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/49224 )

Change subject: arch-x86: Stop printing a source register for CPUID.
......................................................................

arch-x86: Stop printing a source register for CPUID.

When disassembling the CPUID instruction, we were (for some reason)
printing a source register after the mneomic. The registers CPUID uses
are fixed, and it has no operands when written in assembly.

Change-Id: I5aee7f7a93cb84977cfe1fe387c5184aa740bc0e
---
M src/arch/x86/isa/formats/cpuid.isa
1 file changed, 0 insertions(+), 2 deletions(-)



diff --git a/src/arch/x86/isa/formats/cpuid.isa b/src/arch/x86/isa/formats/cpuid.isa
index b68b19e..3a69e4c 100644
--- a/src/arch/x86/isa/formats/cpuid.isa
+++ b/src/arch/x86/isa/formats/cpuid.isa
@@ -60,8 +60,6 @@
         std::stringstream response;

         printMnemonic(response, mnemonic);
-        ccprintf(response, " ");
-        printReg(response, srcRegIdx(0), machInst.opSize);
         return response.str();
     }
 }};

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/49224
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I5aee7f7a93cb84977cfe1fe387c5184aa740bc0e
Gerrit-Change-Number: 49224
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to