diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2016-10-06 16:46:36 +0200 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2017-01-11 14:36:51 +0100 |
commit | 8f75983db8d67bce42332db7b38c62e2d45a5c7f (patch) | |
tree | 510c1d728ca4af58d238b00182f6a52185b6b153 /target/tricore/helper.h | |
parent | b44486dfb9447c88e4b216e730adcc780190852c (diff) |
target-tricore: Added FTOUZ instruction
Converts a 32-bit floating point number to an unsigned int. The
result is rounded towards zero.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/tricore/helper.h')
-rw-r--r-- | target/tricore/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/tricore/helper.h b/target/tricore/helper.h index 9333e161ab..467c88013a 100644 --- a/target/tricore/helper.h +++ b/target/tricore/helper.h @@ -112,6 +112,7 @@ 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) +DEF_HELPER_2(ftouz, i32, env, i32) /* dvinit */ DEF_HELPER_3(dvinit_b_13, i64, env, i32, i32) DEF_HELPER_3(dvinit_b_131, i64, env, i32, i32) |