]> Cypherpunks repositories - gostls13.git/commit
math/big: simplify hasVX checking on s390x
authorRuixin(Peter) Bao <ruixin.bao@ibm.com>
Mon, 27 Apr 2020 13:51:01 +0000 (09:51 -0400)
committerMichael Munday <mike.munday@ibm.com>
Mon, 27 Apr 2020 20:20:53 +0000 (20:20 +0000)
commita7e9e84716e2d39b1e7ea7f231334c88f2428260
treed8bde93146838d708ea629bc51d1ed9b0972d1c3
parentd2f5e4e38c8f3d847a1925344dadbf8fb8cdb180
math/big: 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: Ic1dae851982532bcfd9a9453416c112347f21d87
Reviewed-on: https://go-review.googlesource.com/c/go/+/230318
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/big/arith_decl_s390x.go
src/math/big/arith_s390x.s