Public bug reported: After the refactor from ab52f973a504f8de0c5df64631ba4caea70a7d9e the bahaviour of int32_to_float32() was altered.
helper_ftoi() in target/tricore/fpu_helper.c relied on int32_to_float32 to raise the invalid flag if the input was NaN to properly return 0. Likewise if the input is infinity. The obvious fix for softfloat would be to raise this flag in round_to_int_and_pack(). However, I'm not sure if this breaks other targets and I have no easy way to test it. ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1759264 Title: fpu/softfloat: round_to_int_and_pack refactor broke TriCore ftoi insns Status in QEMU: New Bug description: After the refactor from ab52f973a504f8de0c5df64631ba4caea70a7d9e the bahaviour of int32_to_float32() was altered. helper_ftoi() in target/tricore/fpu_helper.c relied on int32_to_float32 to raise the invalid flag if the input was NaN to properly return 0. Likewise if the input is infinity. The obvious fix for softfloat would be to raise this flag in round_to_int_and_pack(). However, I'm not sure if this breaks other targets and I have no easy way to test it. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1759264/+subscriptions