aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2018-05-23 15:26:35 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2018-05-23 15:26:35 +0000
commit7aa132501308fcb42ee2b189b9971df5a04ea0e7 (patch)
tree97955ba3d7dfd83e74a1847d63e8a74150d2716a /gcc
parent4b3f49649a76afc3ed1b75c7e68d641377e22ae1 (diff)
downloadgcc-7aa132501308fcb42ee2b189b9971df5a04ea0e7.zip
gcc-7aa132501308fcb42ee2b189b9971df5a04ea0e7.tar.gz
gcc-7aa132501308fcb42ee2b189b9971df5a04ea0e7.tar.bz2
[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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/arm/arm-cpus.in7
-rw-r--r--gcc/config/arm/arm.c11
3 files changed, 9 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e9268d6..12895be 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2018-05-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * 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 <ubizjak@gmail.com>
* config/i386/i386.md (*floatuns<SWI48:mode><MODEF:mode>2_avx512):
diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in
index 16a381c..aec73b5 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 4a5da7e..c70be36 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