[go] cmd/internal/obj/loong64: improve ARNG type register name conversion

0 views
Skip to first unread message

abner chenc (Gerrit)

unread,
Feb 14, 2026, 10:17:44 AMFeb 14
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Michael Pratt, Junyang Shao, Meidan Li, Go LUCI, sophie zhao, Cherry Mui, Gopher Robot, golang-co...@googlegroups.com

abner chenc submitted the change

Change information

Commit message:
cmd/internal/obj/loong64: improve ARNG type register name conversion

When resolving ARNG type names, the base value was not subtracted
when calculating the variable simd_type, causing its actual value
to not match the expected meaning after the base value adjustment.

Fixes #77414
Change-Id: I713bab849ecdb5610d2593ba9bd9e1169842f00e
Reviewed-by: WANG Xuerui <g...@xen0n.name>
Reviewed-by: Michael Pratt <mpr...@google.com>
Reviewed-by: Junyang Shao <shaoj...@google.com>
Reviewed-by: Meidan Li <lime...@loongson.cn>
Files:
  • M src/cmd/asm/internal/arch/loong64.go
  • M src/cmd/internal/obj/loong64/list.go
Change size: M
Delta: 2 files changed, 79 insertions(+), 73 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by WANG Xuerui, +2 by Meidan Li, +1 by Junyang Shao, +1 by Michael Pratt
  • 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: go
Gerrit-Branch: master
Gerrit-Change-Id: I713bab849ecdb5610d2593ba9bd9e1169842f00e
Gerrit-Change-Number: 742980
Gerrit-PatchSet: 3
Gerrit-Owner: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: Cherry Mui <cher...@google.com>
Gerrit-Reviewer: Junyang Shao <shaoj...@google.com>
Gerrit-Reviewer: Meidan Li <lime...@loongson.cn>
Gerrit-Reviewer: Michael Pratt <mpr...@google.com>
Gerrit-Reviewer: WANG Xuerui <g...@xen0n.name>
Gerrit-Reviewer: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: sophie zhao <zhaox...@loongson.cn>
Gerrit-CC: Gopher Robot <go...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages