Another AltiVec problem

Dale Johannesen dalej@apple.com
Wed Mar 13 16:54:00 GMT 2002


On Wednesday, March 13, 2002, at 04:31 PM, Daniel Egger wrote:

> Hija,
>   printf ("%f %f %f %f\n", storage[0], storage[1], storage[2],
> storage[3]);
>         lfs 1,storage.0@l(10)
>         la 3,.LC3@l(3)
>         lfs 4,12(11)
>         lfs 2,4(11)
>         lfs 3,8(11)
>         creqv 6,6,6
>         bl printf

printf is a varargs function, so the arguments need to be passed
in int registers.  The Altivec bits of it look OK and are identical
on Darwin.



More information about the Gcc mailing list