------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2005-01-12 09:44 ------- What is the status on this issue? I.e. +,-,*,/ on vector types for C++? Note that trying to work around this missing feature with operator overloading like
v4sf operator+(const v4sf& a, const v4sf& b) { return __builtin_ia32_addps(a, b); } (which would be again machine specific, but anyhow) doesn't work: t.c:3: error: 'float __vector__ operator+(const float __vector__&, const float __vector__&)' must have an argument of class or enumerated type. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10611