[cfe-dev] Native vectors types: GCC vs NEON

Domagoj Saric domagoj.saric at littleendian.com
Wed Oct 23 07:15:09 PDT 2013


Is there an advantage to explicitly using the neon_vector_type over 
__vector_size__ when targeting ARM CPUs?
Because:
* according to the documentation:
http://clang.llvm.org/docs/LanguageExtensions.html#vectors-and-extended-vectors
neon_vector_type does not support subscripting while the GCC/__vector_size__ 
style vectors do
* using __vector_size__ everywhere reduces the amount of platform specific code...


-- 
Domagoj Saric
Software Architect
www.LittleEndian.com



More information about the cfe-dev mailing list