This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]