[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2012-09-05 Thread nenakhov.sergey at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43122 SergeyN nenakhov.sergey at gmail dot com changed: What|Removed |Added CC||nenakhov.sergey

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2012-09-05 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43122 --- Comment #7 from Marc Glisse glisse at gcc dot gnu.org 2012-09-05 09:32:11 UTC --- http://gcc.gnu.org/ml/gcc-patches/2012-08/msg02098.html

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2012-09-05 Thread nenakhov.sergey at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43122 --- Comment #8 from SergeyN nenakhov.sergey at gmail dot com 2012-09-05 09:42:58 UTC --- (In reply to comment #7) http://gcc.gnu.org/ml/gcc-patches/2012-08/msg02098.html That's nice, but I would really prefer to define my own comparison

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2012-09-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43122 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2012-09-05 Thread nenakhov.sergey at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43122 --- Comment #10 from SergeyN nenakhov.sergey at gmail dot com 2012-09-05 12:24:49 UTC --- (In reply to comment #9) Then put it into a class and add overloaded comparison operators for the wrapper class. That is the same thing as with

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2010-02-19 Thread paolo dot carlini at oracle dot com
-- paolo dot carlini at oracle dot com changed: What|Removed |Added Severity|blocker |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43122

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2010-02-19 Thread pinskia at gmail dot com
--- Comment #1 from pinskia at gmail dot com 2010-02-19 16:05 --- Subject: Re: New: g++ does not allow overloading operators for sse types (__m128, __m128d) Well there is already a builtin operator+ for vector types with the generic vector support. Sent from my iPhone On Feb 19,

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2010-02-19 Thread mr dot nuke dot me at gmail dot com
--- Comment #2 from mr dot nuke dot me at gmail dot com 2010-02-19 18:34 --- I'm assuming you are referring to fvec.h and F32vec4. While I will apply this workaround (one of many many workarounds to get fancy C++ code to work with g++) it still doesn't solve the underlying problem, and

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2010-02-19 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-02-19 18:51 --- FYI, this is 15.3/6. __m128 isn't a class nor an enumeration. Maybe it is for the other compilers as implementation detail. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug c++/43122] g++ does not allow overloading operators for sse types (__m128, __m128d)

2010-02-19 Thread mr dot nuke dot me at gmail dot com
--- Comment #5 from mr dot nuke dot me at gmail dot com 2010-02-19 19:15 --- Which means there is already an operator+ defined which is done using the generic GNU vector support. If you remove your definition of operator+, it works without it. I could have sworn I saw error: