This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stricter implicit conversions between vectors, revised patch


Paolo Bonzini wrote:
[...] why __builtin_altivec_vcmpgefp does not return a vector bool int.

Ah, so that applies for vcmpgefp as well, ok.


So, I think your patch is correct, except that you also have to change the corresponding C++ code, which is quite wrong (predicates are defined as templates, and this has let a wrong name through):

 __altivec_binary_pred(vec_cmple,
-  __builtin_altivec_cmpge (a2, a1))
+  __builtin_vec_cmpge (a2, a1))

I did wonder about that one, but failed to mention it in the mail :-) Will fix.

This patch exhibits no changes in testsuite results with all default
languages on x86_64-unknown-linux-gnu.  I haven't quite reached this
on powerpc64-unknown-linux-gnu but I think the only outstanding problem
is due to this vcmpgefp issue.

What is this problem?

Given what you say, I believe there is no problem. I'll run the testsuite again; it looks like we are finally there.

Thanks,
Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]