diff options
author | Korey Sewell <ksewell@umich.edu> | 2007-11-17 00:02:56 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2007-11-17 00:02:56 -0500 |
commit | 5d23f86e98257099d760bb279b25f1c2c08f3825 (patch) | |
tree | 540ac79b518a4c108e66aea647fe21726e040cd0 /src/arch/mips/isa/formats/mt.isa | |
parent | f2fea63c65917a50a741081b6362158b25fb6fa1 (diff) | |
download | gem5-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/formats/mt.isa')
-rw-r--r-- | src/arch/mips/isa/formats/mt.isa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/mips/isa/formats/mt.isa b/src/arch/mips/isa/formats/mt.isa index 01d91f098..81fdc2898 100644 --- a/src/arch/mips/isa/formats/mt.isa +++ b/src/arch/mips/isa/formats/mt.isa @@ -72,9 +72,9 @@ output decoder {{ { std::stringstream ss; - if (mnemonic == "mttc0" || mnemonic == "mftc0") { + if (strcmp(mnemonic,"mttc0") == 0 || strcmp(mnemonic,"mftc0") == 0) { ccprintf(ss, "%-10s r%d, r%d, %d", mnemonic, RT, RD, SEL); - } else if (mnemonic == "mftgpr") { + } else if (strcmp(mnemonic,"mftgpr") == 0) { ccprintf(ss, "%-10s r%d, r%d", mnemonic, RD, RT); } else { ccprintf(ss, "%-10s r%d, r%d", mnemonic, RT, RD); |