Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt 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 Review URL: https://codereview.chromium.org/475273002 Cr-Commit-Position: refs/heads/master@{#289735} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289735 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information