[Mesa-dev] [Bug 59701] lp_test_arit fails on non-sse41 capable machines, breaking make check

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 22 02:51:02 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=59701

José Fonseca <jfonseca at vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jfonseca at vmware.com,
                   |                            |sroland at vmware.com
            Summary|lp_test_arit fails,         |lp_test_arit fails on
                   |breaking make check         |non-sse41 capable machines,
                   |                            |breaking make check

--- Comment #1 from José Fonseca <jfonseca at vmware.com> ---
Hi Michel,

It looks like fract is seriously busted.

The processor doesn't have SSE41, so no ROUNDPS instruction.

This can be reproduced on other processors doing:

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init.c
b/src/gallium/auxiliary/gallivm/lp_bld_init.c
index 050eba7..d677dbb 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_init.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_init.c
@@ -489,7 +489,7 @@ lp_build_init(void)

    gallivm_initialized = TRUE;

-#if 0
+#if 1
    /* For simulating less capable machines */
    util_cpu_caps.has_sse3 = 0;
    util_cpu_caps.has_ssse3 = 0;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130122/a7d6b09f/attachment.html>


More information about the mesa-dev mailing list