Commit e4a0e516 authored by Lukas Renelt's avatar Lukas Renelt

add missing overloads

parent 90e84dbc
Pipeline #10507 passed with stage
in 9 minutes and 7 seconds
......@@ -449,6 +449,10 @@ namespace VCL_NAMESPACE {
DUNE_VECTORCLASS_OPASSIGN_V(Vec2q, >>);
DUNE_VECTORCLASS_OPINFIX_VV(Vec2q, >>);
// these are necessary to resolve ambiguous overloads.
inline Vec4fb operator==(Vec4fb a, Vec4fb b) { return !(a ^ b); }
inline Vec2db operator==(Vec2db a, Vec2db b) { return !(a ^ b); }
#endif
#if MAX_VECTOR_SIZE >= 256
......@@ -489,11 +493,9 @@ namespace VCL_NAMESPACE {
DUNE_VECTORCLASS_OPASSIGN_V(Vec4q, >>);
DUNE_VECTORCLASS_OPINFIX_VV(Vec4q, >>);
#if INSTRSET < 7 // no native AVX
// these are necessary to resolve ambiguous overloads.
inline Vec8fb operator==(Vec8fb a, Vec8fb b) { return !(a ^ b); }
inline Vec4db operator==(Vec4db a, Vec4db b) { return !(a ^ b); }
#endif // INSTRSET < 7
#endif // MAX_VECTOR_SIZE >= 256
#if MAX_VECTOR_SIZE >= 512
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment