This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Should we compile x86-64 ld.so with -mno-sse -mno-sse?
- From: Andreas Jaeger <aj at suse dot com>
- To: libc-alpha at sourceware dot org
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Wed, 31 Oct 2012 14:28:43 +0100
- Subject: Re: Should we compile x86-64 ld.so with -mno-sse -mno-sse?
- References: <20121031132245.GA2117@gmail.com>
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