This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]