public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-9927] IBM Z: Fix vector intrinsics vec_double and vec_floate
@ 2021-06-17  9:26 Marius Hillenbrand
  0 siblings, 0 replies; only message in thread
From: Marius Hillenbrand @ 2021-06-17  9:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:66d838e249814dbe731ee8d983d63dedfa4ecffa

commit r10-9927-g66d838e249814dbe731ee8d983d63dedfa4ecffa
Author: Marius Hillenbrand <mhillen@linux.ibm.com>
Date:   Wed Jun 16 18:26:48 2021 +0200

    IBM Z: Fix vector intrinsics vec_double and vec_floate
    
    Fix the mapping of vec_double and vec_floate to builtins.
    
    gcc/ChangeLog:
    
            PR target/100871
            * config/s390/vecintrin.h (vec_doublee): Fix to use
              __builtin_s390_vflls.
            (vec_floate): Fix to use __builtin_s390_vflrd.
    
    (cherry picked from commit a4fc63e0c3c6c7b895225c883137d152743be7fc)

Diff:
---
 gcc/config/s390/vecintrin.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/s390/vecintrin.h b/gcc/config/s390/vecintrin.h
index 8ef4f44bb34..6022aded6bb 100644
--- a/gcc/config/s390/vecintrin.h
+++ b/gcc/config/s390/vecintrin.h
@@ -109,8 +109,8 @@ __lcbb(const void *ptr, int bndry)
 #define vec_rint(X)   __builtin_s390_vfi((X), 0, 0)
 #define vec_roundc(X) __builtin_s390_vfi((X), 4, 0)
 #define vec_round(X)  __builtin_s390_vfi((X), 4, 4)
-#define vec_doublee(X) __builtin_s390_vfll((X))
-#define vec_floate(X) __builtin_s390_vflr((X), 0, 0)
+#define vec_doublee(X) __builtin_s390_vflls((X))
+#define vec_floate(X) __builtin_s390_vflrd((X), 0, 0)
 #define vec_load_len_r(X,L)				\
   (__vector unsigned char)__builtin_s390_vlrlr((L),(X))
 #define vec_store_len_r(X,Y,L) \


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

only message in thread, other threads:[~2021-06-17  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17  9:26 [gcc r10-9927] IBM Z: Fix vector intrinsics vec_double and vec_floate Marius Hillenbrand

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