From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Egger To: Matt Thomas Cc: GCC Developer Mailinglist Subject: Re: AltiVec in gcc-current: questions. Date: Sat, 10 Aug 2002 09:07:00 -0000 Message-id: <1028977308.8173.15.camel@sonja.de.interearth.com> References: <5.1.0.14.2.20020810000144.04175008@3am-software.com> X-SW-Source: 2002-08/msg00570.html 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