On Thu, Nov 6, 2014 at 8:56 PM, Siavash Eliasi <[email protected]> wrote:
> Then I do recommend removing the "if (cpu_has_sse4_1)" from this patch and
> similar places, because there is no runtime CPU dispatching happening for
> SSE optimized code paths in action and just adds extra overhead (unnecessary
> branches) to the generated code.

No. Sorry, I realize I misread your previous question:

>> I guess checking for "cpu_has_sse4_1" is unnecessary if it isn't
>> controllable by user at runtime; because "USE_SSE41" is a compile time check
>> and requires the target machine to be SSE 4.1 capable already.

USE_SSE41 is set if the *compiler* supports SSE 4.1. This allows you
to build the code and then use it only on systems that actually
support it.

All of this could have been pretty easily answered by a few greps though...
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to