On Wed, Mar 11, 2015 at 6:09 PM, Matt Turner <[email protected]> wrote:
> On Wed, Mar 11, 2015 at 3:04 PM, Ilia Mirkin <[email protected]> wrote:
>> While I'm not opposed to this style of implementation, do note that
>> 99.9999738% of users will end up with distro-compiled packages
>> targeting generic x86_64 and thus won't use the SSE variant. If it's
>> really better, might make sense to do it "for real" (i.e. runtime
>> selection), otherwise just let it go and use rint/rintf everywhere so
>> that developers (who build their own libraries, probably with the
>> "right" -march) will get the same behaviour as users.
>
> glibc uses roundsd/roundss in rint/f guarded by a runtime check. The
> SSE code here just allows those instructions to be inlined.

OK, as long as glibc would end up using the same rounding mode settings,

Reviewed-by: Ilia Mirkin <[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to