Skip to content

Wrong return type in some ARM NEON intrinsics #71365

@yyctw

Description

@yyctw

Documentation: https://developer.arm.com/architectures/instruction-sets/intrinsics/#f:@navigationhierarchiessimdisa=[Neon]&q=qshrun_high_n
According to the ARM NEON documentation, the return type of vqshrun_high_n_s{16/32/64} should be uint. However, in the arm_neon.h file, the return type of these functions is int. It caused an compilation error similar to the previous issue #71362 when using the -fno-lax-vector-conversions flag.

Clang version:

Debian clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Thank you for your reading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions