https://bugs.llvm.org/show_bug.cgi?id=20213
Nico Weber <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
CC| |[email protected]
--- Comment #10 from Nico Weber <[email protected]> ---
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs