]> Cypherpunks repositories - gostls13.git/commit
math: simplify hasVX checking on s390x
authorRuixin Bao <ruixin.bao@ibm.com>
Mon, 27 Apr 2020 19:02:52 +0000 (12:02 -0700)
committerMichael Munday <mike.munday@ibm.com>
Mon, 27 Apr 2020 20:06:57 +0000 (20:06 +0000)
commitd2f5e4e38c8f3d847a1925344dadbf8fb8cdb180
tree61a15ef511621aa317eee27169cf5bba88dc2ae8
parenta637ee1970ac9f005094fd46eadd64c4433168e7
math: simplify hasVX checking on s390x

Originally, we use an assembly function that returns a boolean result to
tell whether the machine has vector facility or not. It is now no longer
needed when we can directly use cpu.S390X.HasVX variable.

Change-Id: Ic3ffeb9e63238ef41406d97cdc42502145ddb454
Reviewed-on: https://go-review.googlesource.com/c/go/+/230319
Reviewed-by: Michael Munday <mike.munday@ibm.com>
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/math/arith_s390x.go
src/math/stubs_s390x.s