[PATCH] D64211: [ARM] Fix vector vuqadd intrinsics operands
Diogo N. Sampaio via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 4 08:46:49 PDT 2019
dnsampaio created this revision.
dnsampaio added a reviewer: LukeCheeseman.
Herald added subscribers: cfe-commits, kristof.beyls, javed.absar.
Herald added a project: clang.
Change the vuqadd vector instrinsics to have the second argument as unsigned values, not signed,
accordingly to https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics
Repository:
rC Clang
https://reviews.llvm.org/D64211
Files:
include/clang/Basic/arm_neon.td
Index: include/clang/Basic/arm_neon.td
===================================================================
--- include/clang/Basic/arm_neon.td
+++ include/clang/Basic/arm_neon.td
@@ -703,7 +703,7 @@
////////////////////////////////////////////////////////////////////////////////
// Signed Saturating Accumulated of Unsigned Value
-def SUQADD : SInst<"vuqadd", "ddd", "csilQcQsQiQl">;
+def SUQADD : SInst<"vuqadd", "ddu", "csilQcQsQiQl">;
////////////////////////////////////////////////////////////////////////////////
// Unsigned Saturating Accumulated of Signed Value
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64211.208052.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190704/adaccfb7/attachment.bin>
More information about the cfe-commits
mailing list