This patch sets up multilib support for ARMv8.1, treating it as a synonym for ARMv8. Since ARMv8.1 integer, FP or SIMD instructions are only generated for the new, instruction-specific instrinsics, mapping to ARMv8 rather than adding a new multilib variant is sufficient.
Tested the series for arm-none-eabi with cross-compiled check-gcc on an ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-26 Matthew Wahab <matthew.wa...@arm.com> * config/arm/t-aprofile: Make "armv8.1-a" and "armv8.1-a+crc" matches for "armv8-a".
>From 9cd389bf72cff391423e17423f4624904aff5474 Mon Sep 17 00:00:00 2001 From: Matthew Wahab <matthew.wa...@arm.com> Date: Fri, 23 Oct 2015 09:37:12 +0100 Subject: [PATCH 2/7] [ARM] Multilib support for ARMv8.1 Change-Id: I65ee77768e22452ac15452cf6d4fdec3079ef852 --- gcc/config/arm/t-aprofile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/arm/t-aprofile b/gcc/config/arm/t-aprofile index cf34161..b23f1bc 100644 --- a/gcc/config/arm/t-aprofile +++ b/gcc/config/arm/t-aprofile @@ -98,6 +98,8 @@ MULTILIB_MATCHES += march?armv8-a=mcpu?xgene1 # Arch Matches MULTILIB_MATCHES += march?armv8-a=march?armv8-a+crc +MULTILIB_MATCHES += march?armv8-a=march?armv8.1-a +MULTILIB_MATCHES += march?armv8-a=march?armv8.1-a+crc # FPU matches MULTILIB_MATCHES += mfpu?vfpv3-d16=mfpu?vfpv3 -- 2.1.4