Re: [Qemu-devel] [PATCH] Fix FMULX not squashing denormalized inputs when FZ is set.

2015-01-29 Thread Peter Maydell
On 28 January 2015 at 15:40, Xiangyu Hu wrote: > While FMULX returns a 2.0f float when two operators are infinity and > zero, those operators should be unpacked from raw inputs first. Inconsistent > cases would occur when operators are denormalized floats in flush-to-zero > mode. A wrong codepath

[Qemu-devel] [PATCH] Fix FMULX not squashing denormalized inputs when FZ is set.

2015-01-28 Thread Xiangyu Hu
While FMULX returns a 2.0f float when two operators are infinity and zero, those operators should be unpacked from raw inputs first. Inconsistent cases would occur when operators are denormalized floats in flush-to-zero mode. A wrong codepath will be entered and 2.0f will not be returned without th