[Bug target/78102] [5/6/7 regression] GCC refuses to generate PCMPEQQ instruction for SSE4.1

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 25 09:22:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78102

--- Comment #12 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #11)
> A separate optab for equality compares would maybe work (if the difference
> between 4.1 and 4.2 is really equality vs. relational compares).
> vcond_eq (handling both signed/unsigned obviously).

Yes, as shown in [1] the difference is only in the availability of PCMPGTQ [SSE
4.2] besides PCMPEQQ [SSE4.1]. This is all we have for DImode...

[1] https://en.wikipedia.org/wiki/SSE4#SSE4.1


More information about the Gcc-bugs mailing list