Commit fdfe9a77 authored by jehan's avatar jehan

fix xcode compilation issue

parent 1e18ab2f
......@@ -192,7 +192,7 @@ MS_FILTER_DESC_EXPORT(ms_resample_desc)
#include <arm_neon.h>
static inline int MULT16_16(short int x, short int y) {
int res;
asm ("smulbb %0,%1,%2;\n"
__asm ("smulbb %0,%1,%2;\n"
: "=&r"(res)
: "%r"(x),"r"(y));
return(res);
......@@ -200,7 +200,7 @@ static inline int MULT16_16(short int x, short int y) {
static inline int MULT16_32_Q15(short int x, int y) {
int res;
asm ("smulwb %0,%1,%2;\n"
__asm ("smulwb %0,%1,%2;\n"
: "=&r"(res)
: "%r"(y<<1),"r"(x));
return(res);
......@@ -220,8 +220,9 @@ inline float interpolate_product_single(const float *a, const float *b, unsigned
float32x2_t tmp = vadd_f32(vget_low_f32(sum), vget_high_f32(sum));
return vget_lane_f32 (vpadd_f32(tmp,tmp),0);
}
static int msresampler_as_neon=-1;
#ifdef ANDROID
static int msresampler_as_neon=-1;
#include "cpu-features.h"
#endif
inline int32_t interpolate_product_single_int(const int16_t *a, const int16_t *b, unsigned int len, const spx_uint32_t oversample, spx_int16_t *frac) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment