diff options
Diffstat (limited to 'src/arch/arm/isa/insts')
-rw-r--r-- | src/arch/arm/isa/insts/m5ops.isa | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/arch/arm/isa/insts/m5ops.isa b/src/arch/arm/isa/insts/m5ops.isa index 272f16b17..06ed34af8 100644 --- a/src/arch/arm/isa/insts/m5ops.isa +++ b/src/arch/arm/isa/insts/m5ops.isa @@ -179,6 +179,17 @@ let {{ decoder_output += BasicConstructor.subst(m5exitIop) exec_output += PredOpExecute.subst(m5exitIop) + m5fail_code = ''' + PseudoInst::m5fail(xc->tcBase(), join32to64(R1, R0), join32to64(R3, R2)); + ''' + m5failIop = InstObjParams("m5fail", "M5fail", "PredOp", + { "code": m5fail_code, + "predicate_test": predicateTest }, + ["No_OpClass", "IsNonSpeculative"]) + header_output += BasicDeclare.subst(m5failIop) + decoder_output += BasicConstructor.subst(m5failIop) + exec_output += PredOpExecute.subst(m5failIop) + loadsymbolCode = ''' PseudoInst::loadsymbol(xc->tcBase()); ''' |