[patch] e500 port

Aldy Hernandez aldyh@redhat.com
Wed Jul 24 13:14:00 GMT 2002


On Wed, Jul 24, 2002 at 12:38:20PM -0400, David Edelsohn wrote:
> 	Where could we short-circuit the TARGET_FPRS, TARGET_SPE, and
> TARGET_ISEL macros the same way that we short-circuit DEFAULT_ABI.  This
> would allow GCC to optimize away the tests and the resulting dead code
> when an OS will never run on e500.

Not a problem.  We could do the same thing as we've done for
DEFAULT_ABI.  Declare rs6000_fprs to be an enum.  #define TARGET_FPRS
to a known value in the individual system .h files.  And define
TARGET_FPRS to rs6000_fprs if the macro is not defined.

I can do this if you want.

> 	Is e500 suppose to run anything other than SVR4 and eABI?  It

Nope.  Absolutely not.  Only eabi + spe abi extensions.

Aldy



More information about the Gcc-patches mailing list