[llvm-bugs] [Bug 20072] don't know how to split avx.storeu.ps.256 operand

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 12 04:37:57 PST 2016


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

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |llvm-dev at redking.me.uk
         Resolution|---                         |FIXED

--- Comment #4 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
X86 builtin feature flags were added in 3.8:


clang -c -march=athlon64

<source>:4:15: error: '__builtin_ia32_storeups256' needs target feature avx
void test() { __builtin_ia32_storeups256(0, a); }
^
1 error generated.
Compiler exited with result code 1



clang -c -march=athlon64 -mavx

test():                               # @test()
        pushq   %rbp
        movq    %rsp, %rbp
        vmovaps a(%rip), %ymm0
        vmovups %ymm0, 0
        popq    %rbp
        vzeroupper
        retq

-- 
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/20161112/72652726/attachment.html>


More information about the llvm-bugs mailing list