From 9a31922b0868b847d3b9a12c4b0ecb45f2ad1e2f Mon Sep 17 00:00:00 2001 From: Bastian Koppelmann Date: Mon, 1 Sep 2014 12:59:55 +0100 Subject: 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 Message-id: 1409572800-4116-11-git-send-email-kbastian@mail.uni-paderborn.de Signed-off-by: Peter Maydell --- target-tricore/helper.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target-tricore/helper.h') diff --git a/target-tricore/helper.h b/target-tricore/helper.h index 299bd77728..adf5b264b0 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) -- cgit v1.2.3