[sys] sys/cpu: use symbolic names for masks

2 views
Skip to first unread message

Keith Randall (Gerrit)

unread,
Dec 19, 2025, 11:52:25 AM (2 days ago) Dec 19
to Keith Randall, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Keith Randall, Cherry Mui, Go LUCI, golang-co...@googlegroups.com

Keith Randall submitted the change

Change information

Commit message:
sys/cpu: use symbolic names for masks

Masks declarations are copied from internal/cpu. All the 1<<N masks
that have a corresponding named constant are swapped out.
Change-Id: I6cfb053179a16611f4404719d92c182464a67d7f
Reviewed-by: Cherry Mui <cher...@google.com>
Reviewed-by: Keith Randall <k...@google.com>
Files:
  • M cpu/cpu_x86.go
Change size: M
Delta: 1 file changed, 78 insertions(+), 29 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Keith Randall, +2 by Cherry Mui
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: sys
Gerrit-Branch: master
Gerrit-Change-Id: I6cfb053179a16611f4404719d92c182464a67d7f
Gerrit-Change-Number: 731321
Gerrit-PatchSet: 2
Gerrit-Owner: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages