AltiVec in gcc-current: questions.

Daniel Egger degger@fhm.edu
Sat Aug 10 09:07:00 GMT 2002


Am Sam, 2002-08-10 um 09.57 schrieb Matt Thomas:

>          vmrghh dst,zero,src
 
> where dst is a vector unsigned int and src is a vector unsigned short.
> (dst could equally be a vector signed int).  But the builtins say
> that vmrg[hl]h only result in V8HI.

This is correct. The result of the vec_merge* operations is always the
same type as the arguments.

> This wouldn't be so bad if I could cast the vectors but the compiler
> seems to disallow that.

Where did that fail? Casting vectors should be fine...
 
-- 
Servus,
       Daniel



More information about the Gcc mailing list