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

Both GCC and RVCT/ARMCC support __builtin_prefetch, but MSVC
doesn't.

Change-Id: I44e1eecead61bc88d8fdfd3fef03d76d4f5afe08
This commit is contained in:
Martin Storsjo 2014-05-07 10:26:32 +03:00
parent 928ff03889
commit d5d82a5e1a
2 changed files with 8 additions and 0 deletions

View File

@ -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 */

View File

@ -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,