-mno-sse and -mno-sse2 broken on opteron?
Andreas Jaeger
aj@suse.de
Thu Jan 6 07:21:00 GMT 2005
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,
Andreas
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20050106/90f99f17/attachment.sig>
More information about the Gcc
mailing list