powturbo/Turbo-Run-Length-Encoding

arm cross-compilation

wxmwy opened this issue · 0 comments

wxmwy commented

When I cross-compile with aarch64-linux-gnu-gcc, err is generated.
I got:

include_/sse_neon.h:232:109: error: incompatible type for argument 1 of 'vshrn_n_u16'

source:

static ALWAYS_INLINE uint64_t  mm_movemask4_epu8(__m128i v) { return vgetq_lane_u64((uint64x2_t)vshrn_n_u16((uint8x16_t)v, 4), 0); } //uint8x16_t

I checked the neon manual, maybe 8x16 can't be used for this parameter?
微信截图_20231013085334