aboutsummaryrefslogtreecommitdiff
path: root/src/os/executable_path.go
diff options
context:
space:
mode:
authorCarlos Eduardo Seo <cseo@linux.vnet.ibm.com>2018-10-01 23:37:00 -0300
committerLynn Boger <laboger@linux.vnet.ibm.com>2018-10-11 13:21:50 +0000
commit23578f9d00bb0d6e92f18d7d6ea961d7c6c52260 (patch)
tree071ecd3c10064f1a8f6f9c68070c7863cc3f936f /src/os/executable_path.go
parentc96c2a39bb09da48b3af63de58f65fdc82865746 (diff)
downloadgo-23578f9d00bb0d6e92f18d7d6ea961d7c6c52260.tar.xz
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>
Diffstat (limited to 'src/os/executable_path.go')
0 files changed, 0 insertions, 0 deletions