[LLVMbugs] [Bug 22283] suboptimal AVX splat

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 17 09:09:36 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22283

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Sanjay Patel <spatel+llvm at rotateright.com> ---
(In reply to comment #1)
> The problem is that vbroadcastsd only supports splatting loads at AVX1, its
> AVX2 that adds support for splatting from xmm registers.

Wow, I never noticed that hole before. Another clause in the X86 Employment
Act®.

In any case, patch to canonicalize all splats as build vectors checked in, so
we at least improve the load version for AVX1:
http://reviews.llvm.org/rL229511

-- 
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/20150217/f4f6317b/attachment.html>


More information about the llvm-bugs mailing list