On 8/28/23 04:26, Bastian Koppelmann wrote:
Resolves:https://gitlab.com/qemu-project/qemu/-/issues/1667
Signed-off-by: Bastian Koppelmann<kbast...@mail.uni-paderborn.de>
---
v1 -> v2:
- Removed special case for f_arg being infinity
- Clarified, why we need a special case for arg being NAN
target/tricore/fpu_helper.c | 36 +++++++++++++++++++++++
target/tricore/helper.h | 1 +
target/tricore/translate.c | 7 +++++
target/tricore/tricore-opcodes.h | 1 +
tests/tcg/tricore/Makefile.softmmu-target | 1 +
tests/tcg/tricore/asm/test_hptof.S | 12 ++++++++
6 files changed, 58 insertions(+)
create mode 100644 tests/tcg/tricore/asm/test_hptof.S
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~