]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/loong64: remove unuseless functions
authorlimeidan <limeidan@loongson.cn>
Sat, 6 Jan 2024 08:59:56 +0000 (16:59 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Tue, 30 Jul 2024 00:34:30 +0000 (00:34 +0000)
Change-Id: Ieee97a9477090d4273e54a6667b0a051bb0c1e9d
Reviewed-on: https://go-review.googlesource.com/c/go/+/565619
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
src/cmd/internal/obj/loong64/asm.go

index 749db66421717cec2514136f958862a8ac7f5e8a..45568c9a4f04c40af71ccb7c42b535f2d54a784b 100644 (file)
@@ -1247,14 +1247,6 @@ func buildop(ctxt *obj.Link) {
        }
 }
 
-func OP(x uint32, y uint32) uint32 {
-       return x<<3 | y<<0
-}
-
-func SP(x uint32, y uint32) uint32 {
-       return x<<29 | y<<26
-}
-
 func OP_TEN(x uint32, y uint32) uint32 {
        return x<<21 | y<<10
 }