Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm cross-compilation #10

Open
wxmwy opened this issue Oct 13, 2023 · 0 comments
Open

arm cross-compilation #10

wxmwy opened this issue Oct 13, 2023 · 0 comments

Comments

@wxmwy
Copy link

wxmwy commented Oct 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant