forked from OSchip/llvm-project
[AArch64] armv8-A doesn't have LSE.
r288279 mistakenly added it to all arches, but it's only available from v8.1 onwards. The testcase is awkward, because (I suspect) of PR32873. Spotted by inspection. llvm-svn: 301890
This commit is contained in:
parent
5508ffaef2
commit
899a75cefe
|
@ -21,7 +21,7 @@ AARCH64_ARCH("invalid", AK_INVALID, nullptr, nullptr,
|
|||
AARCH64_ARCH("armv8-a", AK_ARMV8A, "8-A", "v8", ARMBuildAttrs::CPUArch::v8_A,
|
||||
FK_CRYPTO_NEON_FP_ARMV8,
|
||||
(AArch64::AEK_CRC | AArch64::AEK_CRYPTO | AArch64::AEK_FP |
|
||||
AArch64::AEK_SIMD | AArch64::AEK_LSE))
|
||||
AArch64::AEK_SIMD))
|
||||
AARCH64_ARCH("armv8.1-a", AK_ARMV8_1A, "8.1-A", "v8.1a",
|
||||
ARMBuildAttrs::CPUArch::v8_A, FK_CRYPTO_NEON_FP_ARMV8,
|
||||
(AArch64::AEK_CRC | AArch64::AEK_CRYPTO | AArch64::AEK_FP |
|
||||
|
|
|
@ -36,6 +36,14 @@
|
|||
# CHECK: error: instruction requires: ras
|
||||
# CHECK: esb
|
||||
|
||||
// PR32873: without extra features, '.arch' is currently ignored.
|
||||
// Add an unrelated feature to accept the directive.
|
||||
.arch armv8+crc
|
||||
casa w5, w7, [x19]
|
||||
|
||||
# CHECK: error: instruction requires: lse
|
||||
# CHECK: casa w5, w7, [x19]
|
||||
|
||||
.arch armv8.1-a+nolse
|
||||
casa w5, w7, [x20]
|
||||
|
||||
|
|
Loading…
Reference in New Issue