[cfe-dev] On which option should vector operator ? : depend?

Jochen Wilhelmy j.wilhelmy at arcor.de
Wed Sep 22 01:09:11 PDT 2010


Hi!

I have a new idea: the vector operator ? : should depend on no option at 
all,
because options like Altivec or OpenCL enable language extensions.
But vectors are created using e.g.
typedef float __attribute__((ext_vector_type(4))) float4;
Therefore if you have some vectors the operators +, -, *, / work and also
the operator ? : should work.

-Jochen




More information about the cfe-dev mailing list