0
Files
src/skia
thakis@chromium.org a8b437de53 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
2014-08-15 00:43:19 +00:00
..
2014-08-08 06:45:57 +00:00
2014-08-14 14:06:33 +00:00
2014-08-07 23:43:48 +00:00
2014-08-14 14:06:33 +00:00
2014-08-14 14:06:33 +00:00

This is a copy of the Skia source tree. In the original repository, the include
directories and the "corecg" directories are separated out. On top of
  libs/graphics -> skia
we have the following mappings from source repository to our tree:
  include/corecg -> skia/include/corecg
  include/graphics -> skia/include
  libs/corecg -> skia/corecg

platform/* are our own files that provide extra functionality we need our
Skia to implement.

DO NOT CHANGE THE SKIA FILES IN OUR TREE. These will be overwritten when we
sync to newer versions of Skia. The exception is platform/

THE EXCEPTION IS include/corecg/SkUserConfig.h which are the application's
definition of its options and environment. This file must be manually merged
with any changes in the Skia tree so that our options are preserved and we
also pick up any important changes they make.

 -- brettw@google.com, 28 December 2006