[patch] disallow -m32 -mpowerpc64 on powerpc64-linux

Andrew Pinski pinskia@gmail.com
Sat Dec 13 00:43:00 GMT 2008


On Fri, Dec 12, 2008 at 4:22 PM, Janis Johnson <janis187@us.ibm.com> wrote:
> When the Linux kernel and GLIBC have been fixed to handle it we can
> allow -mpowerpc64 with -m32.  Right now, though, users who specify
> those options get code that can get the wrong results, as with the
> testcase in PR target/27619.
>
> Can you check code size differences using cross compilers for Darwin,
> which allows it?

No because the ABIs are even more different from the two ABIs used for
GNU/Linux.

In my mind this is the same reason why we should not disallow -msse5
-mfma for x86, a Linux kernel could be made already that has the ABI
change but just not in the wild yet.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list