]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
s390: Fix expansion of vec_step
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Thu, 7 Dec 2023 16:23:11 +0000 (17:23 +0100)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Thu, 7 Dec 2023 16:23:11 +0000 (17:23 +0100)
Add missing "s390" while expanding vec_step to __builtin_s390_vec_step.

gcc/ChangeLog:

* config/s390/vecintrin.h (vec_step): Expand vec_step to
__builtin_s390_vec_step.

gcc/config/s390/vecintrin.h

index 133492c5b19a3bb81dbf66200f771de4423aff04..7cd1db57aec75ddad3c7a7253112b05d654f4439 100644 (file)
@@ -59,8 +59,8 @@ along with GCC; see the file COPYING3.  If not see
                                    | __VEC_CLASS_FP_INFINITY)
 
 /* This also accepts a type for its parameter, so it is not enough
-   to #define vec_step to __builtin_vec_step.  */
-#define vec_step(x) __builtin_vec_step (* (__typeof__ (x) *) 0)
+   to #define vec_step to __builtin_s390_vec_step.  */
+#define vec_step(x) __builtin_s390_vec_step (* (__typeof__ (x) *) 0)
 
 static inline int
 __lcbb(const void *ptr, int bndry)