diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2016-03-11 16:03:17 +0100 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2016-03-23 09:22:48 +0100 |
commit | 0d4c3b8010320a8ebb4061d88510e082b06ed2cc (patch) | |
tree | cfa5861fb31475d7941da2325d17ddde70583a2e /target-tricore/helper.h | |
parent | 743cd09dd7775aaffb7f57444bef0d052bed9691 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-tricore/helper.h b/target-tricore/helper.h index 489530fc6a..9333e161ab 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) |