shithub: libvpx

Download patch

ref: d9b5d83f5614e36c10aa6abc9b7ad83359fe5fdd
parent: 3899315f054296bca03c24d4ffed8ee49c2a78c5
parent: d5d82a5e1adae9673fd0ebb11fda3fce11708520
author: Johann <[email protected]>
date: Wed May 7 02:02:22 EDT 2014

Merge "arm: Add a no-op define of __builtin_prefetch for MSVC"

--- a/vp8/common/arm/neon/sixtappredict_neon.c
+++ b/vp8/common/arm/neon/sixtappredict_neon.c
@@ -10,6 +10,10 @@
 
 #include <arm_neon.h>
 
+#ifdef _MSC_VER
+#define __builtin_prefetch(x)
+#endif
+
 static const int8_t vp8_sub_pel_filters[8][8] = {
     {0,  0,  128,   0,   0, 0, 0, 0},  /* note that 1/8 pel positionyys are */
     {0, -6,  123,  12,  -1, 0, 0, 0},  /*    just as per alpha -0.5 bicubic */
--- a/vp8/common/arm/neon/variance_neon.c
+++ b/vp8/common/arm/neon/variance_neon.c
@@ -10,6 +10,10 @@
 
 #include <arm_neon.h>
 
+#ifdef _MSC_VER
+#define __builtin_prefetch(x)
+#endif
+
 unsigned int vp8_variance16x16_neon(
         const unsigned char *src_ptr,
         int source_stride,