This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH, x86_64] Use -mno-sse[,2] to fall back to x87 FP argument passing convention
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 04 Oct 2006 09:46:29 -0700
- Subject: Re: [RFC PATCH, x86_64] Use -mno-sse[,2] to fall back to x87 FP argument passing convention
- References: <5787cf470610040249q3186839mc4b15f6de23e63f1@mail.gmail.com>
On Wed, 2006-10-04 at 11:49 +0200, Uros Bizjak wrote:
> Hello!
>
> Attached RFC patch can be used to specify where FP arguments of
> different modes are passed. It is suprisingly short, as it piggybacks
> on existing XFmode functionality (XFmode arguments are always passed
> via x87 registers). So, specifying -mno-sse2 now passes DFmode
> arguments using x87 passing convention, instead of emitting an error
> that SSE register is used without SSE enabled.
I think this should be a different option.
Thanks,
Andrew Pinski