[llvm-bugs] [Bug 11937] Codegen fails on the llvm.x86.mmx.pmovmskb intrinsic if the target does not support SSE

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 15 10:42:52 PDT 2020


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

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

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

--- Comment #5 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
(In reply to Duncan Sands from comment #3)
> GCC handles this using the target function attribute, as in:
>   int sse2_func (void) __attribute__ ((__target__ ("sse2")));

Resolving ancient bug - clang has supported gcc style target attributes for
some time:

https://clang.llvm.org/docs/AttributeReference.html#target

-- 
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/20200615/57165165/attachment.html>


More information about the llvm-bugs mailing list