From: limeidan Date: Sat, 6 Jan 2024 08:59:56 +0000 (+0800) Subject: cmd/internal/obj/loong64: remove unuseless functions X-Git-Tag: go1.24rc1~1348 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5881c41e7f6c17709ba3b4ada13fa15ab4bae2df;p=gostls13.git cmd/internal/obj/loong64: remove unuseless functions Change-Id: Ieee97a9477090d4273e54a6667b0a051bb0c1e9d Reviewed-on: https://go-review.googlesource.com/c/go/+/565619 Reviewed-by: Dmitri Shuralyov Reviewed-by: Michael Knyszek Reviewed-by: Qiqi Huang Reviewed-by: sophie zhao LUCI-TryBot-Result: Go LUCI Reviewed-by: abner chenc --- diff --git a/src/cmd/internal/obj/loong64/asm.go b/src/cmd/internal/obj/loong64/asm.go index 749db66421..45568c9a4f 100644 --- a/src/cmd/internal/obj/loong64/asm.go +++ b/src/cmd/internal/obj/loong64/asm.go @@ -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 }