summaryrefslogtreecommitdiff
path: root/arch/mips/isa/formats/int.isa
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-02-18 03:12:04 -0500
committerKorey Sewell <ksewell@umich.edu>2006-02-18 03:12:04 -0500
commit6bf71f96f3ae17e49eca8b77bf1f99b2883f93f6 (patch)
tree0c1711fc19f90d512be0541ddae7737b3655f439 /arch/mips/isa/formats/int.isa
parent7446238118bf15ce7844759ef216b138bb2b13d3 (diff)
downloadgem5-6bf71f96f3ae17e49eca8b77bf1f99b2883f93f6.tar.xz
MIPS generates ISA code through scons '.../decoder.cc'!!!
Now, must create g++ compilable code ... arch/mips/isa/decoder.isa: missing a '}' ... edited a few instruction decodings ... arch/mips/isa/formats.isa: rearranged #include arch/mips/isa/formats/branch.isa: add Branch Likely and Unconditional format arch/mips/isa/formats/int.isa: move OperateNopCheckDecode template to another file ... arch/mips/isa/formats/noop.isa: change Alpha to Mips in noop.isa --HG-- extra : convert_revision : 4bf955fa6dffbbc99fb95fee7878f691e3df5424
Diffstat (limited to 'arch/mips/isa/formats/int.isa')
-rw-r--r--arch/mips/isa/formats/int.isa12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/isa/formats/int.isa b/arch/mips/isa/formats/int.isa
index 982992b41..cf06741a1 100644
--- a/arch/mips/isa/formats/int.isa
+++ b/arch/mips/isa/formats/int.isa
@@ -53,18 +53,6 @@ output decoder {{
}};
-// integer & FP operate instructions use Rd as dest, so check for
-// Rd == 0 to detect nops
-def template OperateNopCheckDecode {{
- {
- MipsStaticInst *i = new %(class_name)s(machInst);
- if (RD == 0) {
- i = makeNop(i);
- }
- return i;
- }
-}};
-
//Used by decoder.isa
def format IntOp(code, *opt_flags) {{
orig_code = code