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] |
Hello! Currently, there are lots of TARGET_CPU_DEFAULT_* macros present in i386.h, just waiting to be substituted with enum. This will prevent further mismatches like the one find in i386-interix.h, where value 2 actually defaulted to pentium, not i486. Also, array initializer was moved to i386.c as it is only used there. The patch was bootstrapped and regression tested on i686-pc-linux-gnu. Patch is committed to SVN. 2007-11-14 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.h (TARGET_CPU_DEFAULT_*): Substitute with ... (enum target_cpu_default): ... this enum. (TARGET_CPU_DEFAULT_NAMES): Remove macro. Move initializer to ... * config/i386/i386.c (override_options): ... here. * config/i386/i386-interix.h (TARGET_CPU_DEFAULT): Use TARGET_CPU_DEFAULT_i486. Uros.
Attachment:
p.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |