These tests were configured to try assembling whenever the assembler
supports sme2. Add dg-do directives to restrict this assemblers that
support sme-lutv2 (and otherwise just compile the test).
gcc/testsuite/ChangeLog:
* gcc.target/aarch64/sme2/acle-asm/svluti4_zt_1.c: Add dg-do.
* gcc.target/aarch64/sme2/acle-asm/svwrite_lane_zt_1.c: Ditto.
* gcc.target/aarch64/sme2/acle-asm/svwrite_zt_1.c: Ditto.
* lib/target-supports.exp: Add sme-lutv2 to exts_sve2.
+/* { dg-do assemble { target aarch64_asm_sme-lutv2_ok } } */
+/* { dg-do compile { target { ! aarch64_asm_sme-lutv2_ok } } } */
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
/* LUTI4 (four registers, 8-bit)
+/* { dg-do assemble { target aarch64_asm_sme-lutv2_ok } } */
+/* { dg-do compile { target { ! aarch64_asm_sme-lutv2_ok } } } */
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
/* MOVT (vector to table)
+/* { dg-do assemble { target aarch64_asm_sme-lutv2_ok } } */
+/* { dg-do compile { target { ! aarch64_asm_sme-lutv2_ok } } } */
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
/* MOVT (vector to table)
set exts_sve2 {
"sme-f8f16" "sme-f8f32"
"sme-b16b16" "sme-f16f16" "sme-i16i64" "sme" "sme2" "sme2p1"
- "ssve-fp8dot2" "ssve-fp8dot4" "ssve-fp8fma" "sve-bfscale"
+ "ssve-fp8dot2" "ssve-fp8dot4" "ssve-fp8fma" "sve-bfscale" "sme-lutv2"
}
foreach { aarch64_ext } $exts {