[patch] PowerPC ieee float tests

Tom Rix trix@redhat.com
Sat Feb 9 09:31:00 GMT 2002


David Edelsohn wrote:

> [Oops, let's try sending this again.]
>
>         I think the best solution is to use "-mcpu=powerpc" for all AIX
> targets.  This will put the compiler into the proper mode for
> PowerPC-based systems (some of which may still be recognized as rs6000
> depending on config.guess).  For POWER systems, the instruction will cause
> a crash, but the tests already are failing, so this is no worse than the
> current situation.  You might want to check for aix4* and aix5*.
>

I tried this and is does work.  The downside is  a couple of the 64bit tests
fail.  Obviously I can check for -maix64 first..

Looking closer at the problem showed it to be a conflict with the finding the
correct multilib.    The combination of options -maix64 -mcp=powerpc returns
the default libgcc.  I  would have thought it would have been resolved to
ppc64.

Tom

--
Tom Rix
GCC Engineer
trix@redhat.com





More information about the Gcc-patches mailing list