This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Disabling x87 instructions in -O3 X86_64 sse enabled code
- From: Alex Bennee <kernel-hacker at bennee dot com>
- To: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 01 Sep 2006 18:15:16 +0100
- Subject: Re: Disabling x87 instructions in -O3 X86_64 sse enabled code
- References: <1156872232.21992.15.camel@okra.transitives.com> <20060829205511.GF29852@sygehus.dk>
- Reply-to: kernel-hacker at bennee dot com
On Tue, 2006-08-29 at 22:55 +0200, Rask Ingemann Lambertsen wrote:
> On Tue, Aug 29, 2006 at 06:23:52PM +0100, Alex Bennee wrote:
>
> > However I'm under the
> > impression gcc shouldn't be generating any x87 code unless explicitly
> > enabled.
>
> There's an undocumented option -mno-80387 (at least in GCC 4.2).
Cool - that has indeed fixed the problem with our gcc 4.1 build.
Thanks :-)
--
Alex, homepage: http://www.bennee.com/~alex/
The world is coming to an end ... SAVE YOUR BUFFERS!!!