aboutsummaryrefslogtreecommitdiff
path: root/source/planar_functions.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2021-04-21 18:59:53 -0700
committerFrank Barchard <fbarchard@chromium.org>2021-04-22 19:32:32 +0000
commit5e05f26a2bcacc5d34ee5786e25efee2493003cc (patch)
tree39fe5cec7ee475d2501bb3250a7713cb604e4f24 /source/planar_functions.cc
parent8c8d907d29255ae0630f414e0e09ee9cca8f4bfc (diff)
downloadlibyuv-5e05f26a2bcacc5d34ee5786e25efee2493003cc.tar.gz
Switch win32 to row_gcc for clangcl.
Bug: libyuv:900, libyuv:848, b/178283356, b/185922513 Change-Id: I7697953753391c555a778198db36412c853fb29e Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2844962 Reviewed-by: richard winterton <rrwinterton@gmail.com> Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Diffstat (limited to 'source/planar_functions.cc')
-rw-r--r--source/planar_functions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/planar_functions.cc b/source/planar_functions.cc
index 1fba98f0..7cea06c8 100644
--- a/source/planar_functions.cc
+++ b/source/planar_functions.cc
@@ -2642,12 +2642,12 @@ int ARGBAdd(const uint8_t* src_argb0,
height = 1;
src_stride_argb0 = src_stride_argb1 = dst_stride_argb = 0;
}
-#if defined(HAS_ARGBADDROW_SSE2) && (defined(_MSC_VER) && !defined(__clang__))
+#if defined(HAS_ARGBADDROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2)) {
ARGBAddRow = ARGBAddRow_SSE2;
}
#endif
-#if defined(HAS_ARGBADDROW_SSE2) && !(defined(_MSC_VER) && !defined(__clang__))
+#if defined(HAS_ARGBADDROW_SSE2)
if (TestCpuFlag(kCpuHasSSE2)) {
ARGBAddRow = ARGBAddRow_Any_SSE2;
if (IS_ALIGNED(width, 4)) {