This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another AltiVec problem



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]