https://bugs.llvm.org/show_bug.cgi?id=46840
Bug ID: 46840
Summary: [AArch64] vqmovun* return types should be unsigned
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
clang has signed return values for the vqmovun* functions, but they should be
unsigned. See
https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics?search=vqmovun
Trivial test case:
#include <arm_neon.h>
uint16_t foo(int32_t v);
uint16_t foo(int32_t v) {
return vqmovuns_s32(v);
}
On Compiler Explorer for convenience: https://godbolt.org/z/qYPP3j
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs