On 8/28/23 04:26, Bastian Koppelmann wrote:
reported inhttps://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 | 38 +++++++++++++++++++++++
target/tricore/helper.c | 1 +
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_ftohp.S | 14 +++++++++
7 files changed, 63 insertions(+)
create mode 100644 tests/tcg/tricore/asm/test_ftohp.S
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~