aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorArchana R <aravind5@in.ibm.com>2022-03-07 01:54:14 -0600
committerPaul Murphy <murp@ibm.com>2022-03-15 15:12:55 +0000
commit7b15e297a26842f1f3408ee9d7942f8cfab2e5ea (patch)
tree17633f98478f1c10ad240da74cbfa073ad890a86 /src/runtime/debug
parente475cf2e705d4eda8647426e060898ab3f643610 (diff)
downloadgo-7b15e297a26842f1f3408ee9d7942f8cfab2e5ea.tar.xz
cmd/compile: fix PrefetchStreamed builtin implementation on PPC64
This CL fixes encoding of PrefetchStreamed on PPC64 to be consistent with what is implemented on AMD64 and ARM64 platforms which is prefetchNTA (prefetch non-temporal access). Looking at the definition of prefetchNTA, the closest corresponding Touch hint (TH) value to be used on PPC64 is 16 that states that the address is accessed in a transient manner. Current usage of TH=8 may cause degraded performance. Change-Id: I393bf5a9b971a22f632b3cbfb4fa659062af9a27 Reviewed-on: https://go-review.googlesource.com/c/go/+/390316 Reviewed-by: Paul Murphy <murp@ibm.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions