arm: remove unnecessary armv9-a multilib variant [PR104144]
authorPrzemyslaw Wirkus <Przemyslaw.Wirkus@arm.com>
Mon, 11 Apr 2022 12:14:01 +0000 (13:14 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Tue, 12 Apr 2022 09:40:23 +0000 (10:40 +0100)
commit1210fd6e69e51516c935acc49e223fce14a0dd86
tree6ea6a0aec5913c8aa8105b4369f63f725961f114
parent1bd96873cf73c4f59de48e9bc0d17a498f1ede04
arm: remove unnecessary armv9-a multilib variant [PR104144]

Remove the armv9-a specific multilib variants.  Instead, arrange to
use either the armv8-a multilibs or the armv7-a versions, depeding on
the configuration.  This eliminates the need to have a version of gas
that understands --march=armv9-a when building GCC.  Very little, if
anything in the standard libraries directly uses Armv9-a features
anyway.

Also remove the +crc variant rules for Armv9-a.  CRC is an implicit
part of Armv9-a, so doesn't have a explicit feature to handle it.

gcc/ChangeLog:

PR target/104144
* config/arm/t-aprofile (MULTI_ARCH_OPTS_A): Remove Armv9-a options.
(MULTI_ARCH_DIRS_A): Remove Armv9-a diretories.
(MULTILIB_REQUIRED): Don't require Armv9-a libraries.
(MULTILIB_MATCHES): Treat Armv9-a as equivalent to Armv8-a.
(MULTILIB_REUSE): Remove remap rules for Armv9-a.
* config/arm/t-multilib (v9_a_nosimd_variants): Delete.
(MULTILIB_MATCHES): Remove mappings for v9_a_nosimd_variants.

gcc/testsuite/ChangeLog:

PR target/104144
* gcc.target/arm/multilib.exp: Updated tests.
gcc/config/arm/t-aprofile
gcc/config/arm/t-multilib
gcc/testsuite/gcc.target/arm/multilib.exp