aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/s390
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2023-12-07 17:23:11 +0100
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2023-12-07 17:23:11 +0100
commitcd3c1cfde73ac946be218eaa5d1fdf4e0cb2d61b (patch)
tree3242c3f1cd67a3bf62cacffc7d39efacf9a1f385 /gcc/config/s390
parent2125710245d64ff6edff7ebd339caf4698fdd89d (diff)
downloadgcc-cd3c1cfde73ac946be218eaa5d1fdf4e0cb2d61b.zip
gcc-cd3c1cfde73ac946be218eaa5d1fdf4e0cb2d61b.tar.gz
gcc-cd3c1cfde73ac946be218eaa5d1fdf4e0cb2d61b.tar.bz2
s390: Fix expansion of vec_step
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.
Diffstat (limited to 'gcc/config/s390')
-rw-r--r--gcc/config/s390/vecintrin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/s390/vecintrin.h b/gcc/config/s390/vecintrin.h
index 133492c..7cd1db5 100644
--- a/gcc/config/s390/vecintrin.h
+++ b/gcc/config/s390/vecintrin.h
@@ -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)