public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7442] AVX512FP16: Fix vcvt[u]si2sh runtime tests for Solaris
@ 2022-03-02  1:26 Hongyu Wang
  0 siblings, 0 replies; only message in thread
From: Hongyu Wang @ 2022-03-02  1:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:70fe5736c2935926b060fd3ce164838f9c4aadea

commit r12-7442-g70fe5736c2935926b060fd3ce164838f9c4aadea
Author: Hongyu Wang <hongyu.wang@intel.com>
Date:   Tue Mar 1 17:49:52 2022 +0800

    AVX512FP16: Fix vcvt[u]si2sh runtime tests for Solaris
    
    Use standard C type instead of __int64_t which doesn't work on Solaris.
    
    gcc/testsuite/ChangeLog:
    
            PR target/104724
            * gcc.target/i386/avx512fp16-vcvtsi2sh-1b.c: Use long long
            instead of __int64_t.
            * gcc.target/i386/avx512fp16-vcvtsi2sh64-1b.c: Ditto.
            * gcc.target/i386/avx512fp16-vcvtusi2sh-1b.c: Ditto.
            * gcc.target/i386/avx512fp16-vcvtusi2sh64-1b.c: Ditto.

Diff:
---
 gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh-1b.c    | 2 +-
 gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh64-1b.c  | 2 +-
 gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh-1b.c   | 2 +-
 gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh64-1b.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh-1b.c
index d9c9a853a17..7f7e6032e60 100644
--- a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh-1b.c
+++ b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh-1b.c
@@ -9,7 +9,7 @@
 
 void NOINLINE
 emulate_vcvtsi2sh(V512 *dest, V512 op1, 
-		  int value_32, __int64_t value_64, int bits)
+		  int value_32, long long value_64, int bits)
 {
   V512 v1,v2,v5,v6;
   unpack_ph_2twops(op1, &v1, &v2);
diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh64-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh64-1b.c
index 6f66a87a8e7..5bca1905f82 100644
--- a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh64-1b.c
+++ b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtsi2sh64-1b.c
@@ -9,7 +9,7 @@
 
 void NOINLINE
 emulate_vcvtsi2sh(V512 *dest, V512 op1, 
-		  int value_32, __int64_t value_64, int bits)
+		  int value_32, long long value_64, int bits)
 {
   V512 v1,v2,v5,v6;
   unpack_ph_2twops(op1, &v1, &v2);
diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh-1b.c
index d339f0a4043..e17579cfd3c 100644
--- a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh-1b.c
+++ b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh-1b.c
@@ -9,7 +9,7 @@
 
 void NOINLINE
 emulate_vcvtusi2sh(V512 *dest, V512 op1, 
-		   int value_32, __int64_t value_64, int bits)
+		   int value_32, long long value_64, int bits)
 {
   V512 v1,v2,v5,v6;
   unpack_ph_2twops(op1, &v1, &v2);
diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh64-1b.c b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh64-1b.c
index 20e711e1b0e..42726bd3d67 100644
--- a/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh64-1b.c
+++ b/gcc/testsuite/gcc.target/i386/avx512fp16-vcvtusi2sh64-1b.c
@@ -9,7 +9,7 @@
 
 void NOINLINE
 emulate_vcvtusi2sh(V512 *dest, V512 op1, 
-		   int value_32, __int64_t value_64, int bits)
+		   int value_32, long long value_64, int bits)
 {
   V512 v1,v2,v5,v6;
   unpack_ph_2twops(op1, &v1, &v2);


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

only message in thread, other threads:[~2022-03-02  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02  1:26 [gcc r12-7442] AVX512FP16: Fix vcvt[u]si2sh runtime tests for Solaris Hongyu Wang

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).