]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: intrinsify runtime/internal/sys.Ctz{32,64} on ppc64
authorMatthew Dempsky <mdempsky@google.com>
Thu, 12 Oct 2017 18:45:35 +0000 (11:45 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 12 Oct 2017 20:01:16 +0000 (20:01 +0000)
commit53bbddd52724e439c751f445675f3eff5068d523
treea8963d2019e1eb06a2387eda5a72811ab23ef35f
parent56dec8dde2abca9b556719a66da908b1802f9956
cmd/compile: intrinsify runtime/internal/sys.Ctz{32,64} on ppc64

These functions are identical to math/bits.TrailingZeros{32,64}, which
are already intrinsified on ppc64.

Change-Id: If7ee57e7afe53154874f4b66bacdb6237806128a
Reviewed-on: https://go-review.googlesource.com/70350
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/gc/ssa.go