[Mesa-stable] [Mesa-dev] [PATCH] llvmpipe: fix lp_test_arit denorm handling
Matt Turner
mattst88 at gmail.com
Mon Dec 8 21:40:53 PST 2014
On Mon, Nov 24, 2014 at 2:37 PM, <sroland at vmware.com> wrote:
> From: Roland Scheidegger <sroland at vmware.com>
>
> llvmpipe disables denorms on purpose (on x86/sse only), because denorms are
> generally neither required nor desired for graphic apis (and in case of d3d10,
> they are forbidden).
> However, this caused some arithmetic tests using denorms to fail on some
> systems, because the reference did not generate the same results anymore.
> (It did not fail on all systems - behavior of these math functions is sort
> of undefined when called with non-standard floating point mode, hence the
> result differing depending on implementation and in particular the sse
> capabilities.)
> So, for the reference, simply flush all (input/output) denorms manually
> to zero in this case.
>
> This fixes https://bugs.freedesktop.org/show_bug.cgi?id=67672.
> ---
Can we pick this to 10.4? I've had a Gentoo bug open about this
failure for since 10.0.
(commit 8148a06b8fdb734f7f9a11ce787ee6505939fdaa in master)
More information about the mesa-stable
mailing list