[Bug target/40009] altivec __builtin_vec_ctu has wrong tyes

bonzini at gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 3 14:00:00 GMT 2009



------- Comment #7 from bonzini at gnu dot org  2009-05-03 14:00 -------
> Ok, so the builtins should have a proper, but opaque vector type (like for
> VEC_CTU it should be an unsigned vector type, not a signed one).

No, there's no reason to have >1 opaque vector type for a single mode (or even
for a single width).

BTW, the opaque vector types were actually invented for SPE, and only later
recycled for the implementation of Altivec.

> Nonzero in a VECTOR_TYPE if the frontends should not emit warnings
> about missing conversions to other vector types of the same size.

Yes, will commit a patch to change it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40009



More information about the Gcc-bugs mailing list