]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/loong64: reclassify three-register operation instructions and two...
authorlimeidan <limeidan@loongson.cn>
Fri, 5 Jan 2024 02:33:42 +0000 (10:33 +0800)
committerabner chenc <chenguoqi@loongson.cn>
Thu, 1 Aug 2024 00:51:04 +0000 (00:51 +0000)
commitee3da5061789cd3d2a6558b71a99ab7ecda23777
treea972ae60bede07a5097b8e4e685ef766e23eb5a8
parentecadbe9faa1752fb949471b95743a48e89a65ee2
cmd/internal/obj/loong64: reclassify three-register operation instructions and two-register operation instructions

The instructions belonging to case 32 have the same structure as the
instructions in case 2.

The instructions in case 33 are actually two-register operation
instructions. We move their definitions from function oprrr to oprr and
merge their implementation into case 9.

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