v3sf type and union types to reference elements
Dylan Cuthbert
dylan@q-games.com
Mon Aug 2 09:53:00 GMT 2004
Thanks for the very quick response.
Mmm.. should I add a new intrinsic type for v3sf then do you think? I need
it to behave almost exactly the same as a v4sf, ie. it is 128 bits wide, but
I want the type to use a different set of instructions which have faster
cycle times when using standard math, ie.
v3sf vec1, vec2, vec3;
vec1 = vec2 + vec3;
matches the v3sfadd3 pattern in the md file and executes instructions that
are a few cycles less than for the v4sf type.
Is there any info about what kind of stuff has been overhauled for 3.5?
Regards
-------------------------
Dylan Cuthbert.
"Paolo Bonzini" <bonzini@gnu.org> wrote in message
news:410E0ECB.5010902@gnu.org...
> > I cannot find any documentation referring to a v3sf type, are there
plans to
> > include it (or does it already exist) in a future version of gcc? I can
> > find docs for vec4f and vec2f.
>
> A lot of the vector support has been overhauled in GCC 3.5, but it is
> limited to vectors whose a number of elements is a power-of-two.
>
> Paolo
>
>
More information about the Gcc
mailing list