This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: front end changes for altivec
Aldy Hernandez <aldyh@cygnus.com> writes:
>> The answer from some quarters might be "vector int<4>" or "vector<4> int",
>> but this adds complications to the C grammar I don't really want there
>> since > can be part of a constant expression (so if going that way then do
>> as many as possible of defining disambiguating rules by reference to
>> existing practice, proving the existence or nonexistence of ambiguous
>> cases, describing how the parsing should be implemented). Or use
>> "vector(4)". Or add some other way of specifying a non-default vector
>
> i've thought about this some more.
>
> do we really need to specify a vector size? simd architectures
> generally have a specific vector size, 64bits for sse* and 128bits for
> altivec.
SSE is 128 bits.
But I agree, we should find a general solution!
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj