aboutsummaryrefslogtreecommitdiff
path: root/include/libyuv/planar_functions.h
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@chromium.org>2017-11-07 18:17:33 -0800
committerFrank Barchard <fbarchard@google.com>2017-11-08 02:54:41 +0000
commit01e994d74e4e3937ee1a3efdc048320a1e51f818 (patch)
tree96a134b0230ad8c0a69a45d2b36734e8fe73d303 /include/libyuv/planar_functions.h
parent12084cd068b4b6d9d33aa250534f98ce3e37c5b6 (diff)
downloadlibyuv-01e994d74e4e3937ee1a3efdc048320a1e51f818.tar.gz
Enable SSE2 code without -msse
Bug: libyuv:754 Test: CC=clang CXX=clang++ CFLAGS="-m32" CXXFLAGS="-m32 -mno-sse -O2" make -f linux.mk Change-Id: I74bf8d032013694e65ea7637bc38d3253db53ff2 Reviewed-on: https://chromium-review.googlesource.com/758043 Reviewed-by: Frank Barchard <fbarchard@google.com>
Diffstat (limited to 'include/libyuv/planar_functions.h')
-rw-r--r--include/libyuv/planar_functions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libyuv/planar_functions.h b/include/libyuv/planar_functions.h
index d97965cb..c91501a9 100644
--- a/include/libyuv/planar_functions.h
+++ b/include/libyuv/planar_functions.h
@@ -746,7 +746,7 @@ int I420Interpolate(const uint8* src0_y,
int interpolation);
#if defined(__pnacl__) || defined(__CLR_VER) || \
- (defined(__i386__) && !defined(__SSE2__))
+ (defined(__i386__) && !defined(__SSE__) && !defined(__clang__))
#define LIBYUV_DISABLE_X86
#endif
// MemorySanitizer does not support assembly code yet. http://crbug.com/344505