Make mve_fp_fpu[12].c accept single or double precision FPU

This tests currently expect a directive containing .fpu fpv5-sp-d16
and thus may fail if the test is executed for instance with
-march=armv8.1-m.main+mve.fp+fp.dp

This patch accepts either fpv5-sp-d16 or fpv5-d16 to avoid the failure.

2023-06-28  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/testsuite/
	* gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c: Fix .fpu
	scan-assembler.
	* gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c: Likewise.
This commit is contained in:
Christophe Lyon 2023-06-28 09:19:25 +00:00 committed by Christophe Lyon
parent 95cd9913db
commit c7e87e8243
2 changed files with 2 additions and 2 deletions

View file

@ -12,4 +12,4 @@ foo1 (int8x16_t value)
return b;
}
/* { dg-final { scan-assembler "\.fpu fpv5-sp-d16" } } */
/* { dg-final { scan-assembler "\.fpu fpv5(-sp|)-d16" } } */

View file

@ -12,4 +12,4 @@ foo1 (int8x16_t value)
return b;
}
/* { dg-final { scan-assembler "\.fpu fpv5-sp-d16" } } */
/* { dg-final { scan-assembler "\.fpu fpv5(-sp|)-d16" } } */