Skip to content

arm cross-compilation #10

@wxmwy

Description

@wxmwy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions