Here are some more patches to remove old, unused features from the rs6000 port.
The first two and last patches fix up some spec strings so that asm_default is used when it should. The third adds a "bitmask" RS6000_BTM_ALWAYS for use by the fourth patch; the one builtin that uses it probably should not be always on (it is specific to Darwin as far as I can tell), but I'm not going to change behaviour with these patches. The fourth patch removes "common mode", makes -mpowerpc always on effectively. The fifth patch removes the old assembler syntax everywhere. The sixth patch removes -mabi=ieeelongdouble, which is plagued by problems; a comment in darwin.h made me believe this option is for old POWER, but it's not (it's for 32-bit SVR4 instead). I'm not totally sure we can remove this support at this time, but I made the patch already, so I'm sending it anyway. Bootstrapped and tested on powerpc64-linux, no regressions, --enable-languages=c,c++,fortran . Okay for mainline? Segher Segher Boessenkool (7): rs6000: Fix PR54142 rs6000: Fix typo mpower64 -> mpowerpc64 in various spec strings. rs6000: Add RS6000_BTM_ALWAYS rs6000: Remove TARGET_POWERPC rs6000: Get rid of old-mnemonics rs6000: Remove -mabi=ieeelongdouble. rs6000: Old AIX specs: Use %(asm_default) instead of -mppc. gcc/common/config/rs6000/rs6000-common.c | 15 +- gcc/config/rs6000/aix.h | 3 - gcc/config/rs6000/aix43.h | 12 +- gcc/config/rs6000/aix51.h | 12 +- gcc/config/rs6000/aix52.h | 6 +- gcc/config/rs6000/aix53.h | 6 +- gcc/config/rs6000/aix61.h | 6 +- gcc/config/rs6000/darwin.h | 7 +- gcc/config/rs6000/darwin.md | 34 +- gcc/config/rs6000/darwin64.h | 4 +- gcc/config/rs6000/default64.h | 4 +- gcc/config/rs6000/dfp.md | 24 +- gcc/config/rs6000/driver-rs6000.c | 6 +- gcc/config/rs6000/eabi.h | 2 +- gcc/config/rs6000/eabialtivec.h | 2 +- gcc/config/rs6000/eabispe.h | 3 +- gcc/config/rs6000/linuxaltivec.h | 2 +- gcc/config/rs6000/linuxspe.h | 3 +- gcc/config/rs6000/rs6000-builtin.def | 2 +- gcc/config/rs6000/rs6000-c.c | 7 +- gcc/config/rs6000/rs6000-cpus.def | 121 ++-- gcc/config/rs6000/rs6000-tables.opt | 33 +- gcc/config/rs6000/rs6000.c | 235 ++----- gcc/config/rs6000/rs6000.h | 12 +- gcc/config/rs6000/rs6000.md | 1137 ++++++++++-------------------- gcc/config/rs6000/rs6000.opt | 21 +- gcc/config/rs6000/spe.md | 68 +-- gcc/config/rs6000/sync.md | 24 +- gcc/config/rs6000/sysv4.h | 6 +- gcc/config/rs6000/sysv4le.h | 2 +- gcc/config/rs6000/vsx.md | 8 +- gcc/config/rs6000/vxworks.h | 3 +- gcc/doc/invoke.texi | 84 +-- libgcc/longlong.h | 34 +- 34 files changed, 661 insertions(+), 1287 deletions(-) -- 1.7.7.6