[PATCH] D64210: [ARM] Fix vector vsqadd intrinsics operands
Diogo N. Sampaio via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 4 08:16:30 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 vsqadd vector instrinsics to have the second argument as signed values, not unsigned,
accordingly to https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics
Repository:
rC Clang
https://reviews.llvm.org/D64210
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
@@ -707,7 +707,7 @@
////////////////////////////////////////////////////////////////////////////////
// Unsigned Saturating Accumulated of Signed Value
-def USQADD : SInst<"vsqadd", "ddd", "UcUsUiUlQUcQUsQUiQUl">;
+def USQADD : SInst<"vsqadd", "ddx", "UcUsUiUlQUcQUsQUiQUl">;
////////////////////////////////////////////////////////////////////////////////
// Reciprocal/Sqrt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64210.208049.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190704/8fe41cd9/attachment.bin>
More information about the cfe-commits
mailing list