[PATCH] D45616: [X86] Lower _mm[256|512]_cmp[.]_mask intrinsics to native llvm IR

Nikita Astafev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 8 16:39:34 PST 2018


nastafev added a comment.

Thanks, I agree with @andrew.w.kaylor and his interpretation.
I was trying to convey the message that the programmer operating with intrinsics relies on the semantics they carry because there's no other way to express that semantics. Re-optimizing what's already optimized (hand-written code with intrinsics) may be nice, but not critical in his (my) view, whereas violating semantics defeats the purpose - I could have written that same loop around generic compare myself if that was enough for my purposes. I would not insist on the way you resolve this, this is not urgent, but I do believe this is a regression and it deserves a fix.


Repository:
  rC Clang

https://reviews.llvm.org/D45616





More information about the cfe-commits mailing list