Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/google/ruy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Jacob <benoitjacob@google.com>2020-10-16 03:11:46 +0300
committerCopybara-Service <copybara-worker@google.com>2020-10-16 03:12:09 +0300
commite59c55d78f1a041e6a14771254f8e6280804b430 (patch)
treecd92dcc8779951f2d1fadc9829f33f9cd8cf251e
parent503dd7899d6fdf784b7d37032a74575d89f60d04 (diff)
It's _MSC_VER not __MSC_VER.
PiperOrigin-RevId: 337413902
-rw-r--r--ruy/kernel_x86.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruy/kernel_x86.h b/ruy/kernel_x86.h
index 3ad05bf..aabdc2b 100644
--- a/ruy/kernel_x86.h
+++ b/ruy/kernel_x86.h
@@ -263,7 +263,7 @@ inline __m256i mm256_shuffle_epi8(const __m256i&, const __m256i&) {
// Polyfill for _mm_storeu_si16(dst, v).
template <Path path>
inline void mm_storeu_si16(void* dst, __m128i v) {
-#if (defined __clang__) || (defined __MSC_VER)
+#if (defined __clang__) || (defined _MSC_VER)
_mm_storeu_si16(dst, v);
#else
// GCC 9 lacks support for __mm_storeu_si16.
@@ -274,7 +274,7 @@ inline void mm_storeu_si16(void* dst, __m128i v) {
// Polyfill for _mm_storeu_si32(dst, v).
template <Path path>
inline void mm_storeu_si32(void* dst, __m128i v) {
-#if (defined __clang__) || (defined __MSC_VER)
+#if (defined __clang__) || (defined _MSC_VER)
_mm_storeu_si32(dst, v);
#else
// GCC 9 lacks support for __mm_storeu_si32.
@@ -285,7 +285,7 @@ inline void mm_storeu_si32(void* dst, __m128i v) {
// Polyfill for _mm_loadu_si32(src).
template <Path path>
inline __m128i mm_loadu_si32(const void* src) {
-#if (defined __clang__) || (defined __MSC_VER)
+#if (defined __clang__) || (defined _MSC_VER)
return _mm_loadu_si32(src);
#else
// GCC 9 lacks support for _mm_loadu_si32.