diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2016-02-19 14:43:43 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:58 -0600 |
commit | 781132b07fa568bbd77dda4cbf9c3aefa10bd5b9 (patch) | |
tree | b14038e9b678448b6e26b5c7c32d09cb501d588a /target-tricore/helper.h | |
parent | 774047dbafe2db01edf9564b6a4ffb57e830cc80 (diff) | |
download | hqemu-781132b07fa568bbd77dda4cbf9c3aefa10bd5b9.zip hqemu-781132b07fa568bbd77dda4cbf9c3aefa10bd5b9.tar.gz |
target-tricore: Add trap handling & SOVF/OVF traps
Add the infrastructure needed to generate and handle traps and
implement the generation of SOVF and OVF traps.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <1455889426-1923-2-git-send-email-kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'target-tricore/helper.h')
-rw-r--r-- | target-tricore/helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-tricore/helper.h b/target-tricore/helper.h index cc221f1..2c8ed78 100644 --- a/target-tricore/helper.h +++ b/target-tricore/helper.h @@ -132,6 +132,7 @@ DEF_HELPER_2(lducx, void, env, i32) DEF_HELPER_2(stlcx, void, env, i32) DEF_HELPER_2(stucx, void, env, i32) DEF_HELPER_1(svlcx, void, env) +DEF_HELPER_1(svucx, void, env) DEF_HELPER_1(rslcx, void, env) /* Address mode helper */ DEF_HELPER_1(br_update, i32, i32) @@ -139,3 +140,5 @@ DEF_HELPER_2(circ_update, i32, i32, i32) /* PSW cache helper */ DEF_HELPER_2(psw_write, void, env, i32) DEF_HELPER_1(psw_read, i32, env) +/* Exceptions */ +DEF_HELPER_3(raise_exception_sync, noreturn, env, i32, i32) |