|
From: | Tom Musta |
Subject: | Re: [Qemu-ppc] [Qemu-devel] [PATCH 12/14] VSX Stage 4: Add Scalar SP Fused Multiply-Adds |
Date: | Thu, 14 Nov 2013 14:58:38 -0600 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 11/13/2013 5:14 PM, Richard Henderson wrote: > On 11/14/2013 06:49 AM, Tom Musta wrote: >> I have also done quite a bit of random and targeted random testing using >> Power >> hardware to produce expected results. The targeted random tests followed >> your >> suggestion above: generate AxB + C where abs(exp(A) - exp(B)) = 23 and >> abs(exp(A) - exp(C)) = 46. Several million test patterns have been generated >> and played back through QEMU without any miscompares in the numerical >> results. > > Here's an example that produces wrong results when rounding to double first. > Replace the portable math.h calls with ppc asm as necessary. > > <snip> > r~ > Thanks, Richard. You have convinced me.
[Prev in Thread] | Current Thread | [Next in Thread] |