arm: Add support for Armv9.5-A
This commit is contained in:
parent
1bc24c0dab
commit
b47cef7ca8
6 changed files with 29 additions and 0 deletions
2
gas/NEWS
2
gas/NEWS
|
@ -1,5 +1,7 @@
|
|||
-*- text -*-
|
||||
|
||||
* Add support for 'armv9.5-a' for -march in Arm GAS.
|
||||
|
||||
Changes in 2.42:
|
||||
|
||||
* Add support for AMD znver5 processor.
|
||||
|
|
|
@ -32043,6 +32043,7 @@ static const struct arm_ext_table armv9a_ext_table[] =
|
|||
#define armv92a_ext_table armv91a_ext_table
|
||||
#define armv93a_ext_table armv92a_ext_table
|
||||
#define armv94a_ext_table armv93a_ext_table
|
||||
#define armv95a_ext_table armv94a_ext_table
|
||||
|
||||
#define CDE_EXTENSIONS \
|
||||
ARM_ADD ("cdecp0", ARM_FEATURE_CORE_HIGH (ARM_EXT2_CDE | ARM_EXT2_CDE0)), \
|
||||
|
@ -32174,6 +32175,7 @@ static const struct arm_arch_option_table arm_archs[] =
|
|||
ARM_ARCH_OPT2 ("armv9.2-a", ARM_ARCH_V9_2A, FPU_ARCH_VFP, armv92a),
|
||||
ARM_ARCH_OPT2 ("armv9.3-a", ARM_ARCH_V9_2A, FPU_ARCH_VFP, armv93a),
|
||||
ARM_ARCH_OPT2 ("armv9.4-a", ARM_ARCH_V9_4A, FPU_ARCH_VFP, armv94a),
|
||||
ARM_ARCH_OPT2 ("armv9.5-a", ARM_ARCH_V9_5A, FPU_ARCH_VFP, armv95a),
|
||||
ARM_ARCH_OPT ("xscale", ARM_ARCH_XSCALE, FPU_ARCH_VFP),
|
||||
ARM_ARCH_OPT ("iwmmxt", ARM_ARCH_IWMMXT, FPU_ARCH_VFP),
|
||||
ARM_ARCH_OPT ("iwmmxt2", ARM_ARCH_IWMMXT2, FPU_ARCH_VFP),
|
||||
|
@ -32965,6 +32967,7 @@ static const cpu_arch_ver_table cpu_arch_ver[] =
|
|||
{TAG_CPU_ARCH_V9, ARM_ARCH_V9_2A},
|
||||
{TAG_CPU_ARCH_V9, ARM_ARCH_V9_3A},
|
||||
{TAG_CPU_ARCH_V9, ARM_ARCH_V9_4A},
|
||||
{TAG_CPU_ARCH_V9, ARM_ARCH_V9_5A},
|
||||
{-1, ARM_ARCH_NONE}
|
||||
};
|
||||
|
||||
|
|
|
@ -274,6 +274,7 @@ names are recognized:
|
|||
@code{armv9.2-a},
|
||||
@code{armv9.3-a},
|
||||
@code{armv9.4-a},
|
||||
@code{armv9.5-a},
|
||||
@code{iwmmxt},
|
||||
@code{iwmmxt2}
|
||||
and
|
||||
|
|
17
gas/testsuite/gas/arm/attr-march-armv9_5-a.d
Normal file
17
gas/testsuite/gas/arm/attr-march-armv9_5-a.d
Normal file
|
@ -0,0 +1,17 @@
|
|||
# name: check for armv9.5-a command line option settings
|
||||
# source: blank.s
|
||||
# as: -march=armv9.5-a
|
||||
# readelf: -A
|
||||
# This test is only valid on EABI based ports.
|
||||
# target: *-*-*eabi* *-*-nacl*
|
||||
|
||||
Attribute Section: aeabi
|
||||
File Attributes
|
||||
Tag_CPU_name: "9.5-A"
|
||||
Tag_CPU_arch: v9
|
||||
Tag_CPU_arch_profile: Application
|
||||
Tag_ARM_ISA_use: Yes
|
||||
Tag_THUMB_ISA_use: Thumb-2
|
||||
Tag_Advanced_SIMD_arch: NEON for ARMv8.1
|
||||
Tag_MPextension_use: Allowed
|
||||
Tag_Virtualization_use: TrustZone and Virtualization Extensions
|
5
gas/testsuite/gas/arm/bfloat16-armv9.5-a.d
Normal file
5
gas/testsuite/gas/arm/bfloat16-armv9.5-a.d
Normal file
|
@ -0,0 +1,5 @@
|
|||
#name: Verify Armv9.5-A implies Armv9.4-A features by checking bfloat16 is enabled
|
||||
#source: bfloat16.s
|
||||
#as: -mno-warn-deprecated -march=armv9.5-a+simd -I$srcdir/$subdir
|
||||
#objdump: -dr --show-raw-insn
|
||||
#...
|
|
@ -401,6 +401,7 @@
|
|||
#define ARM_ARCH_V9_2A ARM_ARCH_V9_1A
|
||||
#define ARM_ARCH_V9_3A ARM_ARCH_V9_2A
|
||||
#define ARM_ARCH_V9_4A ARM_ARCH_V9_3A
|
||||
#define ARM_ARCH_V9_5A ARM_ARCH_V9_4A
|
||||
|
||||
/* Some useful combinations: */
|
||||
#define ARM_ARCH_NONE ARM_FEATURE_ALL (0, 0, 0, 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue