https://bugs.llvm.org/show_bug.cgi?id=48114
Bug ID: 48114
Summary: neon: vqshl scalar functions use wrong type for b
parameter
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: cl...@evan.coeusgroup.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org
According to Arm's documentation
(<https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics>),
the second parameter should be signed for the following functions:
vqshlb_u8
vqshlh_u16
vqshls_u32
vqshld_u64
However, clang-11 uses unsigned values.
The vector versions are signed (e.g., vqshl_u8 uses int8x8_t not uint8x8_t),
and passing negative values is completely sensible.
GCC also has the same problem, I'll file a bug there soon. I don't currently
have access to armcc.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs