summaryrefslogtreecommitdiffstats
path: root/target-tricore/helper.h
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2014-09-01 12:59:55 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-09-01 14:49:21 +0100
commit9a31922b0868b847d3b9a12c4b0ecb45f2ad1e2f (patch)
treeae8d88bcafde695dbc535d18783976988a1f0141 /target-tricore/helper.h
parentd279821074b74a80f984579fd4dfecc87cb8a899 (diff)
downloadhqemu-9a31922b0868b847d3b9a12c4b0ecb45f2ad1e2f.zip
hqemu-9a31922b0868b847d3b9a12c4b0ecb45f2ad1e2f.tar.gz
target-tricore: Add instructions of SB opcode format
Add instructions of SB opcode format. Add helper call/ret. Add micro-op generator functions for branches. Add makro to generate helper functions. Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-id: 1409572800-4116-11-git-send-email-kbastian@mail.uni-paderborn.de Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-tricore/helper.h')
-rw-r--r--target-tricore/helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-tricore/helper.h b/target-tricore/helper.h
index 299bd77..adf5b26 100644
--- a/target-tricore/helper.h
+++ b/target-tricore/helper.h
@@ -18,3 +18,6 @@
/* Arithmetic */
DEF_HELPER_3(add_ssov, i32, env, i32, i32)
DEF_HELPER_3(sub_ssov, i32, env, i32, i32)
+/* CSA */
+DEF_HELPER_2(call, void, env, i32)
+DEF_HELPER_1(ret, void, env)
OpenPOWER on IntegriCloud