Altivec strangeness?
Aldy Hernandez
aldyh@redhat.com
Sun Feb 24 18:16:00 GMT 2002
> 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.
More information about the Gcc
mailing list