]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/loong64: remove case 17 in func asmout
authorlimeidan <limeidan@loongson.cn>
Sat, 6 Jan 2024 03:34:34 +0000 (11:34 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 31 Jul 2024 15:38:21 +0000 (15:38 +0000)
There is no relative optab item case 17, remove it.

Change-Id: I3ceaa3283c3641afafd46362737ff847a1d80665
Reviewed-on: https://go-review.googlesource.com/c/go/+/565617
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: abner chenc <chenguoqi@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/internal/obj/loong64/asm.go

index 26ec30af37582e05a0924b9ca442d6c692f6ade6..fe71b90e8815e13121d5dc4bee9a6c03ee405a08 100644 (file)
@@ -1491,9 +1491,6 @@ func (c *ctxt0) asmout(p *obj.Prog, o *Optab, out []uint32) {
                        o1 = OP_16IRR(c.opirr(p.As), uint32(v)&0x1f, uint32(r), uint32(p.To.Reg))
                }
 
-       case 17:
-               o1 = OP_RRR(c.oprrr(p.As), uint32(REGZERO), uint32(p.From.Reg), uint32(p.To.Reg))
-
        case 18: // jmp [r1],0(r2)
                r := int(p.Reg)
                if r == 0 {