]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssagen: set BitLen32 as intrinsic on PPC64
authorLynn Boger <laboger@linux.vnet.ibm.com>
Thu, 14 Oct 2021 15:48:08 +0000 (10:48 -0500)
committerLynn Boger <laboger@linux.vnet.ibm.com>
Mon, 18 Oct 2021 21:33:08 +0000 (21:33 +0000)
commit33b3260c1e765ef66500ce155c6d5a526d8852e9
treec63fed9692a9ad0521829227b5a760d2f6e6a43d
parent6c0daa733192031eab23d09ed6515c4cd959aa92
cmd/compile/internal/ssagen: set BitLen32 as intrinsic on PPC64

It was noticed through some other investigation that BitLen32
was not generating the best code and found that it wasn't recognized
as an intrinsic. This corrects that and enables the test for PPC64.

Change-Id: Iab496a8830c8552f507b7292649b1b660f3848b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/355872
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/ssagen/ssa.go
test/codegen/mathbits.go