Turbo-Run-Length-Encoding icon indicating copy to clipboard operation
Turbo-Run-Length-Encoding copied to clipboard

arm cross-compilation

Open wxmwy opened this issue 2 years ago • 0 comments

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

wxmwy avatar Oct 13 '23 01:10 wxmwy