[llvm-bugs] [Bug 20213] clang-cl doesn't support SSSE3
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 6 17:32:36 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=20213
Nico Weber <nicolasweber at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
CC| |nicolasweber at gmx.de
--- Comment #10 from Nico Weber <nicolasweber at gmx.de> ---
I think this is as fixed as it's going to get.
clang's model here is different from cl.exe's: You need to tell the compiler
that ssse3 is available (with -mssse3) and then both you and the compiler can
use ssse3 intrinsics. It's on you to only call functions in such TUs. (cl.exe
on the other hand never emits ssse3 instructions itself (maybe unles syou pass
/arch:avx, not sure), and you only need to check before explicit intrin calls.)
(There _is_
https://llvm.org/devmtg/2014-10/Slides/Christopher-Function%20Multiversioning%20Talk.pdf
as of a while ago, so you probably can do this on a per-function basis instead
of on a per-tu basis.)
--
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/20201107/4611e731/attachment.html>
More information about the llvm-bugs
mailing list