]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: aarch64: state pr123775.c requirements
authorAlexandre Oliva <oliva@adacore.com>
Thu, 5 Feb 2026 02:53:11 +0000 (23:53 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 5 Feb 2026 02:54:34 +0000 (23:54 -0300)
The execution testcase requires sve2 and 128-bit sve hardware, but it
doesn't state those requiremnets.  I'm think the latter is implied by
the former, but I'm not entirely sure, so I'm requiring both
explicitly.

for  gcc/testsuite/ChangeLog

PR middle-end/123775
* gcc.target/aarch64/sve2/pr123775.c: Add sve128 and sve2 hw
requirements.

gcc/testsuite/gcc.target/aarch64/sve2/pr123775.c

index ba292045a1857cd1bf2b661bd333f3f687b33922..001c3e2cf71bc136a3228c060814dcd707e3db88 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do run } */
+/* { dg-do run { target { aarch64_sve128_hw && aarch64_sve2_hw } } } */
 /* { dg-additional-options "-O3 -march=armv9-a+sve2 -msve-vector-bits=128 --param aarch64-autovec-preference=sve-only" } */
 
 int main(int argc, char *argv[]) {