diff options
Diffstat (limited to 'src/splicer/build_stages.py')
-rwxr-xr-x | src/splicer/build_stages.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/splicer/build_stages.py b/src/splicer/build_stages.py index 900b47ff6d..a4fd97db4b 100755 --- a/src/splicer/build_stages.py +++ b/src/splicer/build_stages.py @@ -17,6 +17,17 @@ objdump = 'gobjdump' cflags = '-std=c++11 -Os -fomit-frame-pointer'.split() +sse2 = '-msse2 -mno-sse3 -mno-ssse3 -mno-sse4.1'.split() +subprocess.check_call(['clang++'] + cflags + sse2 + + ['-c', 'src/splicer/SkSplicer_stages.cpp'] + + ['-o', 'sse2.o']) + +sse41 = '-msse4.1'.split() +subprocess.check_call(['clang++'] + cflags + sse41 + + ['-c', 'src/splicer/SkSplicer_stages.cpp'] + + ['-o', 'sse41.o']) + + hsw = '-mavx2 -mfma -mf16c'.split() subprocess.check_call(['clang++'] + cflags + hsw + ['-c', 'src/splicer/SkSplicer_stages.cpp'] + |