[llvm-bugs] [Bug 35681] [x86] large constant offsets used for memory accesses in loop

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 5 15:52:59 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=35681

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Fixed By Commit(s)|                            |324289
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
           See Also|                            |https://bugs.llvm.org/show_
                   |                            |bug.cgi?id=36180

--- Comment #15 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Should be fixed with:
https://reviews.llvm.org/rL324289

        xorl    %eax, %eax
        .p2align        4, 0x90
LBB0_1:                              
        movupd  (%rsi,%rax,8), %xmm0
        movupd  (%rdi,%rax,8), %xmm1
        maxpd   %xmm1, %xmm0
        movupd  %xmm0, (%rdi,%rax,8)
        addq    $2, %rax
        cmpq    $65536, %rax            ## imm = 0x10000
        jne     LBB0_1
        retq

-----------------------------------------------------------------------------

Note that there is a potentially much bigger problem for some Intel uarch with
AVX code and indexed addressing tracked by bug 36180.

-- 
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/20180205/cfd1ed01/attachment.html>


More information about the llvm-bugs mailing list