diff options
author | blr.bmlab@gmail.com <blr.bmlab@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 16:17:34 +0000 |
---|---|---|
committer | blr.bmlab@gmail.com <blr.bmlab@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-13 16:17:34 +0000 |
commit | f08b3f7a500276d72585b932ba44e03567f94d27 (patch) | |
tree | 93f3125cbde528653d345b2615d2c801bc056be3 /skia | |
parent | 64f09b8bec7aecb232f863dba062e0627be39871 (diff) | |
download | chromium_src-f08b3f7a500276d72585b932ba44e03567f94d27.zip chromium_src-f08b3f7a500276d72585b932ba44e03567f94d27.tar.gz chromium_src-f08b3f7a500276d72585b932ba44e03567f94d27.tar.bz2 |
Add ARM (asm) memset routines to skia build
ARM ASM optimized memset routines provide better performance
for platforms (with/without NEON) ,compared to portable C - version
Review URL: http://codereview.chromium.org/8262005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/skia.gyp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp index 233053b..13519e7 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -987,9 +987,20 @@ 'sources': [ '../third_party/skia/src/opts/SkBitmapProcState_opts_arm.cpp', '../third_party/skia/src/opts/SkBlitRow_opts_arm.cpp', - '../third_party/skia/src/opts/SkUtils_opts_none.cpp', + '../third_party/skia/src/opts/opts_check_arm.cpp', ], }], + [ 'armv7 == 1 and arm_neon == 0', { + 'sources': [ + '../third_party/skia/src/opts/memset.arm.S', + ], + }], + [ 'armv7 == 1 and arm_neon == 1', { + 'sources': [ + '../third_party/skia/src/opts/memset16_neon.S', + '../third_party/skia/src/opts/memset32_neon.S', + ], + }], ], }, { |