Source file
src/math/big/arith_s390x_test.go
1
2
3
4
5
6
7
8 package big
9
10 import (
11 "testing"
12 )
13
14
15
16
17 func TestFunVVnovec(t *testing.T) {
18 if hasVX == true {
19 for _, a := range sumVV {
20 arg := a
21 testFunVV(t, "addVV_novec", addVV_novec, arg)
22
23 arg = argVV{a.z, a.y, a.x, a.c}
24 testFunVV(t, "addVV_novec symmetric", addVV_novec, arg)
25
26 arg = argVV{a.x, a.z, a.y, a.c}
27 testFunVV(t, "subVV_novec", subVV_novec, arg)
28
29 arg = argVV{a.y, a.z, a.x, a.c}
30 testFunVV(t, "subVV_novec symmetric", subVV_novec, arg)
31 }
32 }
33 }
34
View as plain text