[PATCH] D86855: Convert __m64 intrinsics to unconditionally use SSE2 instead of MMX instructions.
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 6 23:58:26 PST 2021
craig.topper added inline comments.
================
Comment at: clang/lib/Headers/mmintrin.h:1264
{
- return (__m64)__builtin_ia32_pcmpgtw((__v4hi)__m1, (__v4hi)__m2);
+ return (__m64)((__v4hi)__m1 > (__v4hi)__m2);
}
----------------
jyknight wrote:
> craig.topper wrote:
> > Same here
> This is a short, which is always signed, so it should be ok as written.
Yeah. I don't know why I wrote that now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86855/new/
https://reviews.llvm.org/D86855
More information about the cfe-commits
mailing list