This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Fix PR target/36834 by adding new -mms-aggregate-return option for MS compatibility
- From: rridge at csclub dot uwaterloo dot ca (Ross Ridge)
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Jul 2008 18:30:57 -0400 (EDT)
- Subject: Re: [Patch] Fix PR target/36834 by adding new -mms-aggregate-return option for MS compatibility
Kai Tietz writes:
>Well, but wouldn't it better to abstract some calling conventions as
>major with some permutations, like regparm, sseparm, ...?
I'm not sure exactly what you're proposing here.
> Btw most of those attributes you mentioned, are under x86_64 targets
>also present and used.
A quick test with GCC 4.1.2 on 64-bit Linux shows that only regparm
is recoginized. I'm not sure if it has any effect, or if it's just
being silently ignored.
> I don't see that those options are a seperate calling convention,
>just an additional permutation of a base calling convention.
That amounts to the same thing. Looking at the issue that way, the
new ms-aggregate-return option is just an additional permutation of an
existing base calling convention and should be treated as such.
Ross Ridge