mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.simd] cmd/compile, simd: change PairDotProdAccumulate to AddDotProd
This CL is generated by CL 692219. Change-Id: I50fa919f1edc5c6505bc6d3238f65b37fc7628b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/692156 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
parent
2c25f3e846
commit
c2d775d401
8 changed files with 353 additions and 353 deletions
|
|
@ -197,7 +197,7 @@ func TestPairDotProdAccumulate(t *testing.T) {
|
|||
z := simd.LoadInt32x4Slice([]int32{3, 3, 3, 3})
|
||||
want := []int32{11, 11, 11, 11}
|
||||
got := make([]int32, 4)
|
||||
z = x.PairDotProdAccumulate(x, z)
|
||||
z = z.AddDotProd(x, x)
|
||||
z.StoreSlice(got)
|
||||
for i := range 4 {
|
||||
if got[i] != want[i] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue