From: Kyrylo Tkachov Date: Wed, 23 May 2018 15:26:35 +0000 (+0000) Subject: [arm] Remove mode26 feature bit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7aa132501308fcb42ee2b189b9971df5a04ea0e7;p=gcc.git [arm] Remove mode26 feature bit * config/arm/arm-cpus.in (mode26): Delete. (armv4): Delete mode26 reference. * config/arm/arm.c (arm_configure_build_target): Delete use of isa_bit_mode26. From-SVN: r260615 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e9268d64c78..12895be3e6b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-05-23 Kyrylo Tkachov + + * config/arm/arm-cpus.in (mode26): Delete. + (armv4): Delete mode26 reference. + * config/arm/arm.c (arm_configure_build_target): Delete use of + isa_bit_mode26. + 2018-05-23 Uros Bizjak * config/i386/i386.md (*floatuns2_avx512): diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in index 16a381c86b6..aec73b5cae0 100644 --- a/gcc/config/arm/arm-cpus.in +++ b/gcc/config/arm/arm-cpus.in @@ -48,9 +48,6 @@ # Features - general convention: all lower case. -# 26-bit mode support -define feature mode26 - # Architecture rel 4 define feature armv4 @@ -274,11 +271,9 @@ begin arch armv4 tune for arm7tdmi tune flags CO_PROC base 4 - isa ARMv4 mode26 + isa ARMv4 end arch armv4 -# Strictly, mode26 is a permitted option for v4t, but there are no -# implementations that support it, so we will leave it out for now. begin arch armv4t tune for arm7tdmi tune flags CO_PROC diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 4a5da7e45a7..c70be366ed8 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -3232,16 +3232,7 @@ arm_configure_build_target (struct arm_build_target *target, switches that require certain abilities from the cpu. */ if (TARGET_INTERWORK || TARGET_THUMB) - { - bitmap_set_bit (sought_isa, isa_bit_thumb); - - /* There are no ARM processors that support both APCS-26 and - interworking. Therefore we forcibly remove MODE26 from - from the isa features here (if it was set), so that the - search below will always be able to find a compatible - processor. */ - bitmap_clear_bit (default_isa, isa_bit_mode26); - } + bitmap_set_bit (sought_isa, isa_bit_thumb); /* If there are such requirements and the default CPU does not satisfy them, we need to run over the complete list of