From 53c9a2d5a6f698c5f48c6e80c3958ac5064f1e58 Mon Sep 17 00:00:00 2001 From: ktkachov Date: Wed, 23 May 2018 15:26:35 +0000 Subject: [PATCH] [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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260615 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/config/arm/arm-cpus.in | 7 +------ gcc/config/arm/arm.c | 11 +---------- 3 files changed, 9 insertions(+), 16 deletions(-) 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 -- 2.11.4.GIT