[Mesa-dev] [Bug 27512] Illegal instruction _mesa_x86_64_transform_points4_general

Patrick Baggett baggett.patrick at gmail.com
Tue Jan 5 12:57:02 PST 2016


Given that there is a _mesa_3dnow_transform_points4_2d in the x86-64 asm
(using MMX/3DNow! is deprecated in x86-64), it appears that this code was
copy-pasted. I wrote a quick patch to change prefetch[w] to prefetcht1,
which is more or less the equivalent in SSE. However, I'm not actually sure
those prefetches really benefit the code since they appear to be monotonic
addresses and hinting only 16 bytes ahead (a cache line is almost always at
least 32 bytes) -- maybe that sort of testing is for another day.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160105/1e5926a0/attachment.html>


More information about the mesa-dev mailing list