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, committed] PPC405 atomic support (PR target/21760)



On Jun 23, 2005, at 10:03 PM, Geoffrey Keating wrote:


David Edelsohn <dje@watson.ibm.com> writes:

I think you might be able to get away with

#define ppc405_is_default (strcmp(TARGET_CPU_DEFAULT, "405") == 0)

I suggest a different way to David via IRC when he was writing this code
to fix this. Change config.gcc to add a define when --with-cpu=405 is
supplied which in turn turns on the check but David rejected it saying that
is it was going to be too hard to maintain.


-- Pinski


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