diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:08 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:08 -0500 |
commit | 6c1b10043fd7c79e1beaae8dd52b93c12fdec42c (patch) | |
tree | dacb2d78a3543738db295ea428ee46b809538373 /src/arch/arm/isa/insts | |
parent | f9d1bba22a9e73ab45c0e255ca70eb509915181a (diff) | |
download | gem5-6c1b10043fd7c79e1beaae8dd52b93c12fdec42c.tar.xz |
ARM: Rename the RevOp base class to something more generic.
Diffstat (limited to 'src/arch/arm/isa/insts')
-rw-r--r-- | src/arch/arm/isa/insts/misc.isa | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/arch/arm/isa/insts/misc.isa b/src/arch/arm/isa/insts/misc.isa index d6ab47f5d..80f55e6ec 100644 --- a/src/arch/arm/isa/insts/misc.isa +++ b/src/arch/arm/isa/insts/misc.isa @@ -122,11 +122,11 @@ let {{ uint32_t val = Op1; Dest = swap_byte(val); ''' - revIop = InstObjParams("rev", "Rev", "RevOp", + revIop = InstObjParams("rev", "Rev", "RegRegOp", { "code": revCode, "predicate_test": predicateTest }, []) - header_output += RevOpDeclare.subst(revIop) - decoder_output += RevOpConstructor.subst(revIop) + header_output += RegRegOpDeclare.subst(revIop) + decoder_output += RegRegOpConstructor.subst(revIop) exec_output += PredOpExecute.subst(revIop) rev16Code = ''' @@ -136,22 +136,22 @@ let {{ (bits(val, 31, 24) << 16) | (bits(val, 23, 16) << 24); ''' - rev16Iop = InstObjParams("rev16", "Rev16", "RevOp", + rev16Iop = InstObjParams("rev16", "Rev16", "RegRegOp", { "code": rev16Code, "predicate_test": predicateTest }, []) - header_output += RevOpDeclare.subst(rev16Iop) - decoder_output += RevOpConstructor.subst(rev16Iop) + header_output += RegRegOpDeclare.subst(rev16Iop) + decoder_output += RegRegOpConstructor.subst(rev16Iop) exec_output += PredOpExecute.subst(rev16Iop) revshCode = ''' uint16_t val = Op1; Dest = sext<16>(swap_byte(val)); ''' - revshIop = InstObjParams("revsh", "Revsh", "RevOp", + revshIop = InstObjParams("revsh", "Revsh", "RegRegOp", { "code": revshCode, "predicate_test": predicateTest }, []) - header_output += RevOpDeclare.subst(revshIop) - decoder_output += RevOpConstructor.subst(revshIop) + header_output += RegRegOpDeclare.subst(revshIop) + decoder_output += RegRegOpConstructor.subst(revshIop) exec_output += PredOpExecute.subst(revshIop) rbitCode = ''' @@ -167,21 +167,21 @@ let {{ } Dest = resTemp; ''' - rbitIop = InstObjParams("rbit", "Rbit", "RevOp", + rbitIop = InstObjParams("rbit", "Rbit", "RegRegOp", { "code": rbitCode, "predicate_test": predicateTest }, []) - header_output += RevOpDeclare.subst(rbitIop) - decoder_output += RevOpConstructor.subst(rbitIop) + header_output += RegRegOpDeclare.subst(rbitIop) + decoder_output += RegRegOpConstructor.subst(rbitIop) exec_output += PredOpExecute.subst(rbitIop) clzCode = ''' Dest = (Op1 == 0) ? 32 : (31 - findMsbSet(Op1)); ''' - clzIop = InstObjParams("clz", "Clz", "RevOp", + clzIop = InstObjParams("clz", "Clz", "RegRegOp", { "code": clzCode, "predicate_test": predicateTest }, []) - header_output += RevOpDeclare.subst(clzIop) - decoder_output += RevOpConstructor.subst(clzIop) + header_output += RegRegOpDeclare.subst(clzIop) + decoder_output += RegRegOpConstructor.subst(clzIop) exec_output += PredOpExecute.subst(clzIop) ssatCode = ''' |