[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1759264] Re: fpu/softfloat: round_to_int_and_pack refa
From: |
Bastian Koppelmann |
Subject: |
[Qemu-devel] [Bug 1759264] Re: fpu/softfloat: round_to_int_and_pack refactor broke TriCore ftoi insns |
Date: |
Mon, 16 Apr 2018 16:20:28 -0000 |
** Changed in: qemu
Status: New => Fix Committed
--
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:
Fix Committed
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