aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2023-04-07 06:15:59 +1000
committerJoel Sing <joel@sing.id.au>2023-04-11 18:32:50 +0000
commit05cd6cbb98a78f04fcfe018527fc8a50364bd0ee (patch)
treeada47d4e5878ead735b6c428720ceffc28a5ab0c /src/internal/pkgbits
parent0d82f584c223fb045496f3e063bf93416a24e0b0 (diff)
downloadgo-05cd6cbb98a78f04fcfe018527fc8a50364bd0ee.tar.xz
cmd/asm,cmd/internal/obj/x86: add RDPID instruction to x86 assembler
Add support for the Read Processor ID (RDPID) instruction to the x86 assembler. This returns the current logical processor's ID in the specified register, as a faster alternative to RDTSCP. Fixes #56525 Change-Id: I43482e42431dfc385ce2e7f6d44b9746b0cc4548 Reviewed-on: https://go-review.googlesource.com/c/go/+/482955 Run-TryBot: Joel Sing <joel@sing.id.au> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/internal/pkgbits')
0 files changed, 0 insertions, 0 deletions