SSE in libthr

John Baldwin jhb at freebsd.org
Mon Apr 6 20:18:27 UTC 2015


On Saturday, March 28, 2015 10:41:48 AM Adrian Chadd wrote:
> Ok, so how do we reduce the amount of FPU save and restores, or make
> them cheaper?

Or make them more useful.  If you are using SSE/AVX more often between context
switches in ways that are beneficial then that might offset the cost of the
save and restore and result in a net win.  I have variants of strlen, memcpy,
and memset that use SSE.  However, microbenchmarks aren't super useful as you
have noted.  If you would like to try these out in some real workloads I can
provide a patch to libc.

-- 
John Baldwin


More information about the freebsd-current mailing list