From d41a5879cc651589c2cfc5a2b07b22c3cc8d6e07 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Tue, 10 May 2011 14:46:34 +0000 Subject: contrib: * gcc_update (gcc/config/rs6000/rs6000-tables.opt): New dependencies. gcc: * config/rs6000/genopt.sh, config/rs6000/rs6000-cpus.def: New files. * config/rs6000/rs6000-tables.opt: New file (generated). * config.gcc (powerpc*-*-*, rs6000*-*-*): Add rs6000/rs6000-tables.opt to extra_options. * config/rs6000/rs6000-opts.h (RS6000_CPU_OPTION_NATIVE): Define. * config/rs6000/rs6000.c (rs6000_select): Remove. (processor_target_table): Move contents to rs6000-cpus.def. (darwin_rs6000_override_options): Check global_options_set.x_rs6000_cpu_index instead of rs6000_select[1].string. (rs6000_option_override_internal): Likewise. (rs6000_handle_option): Don't assert that global structures are in use. Don't handle OPT_mcpu_ and OPT_mtune_ here. (rs6000_default_cpu): New variable. (rs6000_file_start): Set it instead of local default_cpu. Check rs6000_default_cpu, global_options_set.x_rs6000_cpu_index and global_options_set.x_rs6000_tune_index instead of rs6000_select. (rs6000_darwin_file_start): Check rs6000_default_cpu and global_options_set.x_rs6000_cpu_index instead of rs6000_select. * config/rs6000/rs6000.h (struct rs6000_cpu_select, rs6000_select): Remove. * config/rs6000/rs6000.opt (rs6000_cpu_index, rs6000_tune_index): Remove. (mcpu=, mtune=): Use Var, Init, Enum and Save. * config/rs6000/t-rs6000 ($(srcdir)/config/rs6000/rs6000-tables.opt): New. * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check global_options_set.x_rs6000_cpu_index instead of rs6000_select[1].string. * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check global_options_set.x_rs6000_cpu_index instead of rs6000_select[1].string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@173620 138bc75d-0d04-0410-961f-82ee72b054a4 --- contrib/gcc_update | 1 + 1 file changed, 1 insertion(+) (limited to 'contrib/gcc_update') diff --git a/contrib/gcc_update b/contrib/gcc_update index a564dd9d04d..e528f756d83 100755 --- a/contrib/gcc_update +++ b/contrib/gcc_update @@ -83,6 +83,7 @@ gcc/config/arm/arm-tune.md: gcc/config/arm/arm-cores.def gcc/config/arm/gentune. gcc/config/arm/arm-tables.opt: gcc/config/arm/arm-arches.def gcc/config/arm/arm-cores.def gcc/config/arm/genopt.sh gcc/config/m68k/m68k-tables.opt: gcc/config/m68k/m68k-devices.def gcc/config/m68k/m68k-isas.def gcc/config/m68k/m68k-microarchs.def gcc/config/m68k/genopt.sh gcc/config/mips/mips-tables.opt: gcc/config/mips/mips-cpus.def gcc/config/mips/genopt.sh +gcc/config/rs6000/rs6000-tables.opt: gcc/config/rs6000/rs6000-cpus.def gcc/config/rs6000/genopt.sh # And then, language-specific files gcc/cp/cfns.h: gcc/cp/cfns.gperf gcc/java/keyword.h: gcc/java/keyword.gperf -- cgit v1.2.1