aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/atomic_pointer.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2016-04-14 10:28:35 -0700
committerKeith Randall <khr@golang.org>2016-04-14 21:09:03 +0000
commit98b6febcef8f6d7411a77e9e828df681871a28ad (patch)
tree19d2a893049af75111761a7216f1cceafac3de92 /src/runtime/atomic_pointer.go
parent12e3b184f0fe15787be7f0837d2b168a4fbe60be (diff)
downloadgo-98b6febcef8f6d7411a77e9e828df681871a28ad.tar.xz
runtime/internal/sys: better fallback algorithms for intrinsics
Use deBruijn sequences to count low-order zeros. Reorg bswap to not use &^, it takes another instruction on x86. Change-Id: I4a5ed9fd16ee6a279d88c067e8a2ba11de821156 Reviewed-on: https://go-review.googlesource.com/22084 Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/atomic_pointer.go')
0 files changed, 0 insertions, 0 deletions