summaryrefslogtreecommitdiff
path: root/src/arch/mips/isa/base.isa
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2007-11-17 00:02:56 -0500
committerKorey Sewell <ksewell@umich.edu>2007-11-17 00:02:56 -0500
commit5d23f86e98257099d760bb279b25f1c2c08f3825 (patch)
tree540ac79b518a4c108e66aea647fe21726e040cd0 /src/arch/mips/isa/base.isa
parentf2fea63c65917a50a741081b6362158b25fb6fa1 (diff)
downloadgem5-5d23f86e98257099d760bb279b25f1c2c08f3825.tar.xz
add back in clobbered MIPS fix for g++ 4.2
--HG-- extra : convert_revision : 80ad1cc32c6e59925526abd274132e4f9e35f0c1
Diffstat (limited to 'src/arch/mips/isa/base.isa')
-rw-r--r--src/arch/mips/isa/base.isa4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/mips/isa/base.isa b/src/arch/mips/isa/base.isa
index eb063ff1c..4e2b12fc4 100644
--- a/src/arch/mips/isa/base.isa
+++ b/src/arch/mips/isa/base.isa
@@ -82,7 +82,7 @@ output decoder {{
// Need to find standard way to not print
// this info. Maybe add bool variable to
// class?
- if (mnemonic != "syscall") {
+ if (strcmp(mnemonic, "syscall") != 0) {
if(_numDestRegs > 0){
printReg(ss, _destRegIdx[0]);
}
@@ -100,7 +100,7 @@ output decoder {{
// Should we define a separate inst. class
// just for two insts?
- if(mnemonic == "sll" || mnemonic == "sra"){
+ if (strcmp(mnemonic, "sll") == 0 || strcmp(mnemonic, "sra") == 0) {
ccprintf(ss,", %d",SA);
}