public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2163] Make mve_fp_fpu[12].c accept single or double precision FPU
@ 2023-06-28 13:23 Christophe Lyon
  0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2023-06-28 13:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c7e87e82435b918084f305386b12b8fbcdcf3307

commit r14-2163-gc7e87e82435b918084f305386b12b8fbcdcf3307
Author: Christophe Lyon <christophe.lyon@linaro.org>
Date:   Wed Jun 28 09:19:25 2023 +0000

    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.

Diff:
---
 gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c | 2 +-
 gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c
index e375327fb97..8358a616bb5 100644
--- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c
+++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c
@@ -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" }  } */
diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c
index 1fca1100cf0..5dd2feefc35 100644
--- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c
+++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c
@@ -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" }  } */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-28 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-28 13:23 [gcc r14-2163] Make mve_fp_fpu[12].c accept single or double precision FPU Christophe Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).