aboutsummaryrefslogtreecommitdiff
path: root/target-tricore/helper.h
diff options
context:
space:
mode:
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>2016-03-11 16:03:17 +0100
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>2016-03-23 09:22:48 +0100
commit0d4c3b8010320a8ebb4061d88510e082b06ed2cc (patch)
treecfa5861fb31475d7941da2325d17ddde70583a2e /target-tricore/helper.h
parent743cd09dd7775aaffb7f57444bef0d052bed9691 (diff)
downloadqemu-0d4c3b8010320a8ebb4061d88510e082b06ed2cc.zip
qemu-0d4c3b8010320a8ebb4061d88510e082b06ed2cc.tar.gz
qemu-0d4c3b8010320a8ebb4061d88510e082b06ed2cc.tar.bz2
target-tricore: Add ftoi and itof instructions
Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-Id: <1457708597-3025-8-git-send-email-kbastian@mail.uni-paderborn.de>
Diffstat (limited to 'target-tricore/helper.h')
-rw-r--r--target-tricore/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-tricore/helper.h b/target-tricore/helper.h
index 489530f..9333e16 100644
--- a/target-tricore/helper.h
+++ b/target-tricore/helper.h
@@ -110,6 +110,8 @@ DEF_HELPER_3(fsub, i32, env, i32, i32)
DEF_HELPER_3(fmul, i32, env, i32, i32)
DEF_HELPER_3(fdiv, i32, env, i32, i32)
DEF_HELPER_3(fcmp, i32, env, i32, i32)
+DEF_HELPER_2(ftoi, i32, env, i32)
+DEF_HELPER_2(itof, i32, env, i32)
/* dvinit */
DEF_HELPER_3(dvinit_b_13, i64, env, i32, i32)
DEF_HELPER_3(dvinit_b_131, i64, env, i32, i32)