[PATCH] D31679: Use PMADDWD to expand reduction in a loop
Dehao Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 6 08:31:12 PDT 2017
danielcdh marked an inline comment as done.
danielcdh added a comment.
In https://reviews.llvm.org/D31679#719786, @zvi wrote:
> Thanks for working on this patch. Regarding support for PMADDUBSW, can we match something like the following?
>
> for (int i = 0; i < count; i++) {
> a = saturate(a + x[i] * y[i]);
> }
How does user specify "saturate"? Is it a general builtin in clang?
https://reviews.llvm.org/D31679
More information about the llvm-commits
mailing list