question about AltiVec builtins

Ziemowit Laski
Tue May 11 01:16:00 GMT 2004

On 10 May, 2004, at 18.13, Aldy Hernandez wrote:

On Mon, May 10, 2004 at 05:50:09PM -0700, Fariborz Jahanian wrote:
On May 10, 2004, at 5:28 PM, Janis Johnson wrote:

Do scalar parameters to AltiVec builtins need to have exactly the 
type as the prototype, or promotion rules apply?  This test case 
2nd argument to vec_dst can be any integral type. This is a gcc bug.
Oh Paolo....
Actually, I suspect that the culprit here is altivec.h -- it really 
feed the 'const int' (literal) parameters to 
the el cheapo overload resolution should occur on the vector arguments 

Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477

More information about the Gcc mailing list