On Wed, Sep 24, 2014 at 6:25 AM, Marc Dietrich <marvi...@gmx.de> wrote:
> Am Montag, 22. September 2014, 11:48:29 schrieb Matt Turner:
>> We need a configure check for support for __attribute__((target)). I'm
>> going to send a series that adds support for this (and does the check
>> for existing attribute uses, so once that goes in you can rebase this
>> patch on that).
>
> nice, but won't work with the workaround above. Pragma and attribute does the 
> same
> so, we could check for the attribute and use the pragma instead.

I wonder if the best thing to do is to add target("sse4.1") in
addition to using -msse4.1. That way, we'll retain compatibility with
clang (and gcc-4.3, but who cares?) and we'll mark the function with
enough information for LTO to work.

Does that seem plausible?
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to