[Bug c++/10611] operations on vector mode not recognized in C++
rguenth at tat dot physik dot uni-tuebingen dot de
gcc-bugzilla@gcc.gnu.org
Wed Jan 12 09:44:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list