Re: [Qemu-devel] [PATCH] target/ppc: Set float_tininess_before_rounding at cpu reset

2019-08-26 Thread David Gibson
On Mon, Aug 26, 2019 at 07:00:13PM -0700, Richard Henderson wrote: > As defined in Power 3.0 section 4.4.4 "Underflow Exception", > a tiny result is detected before rounding. > > Fixes: https://bugs.launchpad.net/qemu/+bug/1841491 > Reported-by: Paul Clarke > Signed-off-by: Richard Henderson Ap

Re: [Qemu-devel] [PATCH] target/ppc: Set float_tininess_before_rounding at cpu reset

2019-08-26 Thread Paul Clarke
On 8/26/19 9:00 PM, Richard Henderson wrote: > As defined in Power 3.0 section 4.4.4 "Underflow Exception", > a tiny result is detected before rounding. Responded in the bug: https://bugs.launchpad.net/qemu/+bug/1841491/comments/3 In my testing, this works for "double", but not "float". > Fixes:

[Qemu-devel] [PATCH] target/ppc: Set float_tininess_before_rounding at cpu reset

2019-08-26 Thread Richard Henderson
As defined in Power 3.0 section 4.4.4 "Underflow Exception", a tiny result is detected before rounding. Fixes: https://bugs.launchpad.net/qemu/+bug/1841491 Reported-by: Paul Clarke Signed-off-by: Richard Henderson --- target/ppc/translate_init.inc.c | 4 1 file changed, 4 insertions(+) di