[Mesa-dev] [Bug 106644] [llvmpipe] Mesa 18.1.2 fails lp_test_format, lp_test_arit, lp_test_blend, lp_test_printf, lp_test_conv tests

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 3 07:37:30 UTC 2018


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

vi at endrift.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vi at endrift.com

--- Comment #42 from vi at endrift.com ---
I just hit what appears to be this issue today while using swrast on a G5
(PowerPC 970, 64-bit kernel, 32-bit userland). Running even glxgears would
result in a SIGILL in what appears to be gallivm-generated code on a VSX
instruction (xxlxor).

I have not tried to compile from source (I'm using a Debian Sid package) but I
did track down this block in git:
https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp?h=mesa-18.1.5&id=3f1b6ef2aa9c99bebe539f1de5a5054d90fc5dc3#n626

It would appear that if compiled against a new enough LLVM, gallivm will enable
VSX instructions if Altivec is present at all. There should ideally be separate
checks for Altivec and VSX support instead.

I may look into this a bit deeper later but this is just the result of some
quick research.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180803/116aef58/attachment.html>


More information about the mesa-dev mailing list