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: 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.


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