[go] runtime: clean atomic_loong64.s of unnecessary package references

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Mar 28, 2023, 6:44:14 PM3/28/23
to abner chenc, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Keith Randall, Keith Randall, Michael Knyszek, Austin Clements, golang-co...@googlegroups.com

Gopher Robot submitted this change.

View Change

Approvals: Ian Lance Taylor: Looks good to me, but someone else must approve; Run TryBots; Automatically submit change Gopher Robot: TryBots succeeded Keith Randall: Looks good to me, approved; Run TryBots Keith Randall: Looks good to me, but someone else must approve WANG Xuerui: Looks good to me, but someone else must approve
runtime: clean atomic_loong64.s of unnecessary package references

The symbols are all defined within the same file, no need
to reference through package names.

Change-Id: I81c27831e85666ebd26d346aeb8f023e52d98acc
Reviewed-on: https://go-review.googlesource.com/c/go/+/479497
Reviewed-by: Keith Randall <k...@golang.org>
Reviewed-by: Keith Randall <k...@google.com>
Reviewed-by: Ian Lance Taylor <ia...@google.com>
TryBot-Result: Gopher Robot <go...@golang.org>
Auto-Submit: Ian Lance Taylor <ia...@google.com>
Run-TryBot: Keith Randall <k...@golang.org>
Run-TryBot: Ian Lance Taylor <ia...@google.com>
Reviewed-by: WANG Xuerui <g...@xen0n.name>
---
M src/runtime/internal/atomic/atomic_loong64.s
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/runtime/internal/atomic/atomic_loong64.s b/src/runtime/internal/atomic/atomic_loong64.s
index 3d802be..34193ad 100644
--- a/src/runtime/internal/atomic/atomic_loong64.s
+++ b/src/runtime/internal/atomic/atomic_loong64.s
@@ -89,7 +89,7 @@
// } else
// return 0;
TEXT ·Casp1(SB), NOSPLIT, $0-25
- JMP runtime∕internal∕atomic·Cas64(SB)
+ JMP ·Cas64(SB)

// uint32 xadd(uint32 volatile *ptr, int32 delta)
// Atomically:
@@ -294,13 +294,13 @@

// uint32 runtime∕internal∕atomic·LoadAcq(uint32 volatile* ptr)
TEXT ·LoadAcq(SB),NOSPLIT|NOFRAME,$0-12
- JMP atomic·Load(SB)
+ JMP ·Load(SB)

// uint64 ·LoadAcq64(uint64 volatile* ptr)
TEXT ·LoadAcq64(SB),NOSPLIT|NOFRAME,$0-16
- JMP atomic·Load64(SB)
+ JMP ·Load64(SB)

// uintptr ·LoadAcquintptr(uintptr volatile* ptr)
TEXT ·LoadAcquintptr(SB),NOSPLIT|NOFRAME,$0-16
- JMP atomic·Load64(SB)
+ JMP ·Load64(SB)


To view, visit change 479497. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I81c27831e85666ebd26d346aeb8f023e52d98acc
Gerrit-Change-Number: 479497
Gerrit-PatchSet: 2
Gerrit-Owner: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: Austin Clements <aus...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@google.com>
Gerrit-Reviewer: Keith Randall <k...@golang.org>
Gerrit-Reviewer: Keith Randall <k...@google.com>
Gerrit-Reviewer: Michael Knyszek <mkny...@google.com>
Gerrit-Reviewer: WANG Xuerui <g...@xen0n.name>
Gerrit-MessageType: merged
Reply all
Reply to author
Forward
0 new messages