DescriptionAttempt to let skia's SSE files build with clang-cl.
cl.exe can use intrinsics (like e.g. _mm_cvtsi128_si32()) even if arch
targetted by the compiler doesn't support the SSE level needed by the intrinsic.
clang (and gcc) can't do this, because it converts intrinsics into general
LLVM operations, and the LLVM bitcode is then translated back into assembly
later on, based on the target arch.
So explicitly enable SSSE3 and SSE4 when using clang-cl, so that the intrinsics
compile.
(It's unfortunate that clang-cl deviates fairly heavily from cl in this regard.
But this is very difficult to change, and it's the only larger deviation so
far.)
BUG=82385
R=rnk@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289735
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|