Skip to content

Commit

Permalink
loong64: fix self-assignment error
Browse files Browse the repository at this point in the history
Change-Id: Icdc21032f37ebd56f5bbbbe058637efbc7cef1f0
Reviewed-on: https://go-review.googlesource.com/c/arch/+/611135
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
limeidan authored and abner-chenc committed Sep 7, 2024
1 parent 8644b45 commit 292026d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loong64/loong64asm/plan9x.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func GoSyntax(inst Inst, pc uint64, symname func(uint64) (string, uint64)) strin
op = "MOVHU"
args = append(args[1:2], args[0:1]...)
} else {
args[0], args[1], args[2], args[3] = args[2], args[1], args[3], args[0]
args[0], args[2], args[3] = args[2], args[3], args[0]
}

case BCNEZ, BCEQZ:
Expand Down

0 comments on commit 292026d

Please sign in to comment.