commit | 887690dce42d7bf8f711f8ea082e4928fb70f2a5 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Apr 19 17:06:11 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Apr 20 23:41:34 2017 +0000 |
tree | 3a94b4bfe01067ec3a3e129b6a95ea99570dcf9f | |
parent | ca8bbf4dfac19b3f4f7ce21a688b96a418c75031 [diff] |
runtime: add prefetch functions The Go 1.8 GC uses prefetch functions. Add versions for gccgo that call __builtin_prefetch. Uncomment the test for them in testAtomic64. Don't force the check function to return early, as now taking the address of a local variable in the runtime package does not force it onto the heap. Change-Id: I48be1af93586a6c89a53b569217dcb6043466d66 Reviewed-on: https://go-review.googlesource.com/41144 Reviewed-by: Than McIntosh <thanm@google.com>