AARCH64_ARCH("armv8.4-a", generic, V8_4A, 8, (V8_3A, F16FML, DOTPROD, FLAGM))
AARCH64_ARCH("armv8.5-a", generic, V8_5A, 8, (V8_4A, SB, SSBS, PREDRES))
AARCH64_ARCH("armv8.6-a", generic, V8_6A, 8, (V8_5A, I8MM, BF16))
-AARCH64_ARCH("armv8.7-a", generic, V8_7A, 8, (V8_6A, LS64))
+AARCH64_ARCH("armv8.7-a", generic, V8_7A, 8, (V8_6A))
AARCH64_ARCH("armv8.8-a", generic, V8_8A, 8, (V8_7A, MOPS))
AARCH64_ARCH("armv8-r", generic, V8R , 8, (V8_4A))
AARCH64_ARCH("armv9-a", generic, V9A , 9, (V8_5A, SVE2))
/* { dg-do compile } */
-/* { dg-additional-options "-march=armv8.7-a" } */
+/* { dg-additional-options "-march=armv8.7-a+ls64" } */
/* Check that ls64 builtins can be invoked using a preprocesed testcase
without triggering bogus builtin warnings, see PR110132.
#pragma GCC push_options
#pragma GCC target ("arch=armv8.7-a")
-#ifndef __ARM_FEATURE_LS64
-#error "__ARM_FEATURE_LS64 is not defined but should be!"
+#ifdef __ARM_FEATURE_LS64
+#error "__ARM_FEATURE_LS64 is defined but should not be!"
#endif
#pragma GCC pop_options