From: Benjamin Kramer
Supports the GCC, OpenCL, AltiVec and NEON vector extensions.
-OpenCL vector types are created using ext_vector_type attribute. It -support for V.xyzw syntax and other tidbits as seen in OpenCL. An example -is: +OpenCL vector types are created using ext_vector_type attribute. It +support for V.xyzw syntax and other tidbits as seen in OpenCL. An +example is:
-@@ -404,10 +405,11 @@ float4 foo(float2 a, float2 b) {
Query for this feature with __has_extension(attribute_ext_vector_type).
+Query for this feature with +__has_extension(attribute_ext_vector_type).
-Giving -faltivec option to clang enables support for AltiVec vector syntax -and functions. For example:
+Giving -faltivec option to clang enables support for AltiVec vector +syntax and functions. For example:
@@ -474,11 +476,11 @@ specification.
- Operator -OpenCL -AltiVec -GCC -NEON +Operator +OpenCL +AltiVec +GCC +NEON []