-mno-sse and -mno-sse2 broken on opteron?
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Jan 6 17:00:00 GMT 2005
On Thu, Jan 06, 2005 at 07:43:49AM +0100, Andreas Jaeger wrote:
> Andrew Pinski <pinskia@physics.uc.edu> writes:
>
> > On Jan 5, 2005, at 3:04 PM, Steve Kargl wrote:
> >
> >> gfc -c -O -pipe -mfpmath=387 -mno-sse -mno-sse2 boxmuller.f90
> >> boxmuller.f90: In function 'dbox_muller_array':
> >> boxmuller.f90:70: error: SSE register return with SSE disabled
> >> *** Error code 1
> >>
> >> troutmask:kargl[127] gfc --version
> >> GNU Fortran 95 (GCC 4.0.0 20050104 (experimental))
> >> Copyright (C) 2004 Free Software Foundation, Inc.
> >
> > Is this on x86_64, if so you cannot do that.
>
> Let's say it this way: You can only do it if your application never
> uses SSE registers - and a floating point return uses SSE registers
> according to the ABI,
>
gcc.info implies that one can use -mno-sse{2} with x86_64.
If this is not true, then gcc.info needs to be fix and these
options should be disabled/removed for x86_64 targets.
--
Steve
More information about the Gcc
mailing list