aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix53.h
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2012-07-27 13:44:37 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2012-07-27 13:44:37 +0200
commitc28a7c245f7e5b681cab65aaf34963ff64dc1061 (patch)
tree2b1c6228af8d5ebf6ded8708b5445523bb1800a0 /gcc/config/rs6000/aix53.h
parentf3061fa41878613d6ea93b46361991cde217a83e (diff)
downloadgcc-c28a7c245f7e5b681cab65aaf34963ff64dc1061.zip
gcc-c28a7c245f7e5b681cab65aaf34963ff64dc1061.tar.gz
gcc-c28a7c245f7e5b681cab65aaf34963ff64dc1061.tar.bz2
rs6000-common.c (rs6000_handle_option): Delete code for -mno-power, -mpower, and -mpower2.
2012-07-26 Segher Boessenkool <segher@kernel.crashing.org> gcc/ * common/config/rs6000/rs6000-common.c (rs6000_handle_option): Delete code for -mno-power, -mpower, and -mpower2. * config/rs6000/aix43.h (NON_POWERPC_MASKS): Delete. (SUBTARGET_OVERRIDE_OPTIONS): Delete check for POWER together with -maix64. (ASM_CPU_SPEC): Delete support for POWER and POWER2. * config/rs6000/aix51.h (NON_POWERPC_MASKS): Delete. (SUBTARGET_OVERRIDE_OPTIONS): Delete check for POWER together with -maix64. (ASM_CPU_SPEC): Delete support for POWER and POWER2. * config/rs6000/aix52.h (NON_POWERPC_MASKS): Delete. (SUBTARGET_OVERRIDE_OPTIONS): Delete check for POWER together with -maix64. (TARGET_POWER): Delete. * config/rs6000/aix53.h (NON_POWERPC_MASKS): Delete. (SUBTARGET_OVERRIDE_OPTIONS): Delete check for POWER together with -maix64. (TARGET_POWER): Delete. * config/rs6000/aix61.h (NON_POWERPC_MASKS): Delete. (SUBTARGET_OVERRIDE_OPTIONS): Delete check for POWER together with -maix64. (TARGET_POWER): Delete. * config/rs6000/darwin.h (TARGET_POWER): Delete. * config/rs6000/driver-rs6000.c (struct asm_names): Delete support for -mpower, -mpower2, and -mno-power. * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Likewise. (rs6000_cpu_cpp_builtins): Likewise. * config/rs6000/rs6000-cpus.def: Likewise. * config/rs6000/rs6000-tables.opt: Regenerate. * config/rs6000/rs6000.c (POWER_MASKS): Delete. (rs6000_option_override_internal): Adjust. (rs6000_conditional_register_usage): Adjust. (rs6000_emit_move): Adjust. (rs6000_common_init_builtins): Adjust. (rs6000_init_libfuncs): Adjust. (rs6000_output_function_prologue): Adjust. (rs6000_adjust_cost): Adjust. (struct rs6000_opt_masks): Delete MASK_POWER and MASK_POWER2. * config/rs6000/rs6000.h (ASM_CPU_SPEC): Delete support for POWER and POWER2. (TARGET_DEFAULT): Adjust. (PROCESSOR_POWER): Delete. (SHIFT_COUNT_TRUNCATED): Adjust. * config/rs6000/rs6000.md (extendqisi2): Delete POWER support. (extendqisi2_power): Delete. (extendqisi2_no_power): Adjust. (extendqihi2, extendqihi2_power, extendqihi2_no_power): Likewise. (sminsi3, smaxsi3, uminsi3, umaxsi3): Adjust. (anonymous doz insn patterns): Delete. (abssi2): Adjust. (abssi2_power): Delete. (abssi2_nopower): Adjust. (nabs_power, nabs_nopower): Likewise. (mulsi3, mulsi3_mq, mulsi3_no_mq, mulsi3_mq_internal1): Likewise. Delete anonymous post-reload splitter. (mulsi3_no_mq_internal1): rename to... (mulsi3_internal1): New define_insn. (mulsi3_mq_internal2, mulsi3_no_mq_internal2, mulsi3_internal2): Likewise. (divmodsi4, divmodsi4_internal, udiv<mode>3, udivsi3_mq, udivsi3_no_mq, udivsi3, div<mode>3, divsi3_mq, div<mode>3_no_mq, udivmodsi4_normal, udivmodsi4_tests, udivmodsi4): Likewise. (mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call): Likewise. (maskir_internal1, maskir_internal2, maskir_internal3, maskir_internal4, maskir_internal5, maskir_internal6, maskir_internal7, maskir_internal8): Delete. (ashlsi3, ashlsi3_power, ashlsi3_no_power): Adjust. (anonymous sl insn patterns): Delete. (lshrsi3, lshrsi3_power, lshrsi3_no_power): Adjust. (lshrsi3_64): Adjust. (anonymous sr insn patterns): Delete. (anonymous rrib insn patterns): Delete. (ashrsi3, ashrsi3_power, ashrsi3_no_power): Adjust. (anonymous sra insn patterns): Delete. (sqrtsf2, sqrtdf2, sqrtdf2_fpr): Adjust. (fix_trunc<mode>si2, fix_trunc<mode>si2_internal, fctiwz_<mode>): Adjust. (mulsidi3, mulsidi3_mq, mulsidi3_no_mq, umulsidi3, umulsidi3_mq, umulsidi3_no_mq, smulsi3_highpart, smulsi3_highpart_mq, smulsi3_highpart_no_mq, umulsi3_highpart, umulsi3_highpart_mq, umulsi3_highpart_no_mq): Adjust. (ashldi3_power, lshrdi3_power, ashrdi3_power): Delete. (ashrdi3_no_power, ashldi3, ashldi3_internal1, lshrdi3_internal1): Adjust. (fix_trunctfsi2, fix_trunctfsi2_fprs): Adjust. (movti_power): Delete. (movti_string): Adjust. (stmsi8, stmsi7, stmsi6, stmsi5, stmsi4, stmsi3): Adjust. (stmsi8_power, stmsi7_power, stmsi6_power, stmsi5_power, stmsi4_power, stmsi3_power): Delete. (anonymous movmemsi insn patterns): Adjust. (lfq_power2, stfq_power2): Delete. (eq<mode>, eq<mode>_compare): Adjust. (eqsi_power): Delete. (ne0si): Adjust. (anonymous le, lt, ge, gt insn patterns): Delete. * config/rs6000/rs6000.opt (mpower, mno-power, mpower2): Delete. * config/rs6000/sysv4.h (TARGET_POWER): Delete. * config/rs6000/t-aix43 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, MULTILIB_MATCHES): Adjust. * doc/invoke.texi (RS/6000 and PowerPC Options): Delete -mpower, -mno-power, -mpower2, -mno-power2 documentation. Delete -mcpu=power and -mcpu=power2 documentation. gcc/testsuite/ * gcc.target/powerpc/rs6000-power2-1.c: Delete. * gcc.target/powerpc/rs6000-power2-2.c: Delete. From-SVN: r189908
Diffstat (limited to 'gcc/config/rs6000/aix53.h')
-rw-r--r--gcc/config/rs6000/aix53.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/config/rs6000/aix53.h b/gcc/config/rs6000/aix53.h
index 36af085..44ad5cf 100644
--- a/gcc/config/rs6000/aix53.h
+++ b/gcc/config/rs6000/aix53.h
@@ -1,7 +1,6 @@
/* Definitions of target machine for GNU compiler,
for IBM RS/6000 POWER running AIX V5.3.
- Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright (C) 2002-2012 Free Software Foundation, Inc.
Contributed by David Edelsohn (edelsohn@gnu.org).
This file is part of GCC.
@@ -23,14 +22,8 @@
/* The macro SUBTARGET_OVERRIDE_OPTIONS is provided for subtargets, to
get control in TARGET_OPTION_OVERRIDE. */
-#define NON_POWERPC_MASKS (MASK_POWER | MASK_POWER2)
#define SUBTARGET_OVERRIDE_OPTIONS \
do { \
- if (TARGET_64BIT && (target_flags & NON_POWERPC_MASKS)) \
- { \
- target_flags &= ~NON_POWERPC_MASKS; \
- warning (0, "-maix64 and POWER architecture are incompatible"); \
- } \
if (TARGET_64BIT && ! TARGET_POWERPC64) \
{ \
target_flags |= MASK_POWERPC64; \
@@ -119,9 +112,6 @@ do { \
#undef PROCESSOR_DEFAULT64
#define PROCESSOR_DEFAULT64 PROCESSOR_POWER5
-#undef TARGET_POWER
-#define TARGET_POWER 0
-
/* Define this macro as a C expression for the initializer of an
array of string to tell the driver program which options are
defaults for this target and thus do not need to be handled