This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another AltiVec problem
- From: Dale Johannesen <dalej at apple dot com>
- To: Daniel Egger <degger at fhm dot edu>
- Cc: Dale Johannesen <dalej at apple dot com>, Aldy Hernandez <aldyh at redhat dot com>, GCC Developer Mailinglist <gcc at gcc dot gnu dot org>
- Date: Wed, 13 Mar 2002 16:54:38 -0800
- Subject: 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.