]>
Cypherpunks repositories - gostls13.git/commit
cmd/compile: intrinsify TrailingZeros16, OnesCount{8,16} for ppc64x
This change implements TrailingZeros16, OnesCount8 and OnesCount16
as intrinsics for ppc64x.
benchmark old ns/op new ns/op delta
BenchmarkTrailingZeros16-40 2.16 1.61 -25.46%
benchmark old ns/op new ns/op delta
BenchmarkOnesCount-40 0.71 0.71 +0.00%
BenchmarkOnesCount8-40 0.93 0.69 -25.81%
BenchmarkOnesCount16-40 1.54 0.75 -51.30%
BenchmarkOnesCount32-40 0.75 0.74 -1.33%
BenchmarkOnesCount64-40 0.71 0.71 +0.00%
Change-Id: I010fa9c0ef596a09362870d81193c633e70da637
Reviewed-on: https://go-review.googlesource.com/c/139137
Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>