patch: fix vec_any_numeric
Aldy Hernandez
aldyh@redhat.com
Sun Apr 18 01:10:00 GMT 2004
No clue how this has survived years with no one noticing.
Mark. I would like permission to commit this thinko to the 3.4
branch. It doesn't affect anything but altivec, and it's in a user
include file. Without this vec_any_numeric is unusable (not that
anyone ever uses vec_any_numeric in real code, but anyways...).
Committed to mainline.
Cheers.
Aldy
* config/rs6000/altivec.h (vec_any_numeric): Correct typo in
__unn_args_eq.
Index: config/rs6000/altivec.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/altivec.h,v
retrieving revision 1.31
diff -u -p -r1.31 altivec.h
--- config/rs6000/altivec.h 13 Apr 2004 16:57:19 -0000 1.31
+++ config/rs6000/altivec.h 18 Apr 2004 01:08:07 -0000
@@ -10977,7 +10977,7 @@ __ch (__bin_args_eq (vector float, (a1),
__builtin_altivec_compiletime_error ("vec_any_nlt"))
#define vec_any_numeric(a1) \
-__ch (__unn_args_eq (vector float, (a1)), \
+__ch (__un_args_eq (vector float, (a1)), \
__builtin_altivec_vcmpeqfp_p (__CR6_EQ_REV, (a1), (a1)), \
__builtin_altivec_compiletime_error ("vec_any_numeric"))
More information about the Gcc-patches
mailing list