Re: [Qemu-devel] [PATCH] target-arm: Squash input denormals in FRECPS and FRSQRTS

2015-01-30 Thread Greg Bellows
On Fri, Jan 30, 2015 at 3:41 AM, Laurent Desnogues < laurent.desnog...@gmail.com> wrote: > On Thu, Jan 29, 2015 at 8:31 PM, Peter Maydell > wrote: > > The helper functions for FRECPS and FRSQRTS have special case > > handling that includes checks for zero inputs, so squash input > > denormals if

Re: [Qemu-devel] [PATCH] target-arm: Squash input denormals in FRECPS and FRSQRTS

2015-01-30 Thread Laurent Desnogues
On Thu, Jan 29, 2015 at 8:31 PM, Peter Maydell wrote: > The helper functions for FRECPS and FRSQRTS have special case > handling that includes checks for zero inputs, so squash input > denormals if necessary before those checks. This fixes incorrect > output when the FPCR DZ bit is set to enable s

[Qemu-devel] [PATCH] target-arm: Squash input denormals in FRECPS and FRSQRTS

2015-01-29 Thread Peter Maydell
The helper functions for FRECPS and FRSQRTS have special case handling that includes checks for zero inputs, so squash input denormals if necessary before those checks. This fixes incorrect output when the FPCR DZ bit is set to enable squashing of input denormals. Signed-off-by: Peter Maydell ---