This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] e500 port


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]