Should we compile x86-64 ld.so with -mno-sse -mno-sse?

Carlos O'Donell carlos@systemhalted.org
Wed Oct 31 16:10:00 GMT 2012


On Wed, Oct 31, 2012 at 9:28 AM, Andreas Jaeger <aj@suse.com> wrote:
> On Wednesday, October 31, 2012 06:22:45 H.J. Lu wrote:
>> Hi,
>>
>> Since we don't pass -mno-sse -mno-sse to GCC when compiling ld.so,
>
> Twice -mno-sse?
>
>> GCC is free to use SSE/AVX instructions.  I saw 2 SSE instructions
>> in ld.so when compiling x32 glibc with GCC 4.8 -maddress-mode=long.
>
> The usage is fine from an ABI point of view - but I agree, it's a
> question of optimization that we might not want to touch the SSE unit at
> all.
>
> But we're using in general SSE in the routines, so that I don't think
> this is worth it,

What use case is there for not wanting to touch SEE in ld.so?

Cheers,
Carlos.



More information about the Libc-alpha mailing list