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]

rearrange -mcpu= code for rs6000


(This is a repost, the previous version got eaten by a faulty mail demon.)

Pretty obvious from the ChangeLog entry, really:

* config/rs6000/rs6000.c (rs6000_override_options): Make processor
list have list of flags to set and all flags, rather than flags
to set and flags to clear; add MASK_ALTIVEC where appropriate;
use enums rather than #defines.


Bootstrapped & tested on powerpc-darwin.

I'll wait a bit before committing this, in the hope that someone can
help me with the FIXME.  In particular:

- Does POWER3 have the GPOPT extensions?
- What about POWER4?  620?  630?
- Does the 8540 have Altivec?

Attachment: rs6000-proctypes.patch
Description: Binary data



--
- Geoffrey Keating <geoffk@apple.com>

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