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