From: Segher Boessenkool Date: Wed, 7 Jun 2017 15:23:49 +0000 (+0200) Subject: rs6000: Remove -mspe options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6958e60ff7035006a82d73ebcccaccd9fc427fef;p=gcc.git rs6000: Remove -mspe options * config/rs6000/rs6000.c (rs6000_option_override_internal): Delete handling of SPE flags. * config/rs6000/rs6000.opt (-mspe, -mspe=no, -mspe=yes): Delete. From-SVN: r248981 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 444ffb9c824..4ec245c4632 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-06-07 Segher Boessenkool + + * config/rs6000/rs6000.c (rs6000_option_override_internal): Delete + handling of SPE flags. + * config/rs6000/rs6000.opt (-mspe, -mspe=no, -mspe=yes): Delete. + 2017-06-07 Segher Boessenkool * config/rs6000/rs6000-common.c (rs6000_handle_option): Remove diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ac5e2de5398..612d1b0de53 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -4190,24 +4190,6 @@ rs6000_option_override_internal (bool global_init_p) gcc_assert (tune_index >= 0); rs6000_cpu = processor_target_table[tune_index].processor; - /* Pick defaults for SPE related control flags. Do this early to make sure - that the TARGET_ macros are representative ASAP. */ - { - int spe_capable_cpu = - (rs6000_cpu == PROCESSOR_PPC8540 - || rs6000_cpu == PROCESSOR_PPC8548); - - if (!global_options_set.x_rs6000_spe) - rs6000_spe = spe_capable_cpu; - } - - if (global_options_set.x_rs6000_spe && rs6000_spe) - error ("not configured for SPE instruction set"); - - if (main_target_opt != NULL - && main_target_opt->x_rs6000_spe != rs6000_spe) - error ("target attribute or pragma changes SPE ABI"); - if (rs6000_cpu == PROCESSOR_PPCE300C2 || rs6000_cpu == PROCESSOR_PPCE300C3 || rs6000_cpu == PROCESSOR_PPCE500MC || rs6000_cpu == PROCESSOR_PPCE500MC64 || rs6000_cpu == PROCESSOR_PPCE5500) diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt index a1a775389da..28d899391fb 100644 --- a/gcc/config/rs6000/rs6000.opt +++ b/gcc/config/rs6000/rs6000.opt @@ -353,22 +353,10 @@ misel=yes Target RejectNegative Alias(misel) Deprecated option. Use -misel instead. -mspe -Target Var(rs6000_spe) Save -Generate SPE SIMD instructions on E500. - mpaired Target Var(rs6000_paired_float) Save Generate PPC750CL paired-single instructions. -mspe=no -Target RejectNegative Alias(mspe) NegativeAlias -Deprecated option. Use -mno-spe instead. - -mspe=yes -Target RejectNegative Alias(mspe) -Deprecated option. Use -mspe instead. - mdebug= Target RejectNegative Joined -mdebug= Enable debug output.