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

Wrong return type in some ARM NEON intrinsics #71365

Open
yyctw opened this issue Nov 6, 2023 · 0 comments
Open

Wrong return type in some ARM NEON intrinsics #71365

yyctw opened this issue Nov 6, 2023 · 0 comments
Labels
clang:headers Headers provided by Clang, e.g. for intrinsics

Comments

@yyctw
Copy link

yyctw commented Nov 6, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:headers Headers provided by Clang, e.g. for intrinsics
Projects
None yet
Development

No branches or pull requests

2 participants