[llvm-bugs] [Bug 46840] New: [AArch64] vqmovun* return types should be unsigned
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 24 13:18:19 PDT 2020
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: unassignedbugs at nondot.org
Reporter: clang at evan.coeusgroup.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200724/ded72bc4/attachment.html>
More information about the llvm-bugs
mailing list