[llvm-bugs] [Bug 44781] Poor use of SIMD reduction
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jul 1 01:16:52 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=44781
Simon Pilgrim <llvm-dev at redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed By Commit(s)| |82de01895455
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
(In reply to Simon Pilgrim from comment #3)
> We can use ptest for this much more efficiently: https://godbolt.org/z/wDH426
>
> .LCPI0_0:
> .quad 1095216660735 # 0xff000000ff
> .quad 1095216660735 # 0xff000000ff
> _Z5checkRK3Box: # @_Z5checkRK3Box
> vmovdqu (%rdi), %xmm0
> vptest .LCPI0_0(%rip), %xmm0
> sete %al
> retq
Resolving - we use PTEST since 82de01895455
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200701/475034d4/attachment.html>
More information about the llvm-bugs
mailing list