diff options
author | Korey Sewell <ksewell@umich.edu> | 2006-02-14 22:43:26 -0500 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2006-02-14 22:43:26 -0500 |
commit | aee1bf58734c2146eb048dc4833881886ce68cf8 (patch) | |
tree | 8cee41171ac3cd4d95f5c4a258a9bdd31428c0c2 /arch/mips/isa/formats/int.isa | |
parent | 7826fcd09dfb265adae82f99d09944fe67f0fb5a (diff) | |
parent | 23bbec6a3445b4382f8c6ff8ea49fd818f960330 (diff) | |
download | gem5-aee1bf58734c2146eb048dc4833881886ce68cf8.tar.xz |
Merge zizzer:/bk/multiarch
into zazzer.eecs.umich.edu:/z/ksewell/research/m5-sim/m5-multiarch
--HG--
extra : convert_revision : 5b0a3dd1a52ca9b29ea4a1c505a7435bfd6110fe
Diffstat (limited to 'arch/mips/isa/formats/int.isa')
-rw-r--r-- | arch/mips/isa/formats/int.isa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/isa/formats/int.isa b/arch/mips/isa/formats/int.isa index 5b8df54e9..521f3a130 100644 --- a/arch/mips/isa/formats/int.isa +++ b/arch/mips/isa/formats/int.isa @@ -53,9 +53,9 @@ def format IntOp(code, *opt_flags) {{ orig_code = code cblk = CodeBlock(code) - //Figure out if we are creating a IntImmOp or a IntOp + # Figure out if we are creating a IntImmOp or a IntOp strlen = len(name) - if ( name[strlen-1] = 'i' or ( name[strlen-2:] = 'iu')) + if name[strlen-1] == 'i' or name[strlen-2:] == 'iu': iop = InstObjParams(name, Name, 'IntOp', cblk, opt_flags) else: iop = InstObjParams(name, Name, 'IntImmOp', cblk, opt_flags) |