Skip to content

[BUG] Neon vector shift left and widen intrinsic variants with n == bit-width #356

Description

@namniav

Describe the bug

From https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#vector-shift-left-and-widen, each neon vector shift left and widen intrinsic has a variant with n == bit width.

For example:

Intrinsic Argument preparation
int16x8_t vshll_n_s8(int8x8_t a, const int n) 0 <= n <= 7
int16x8_t vshll_n_s8(int8x8_t a, const int n) n == 8

Both link to the same developer.arm.com page for vshll_n_s8 and the documented argument preparation there is n -> minimum: 0; maximum: 7.

What is the use of the second variant? Or is it a mistake?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions