diff options
author | Ricardo Alves <ricardo.alves@arm.com> | 2016-09-15 18:21:24 +0100 |
---|---|---|
committer | Ricardo Alves <ricardo.alves@arm.com> | 2016-09-15 18:21:24 +0100 |
commit | e5c1488cb60395177d981d36b01d23c7fa033135 (patch) | |
tree | 3b0f9b3f91e5c7f65db3c4aa4f03fdd9063f29d7 /src/arch/arm/isa/insts | |
parent | 1fe5f631376c391d5379e1e6dace8366a48ac1b2 (diff) | |
download | gem5-e5c1488cb60395177d981d36b01d23c7fa033135.tar.xz |
arm: Add m5_fail support for aarch64
Change-Id: Id2acbc09772be310a0eb9e33295afab07e08a4fa
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/arch/arm/isa/insts')
-rw-r--r-- | src/arch/arm/isa/insts/m5ops.isa | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/arm/isa/insts/m5ops.isa b/src/arch/arm/isa/insts/m5ops.isa index efe88c73a..e93147859 100644 --- a/src/arch/arm/isa/insts/m5ops.isa +++ b/src/arch/arm/isa/insts/m5ops.isa @@ -247,6 +247,11 @@ let {{ m5fail_code = ''' PseudoInst::m5fail(xc->tcBase(), join32to64(R1, R0), join32to64(R3, R2)); ''' + + m5fail_code64 = ''' + PseudoInst::m5fail(xc->tcBase(), X0, X1); + ''' + m5failIop = InstObjParams("m5fail", "M5fail", "PredOp", { "code": m5fail_code, "predicate_test": predicateTest }, @@ -255,6 +260,15 @@ let {{ decoder_output += BasicConstructor.subst(m5failIop) exec_output += PredOpExecute.subst(m5failIop) + m5failIop = InstObjParams("m5fail", "M5fail64", "PredOp", + { "code": m5fail_code64, + "predicate_test": predicateTest }, + ["No_OpClass", "IsNonSpeculative"]) + header_output += BasicDeclare.subst(m5failIop) + decoder_output += BasicConstructor.subst(m5failIop) + exec_output += PredOpExecute.subst(m5failIop) + + m5exitIop = InstObjParams("m5exit", "M5exit64", "PredOp", { "code": m5exit_code64, "predicate_test": predicateTest }, |