mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: use unaligned loads on ppc64
benchmark old ns/op new ns/op delta BenchmarkAlignedLoad-160 8.67 7.42 -14.42% BenchmarkUnalignedLoad-160 8.63 7.37 -14.60% Change-Id: Id4609d7b4038c4d2ec332efc4fe6f1adfb61b82b Reviewed-on: https://go-review.googlesource.com/20812 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
982322769c
commit
15ea61146e
4 changed files with 27 additions and 2 deletions
|
|
@ -193,3 +193,6 @@ func SetTracebackEnv(level string) {
|
|||
setTraceback(level)
|
||||
traceback_env = traceback_cache
|
||||
}
|
||||
|
||||
var ReadUnaligned32 = readUnaligned32
|
||||
var ReadUnaligned64 = readUnaligned64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue