Re: SSE in libthr

From: John Baldwin <jhb_at_freebsd.org>
Date: Mon, 06 Apr 2015 15:56:35 -0400
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
Received on Mon Apr 06 2015 - 18:18:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC