From f27c0b449face6052e3b2fa92d77acc17522cb8e Mon Sep 17 00:00:00 2001 From: Przemyslaw Wirkus Date: Wed, 11 Nov 2020 15:28:48 +0000 Subject: [PATCH] aarch64: Allow LS64 feature with Armv8.6 Allow users to use LS64 extension with Armv8.6 architecture. --- gas/ChangeLog | 4 ++++ gas/testsuite/gas/aarch64/ls64.s | 2 +- opcodes/ChangeLog | 4 ++++ opcodes/aarch64-tbl.h | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 11f17d41457..854e58362c3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2020-11-11 Przemyslaw Wirkus + + * testsuite/gas/aarch64/ls64.s: Update test. + 2020-11-09 Denys Zagorui * config/obj-elf (obj_elf_init_stab_section): Improve diff --git a/gas/testsuite/gas/aarch64/ls64.s b/gas/testsuite/gas/aarch64/ls64.s index eb1607d0d26..61164182d16 100644 --- a/gas/testsuite/gas/aarch64/ls64.s +++ b/gas/testsuite/gas/aarch64/ls64.s @@ -1,5 +1,5 @@ /* Atomic 64-byte load/store instructions. */ -.arch armv8.7-a+ls64 +.arch armv8.6-a+ls64 /* Single-copy Atomic 64-byte Load. */ ld64b x0, [x1] diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 3b7354c5f21..d00e549addf 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2020-11-11 Przemyslaw Wirkus + + * aarch64-tbl.h: Enable -march=armv8.6-a+ls64. + 2020-11-09 Spencer E. Olson * pru-opc.c: Add opcode description for LMBD (left-most bit diff --git a/opcodes/aarch64-tbl.h b/opcodes/aarch64-tbl.h index a54b9683919..2b409dc57f3 100644 --- a/opcodes/aarch64-tbl.h +++ b/opcodes/aarch64-tbl.h @@ -2421,7 +2421,7 @@ static const aarch64_feature_set aarch64_feature_v8_r = static const aarch64_feature_set aarch64_feature_csre = AARCH64_FEATURE (AARCH64_FEATURE_CSRE, 0); static const aarch64_feature_set aarch64_feature_ls64 = - AARCH64_FEATURE (AARCH64_FEATURE_V8_7 | AARCH64_FEATURE_LS64, 0); + AARCH64_FEATURE (AARCH64_FEATURE_V8_6 | AARCH64_FEATURE_LS64, 0); #define CORE &aarch64_feature_v8 #define FP &aarch64_feature_fp -- 2.30.2