[cfe-dev] Clang doesn't support Logical Operator supported in GCC Vector Extension?
yinma at codeaurora.org
Fri Oct 21 11:03:00 PDT 2011
Clang supports GCC Vector Extension. However GCC Vector Extension supports
Logical operator like <, >
If I try to compile the code like
typedef float float4 __attribute__((ext_vector_type(4)));
a = b > c;
the clang will
used type 'int __attribute__((ext_vector_type(4)))' where arithmetic,
pointer, or vector type is required.
But if the code is
a = b * c;
Everything works. Do you know why vector logical operator is not supported
by this time?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev