]> granicus.if.org Git - clang/commitdiff
[NFC][AArch64] Fix vector vsqadd intrinsics operands
authorDiogo N. Sampaio <diogo.sampaio@arm.com>
Wed, 10 Jul 2019 09:58:03 +0000 (09:58 +0000)
committerDiogo N. Sampaio <diogo.sampaio@arm.com>
Wed, 10 Jul 2019 09:58:03 +0000 (09:58 +0000)
Summary:
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

Reviewers: LukeCheeseman, ostannard

Reviewed By: ostannard

Subscribers: javed.absar, kristof.beyls, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D64210

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365608 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/arm_neon.td

index 8b4fb4653b3365e7fc554b7c4ee091d42a782be0..2cf8b0a8908aaeffb64ac608d78121e9ae8a111f 100644 (file)
@@ -707,7 +707,7 @@ def SUQADD : SInst<"vuqadd", "ddd", "csilQcQsQiQl">;
 
 ////////////////////////////////////////////////////////////////////////////////
 // Unsigned Saturating Accumulated of Signed Value
-def USQADD : SInst<"vsqadd", "ddd", "UcUsUiUlQUcQUsQUiQUl">;
+def USQADD : SInst<"vsqadd", "ddx", "UcUsUiUlQUcQUsQUiQUl">;
 
 ////////////////////////////////////////////////////////////////////////////////
 // Reciprocal/Sqrt