This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec strangeness?
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Daniel Egger <degger at fhm dot edu>
- Cc: GCC Developer Mailinglist <gcc at gcc dot gnu dot org>
- Date: Mon, 25 Feb 2002 13:13:35 +1100
- Subject: Re: Altivec strangeness?
> That's no much shorter than
> const vector short shortones = (vector short int){1,1,1,1,1,1,1,1};
> globally defined.
sounds good.
> For a function which is called a few million times per second runtime
> it makes a lot of difference whether a constant vector is loaded
load from "shortones" then. it will be less worse.
> I hope you don't mind if I fool a bit around with code generation
> now. :)
not at all! be my guest.
and keep the bug reports coming.
--
Aldy Hernandez E-mail: aldyh@redhat.com
Professional Gypsy Lost in Australia
Red Hat, Inc.