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:
parent
928ff03889
commit
d5d82a5e1a
@ -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 */
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user