summaryrefslogtreecommitdiff
path: root/arch/mips/isa/formats/noop.isa
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-02-22 03:33:35 -0500
committerKorey Sewell <ksewell@umich.edu>2006-02-22 03:33:35 -0500
commit54b47bc5ae7993558412de6c458727171b630594 (patch)
treeaffc1cb390f20d4637445c22cc43ab5158d2adb2 /arch/mips/isa/formats/noop.isa
parent37cd6695ebdf37d6806fbb8764cfef30dce4688f (diff)
downloadgem5-54b47bc5ae7993558412de6c458727171b630594.tar.xz
MIPS Compiles scons/MIPS_SE/arch/mips/decoder.do!!!!!!
arch/mips/faults.hh: remove nonsense arch/mips/isa/base.isa: define R31 arch/mips/isa/bitfields.isa: forgotten bitfields arch/mips/isa/decoder.isa: INT64 -> int64_t arch/mips/isa/formats.isa: fix comments arch/mips/isa/formats/branch.isa: Branch -> BranchLikely RB -> RT arch/mips/isa/formats/fp.isa: Make FP ops generates arch/mips/isa/formats/mem.isa: RA,RB -> RS,RT arch/mips/isa/formats/noop.isa: Rc -> Rd arch/mips/isa/formats/util.isa: forgot brace and semicolon arch/mips/isa/includes.isa: remove unnecessary files arch/mips/isa_traits.hh: spacing cpu/static_inst.hh: add cond_delay_slot flag --HG-- extra : convert_revision : 3bc7353b437f9a764e85cc462bed86c9d654eb37
Diffstat (limited to 'arch/mips/isa/formats/noop.isa')
-rw-r--r--arch/mips/isa/formats/noop.isa6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/isa/formats/noop.isa b/arch/mips/isa/formats/noop.isa
index d366461e2..05c5ac10f 100644
--- a/arch/mips/isa/formats/noop.isa
+++ b/arch/mips/isa/formats/noop.isa
@@ -63,12 +63,12 @@ output exec {{
}
}};
-// integer & FP operate instructions use Rc as dest, so check for
-// Rc == 31 to detect nops
+// integer & FP operate instructions use RT as dest, so check for
+// RT == 0 to detect nops
def template OperateNopCheckDecode {{
{
MipsStaticInst *i = new %(class_name)s(machInst);
- if (RC == 31) {
+ if (RD == 0) {
i = makeNop(i);
}
return i;