]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: clean atomic_loong64.s of unnecessary package references
authorGuoqi Chen <chenguoqi@loongson.cn>
Mon, 27 Mar 2023 03:44:05 +0000 (11:44 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 28 Mar 2023 22:44:09 +0000 (22:44 +0000)
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 <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: WANG Xuerui <git@xen0n.name>
src/runtime/internal/atomic/atomic_loong64.s

index 3d802beaa74fc47a867ce05b6989d8a0d710a849..34193add3ed641b5f54b87f822cd6bc756d5b6e8 100644 (file)
@@ -89,7 +89,7 @@ TEXT ·Xaddint64(SB), NOSPLIT, $0-24
 //     } 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 @@ TEXT ·Loadp(SB),NOSPLIT|NOFRAME,$0-16
 
 // 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)