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 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,

Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


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