[Mesa-dev] [Bug 94383] build error on i386 when enabling swr

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 9 16:56:31 UTC 2016


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

--- Comment #9 from Fabio Pedretti <fabio.ped at libero.it> ---
(In reply to Tim Rowley from comment #6)
> Won't you run into the same problem with 64-bit builds in your system?  I'd
> imagine that they're probably configured with -march=core2 for the widest
> target platform, which will run into the same issue with swr's direct avx
> intrinsic usage.

The arch tuning is only applied on 32 bit, the 64 bit already defaults to a
more recent CPU.

In reply to Ilia Mirkin from comment #7)
> (In reply to Emil Velikov from comment #5)
> > Thanks for the nice check Tim.
> > 
> > Looks like a bug on our end - the configure check should honour the FLAGS,
> > thus we'll warn/error and one won't be able to build swr with
> > -march=pentium3.
> 
> Other way around - you want to ignore the user's request and build with AVX
> anyways. The code in question should only be loaded if AVX (or AVX2) are
> detected at runtime.

This make more sense than requiring disabling pentium3 optimization, as the
rationale for arch tuning on 32 bit is to tune for a newer CPU (pentium3)
rather than the default (i586 or something). Else we'll get AVX on swr and
standard i586 on all other code.

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


More information about the mesa-dev mailing list