<div dir="ltr"><div class="gmail_default" style><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Haha, I had not noticed that.. You're right, (b == a) returns a different result than (a == b)!</div>
<div style="font-family:verdana,sans-serif;font-size:small">Latest commit (b7f0e8ce59ff866894a8cdb33ce7d53cbfc737bf) fixes the issue for AVX and AVX2, but not SSE4.. It's strange that you cannot reproduce - I'm configuring Vc with:</div>
<div style><font face="verdana, sans-serif">cmake -DCMAKE_INSTALL_PREFIX=<..> -DBUILD_TESTING=OFF <..></font><br></div><div style="font-family:verdana,sans-serif;font-size:small"><br></div><div style="font-family:verdana,sans-serif;font-size:small">
Compiler version is "Ubuntu/Linaro 4.7.3-2ubuntu4" on a Linux Mint 14 with a E3-1280 v3. Also tested on icpc 14.0.2.</div><div style="font-family:verdana,sans-serif;font-size:small"><br></div><div style="font-family:verdana,sans-serif;font-size:small">
By the way, (b == a) produces the correct result for SSE4, too ..</div><div style="font-family:verdana,sans-serif;font-size:small">Georgios</div><div style="font-family:verdana,sans-serif;font-size:small"><br></div></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 12, 2014 at 2:17 PM, Matthias Kretz <span dir="ltr"><<a href="mailto:kretz@compeng.uni-frankfurt.de" target="_blank">kretz@compeng.uni-frankfurt.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class=""><br>
On Thursday 12 June 2014 14:01:01 Matthias Kretz wrote:<br>
> Anyway I'll use movemask(left) == movemask(right) to implement operator==<br>
> for AVX::Mask. This'll fix the problem.<br>
<br>
</div>The fix is committed. (<a href="http://code.compeng.uni-frankfurt.de/issues/684" target="_blank">http://code.compeng.uni-frankfurt.de/issues/684</a>) Please<br>
let me know if you continue to have problems.<br>
<br>
Cheers,<br>
Matthias<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
─────────────────────────────────────────────────────────────<br>
Dipl.-Phys. Matthias Kretz<br>
<br>
Web: <a href="http://compeng.uni-frankfurt.de/?mkretz" target="_blank">http://compeng.uni-frankfurt.de/?mkretz</a><br>
<br>
SIMD easy and portable: <a href="http://compeng.uni-frankfurt.de/?vc" target="_blank">http://compeng.uni-frankfurt.de/?vc</a><br>
─────────────────────────────────────────────────────────────<br>
_______________________________________________<br>
Vc mailing list<br>
<a href="mailto:Vc@compeng.uni-frankfurt.de">Vc@compeng.uni-frankfurt.de</a><br>
<a href="https://compeng.uni-frankfurt.de/mailman/listinfo/vc" target="_blank">https://compeng.uni-frankfurt.de/mailman/listinfo/vc</a><br>
</div></div></blockquote></div><br></div>