diff mbox

[2/7,ARM] Multilib support for ARMv8.1.

Message ID 5665AE48.1000100@foss.arm.com
State New
Headers show

Commit Message

Matthew Wahab Dec. 7, 2015, 4:05 p.m. UTC
Ping. Updated patch attached.
Matthew

On 26/11/15 15:58, Matthew Wahab wrote:
> 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.wahab@arm.com>
>
>      * config/arm/t-aprofile: Make "armv8.1-a" and "armv8.1-a+crc"
>      matches for "armv8-a".
>

Comments

Ramana Radhakrishnan Dec. 10, 2015, 10:43 a.m. UTC | #1
On Mon, Dec 7, 2015 at 4:05 PM, Matthew Wahab
<matthew.wahab@foss.arm.com> wrote:
> Ping. Updated patch attached.
> Matthew
>
>
> On 26/11/15 15:58, Matthew Wahab wrote:
>>
>> 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.wahab@arm.com>
>>
>>      * config/arm/t-aprofile: Make "armv8.1-a" and "armv8.1-a+crc"
>>      matches for "armv8-a".
>>


OK.

Ramana
>
diff mbox

Patch

From c5c0f983e03135fe0cde29077353b429c0c502a2 Mon Sep 17 00:00:00 2001
From: Matthew Wahab <matthew.wahab@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