Skip to content

Conversation

dragon-archer
Copy link

vzero12 is of type uint16x8_t, to narrow it to uint8x8_t, we should use vmovn_u16 instead of vmovn_u32.

With out this patch, mimalloc will failed to compile with -DCMAKE_BUILD_TYPE=Release -DMI_OPT_ARCH=ON -DMI_OPT_SIMD=ON cmake options and gcc 10.3.1 on aarch64 platforms

`vzero12` is of type `uint16x8_t`, to narrow it to `uint8x8_t`, we should use `vmovn_u16` instead of `vmovn_u32`.

With out this patch, mimalloc will failed to compile with `-DCMAKE_BUILD_TYPE=Release -DMI_OPT_ARCH=ON -DMI_OPT_SIMD=ON` cmake options and gcc 10.3.1 on aarch64 platforms
Copy link

@cchung100m cchung100m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks to @dragon-archer 😄

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

Successfully merging this pull request may close these issues.

2 participants