From cd3c1cfde73ac946be218eaa5d1fdf4e0cb2d61b Mon Sep 17 00:00:00 2001 From: Stefan Schulze Frielinghaus Date: Thu, 7 Dec 2023 17:23:11 +0100 Subject: [PATCH] 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. --- 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 133492c5b19a..7cd1db57aec7 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) -- 2.47.2