]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/internal/obj/riscv: fix illegal form of MOV instructions
authorBen Shi <ben.shi@streamcomputing.com>
Thu, 31 Mar 2022 14:34:32 +0000 (14:34 +0000)
committerBen Shi <powerman1st@163.com>
Fri, 1 Apr 2022 01:17:45 +0000 (01:17 +0000)
commit5dbfa6e61a2a733bca601c330967d12a3a5b12f4
tree4862658f6e2272573b559167d7168e7b6548bc82
parentbaf6df06c0525b0bbcf43066f3360eb31b8e7941
cmd/internal/obj/riscv: fix illegal form of MOV instructions

The MOV like instructions should only have two operands.

Change-Id: Icbfb49e47a91ac305194c2f140d3d81c912f6d6d
GitHub-Last-Rev: 2b25aaa0ed126e8a019db09247953b27123d493f
GitHub-Pull-Request: golang/go#52073
Reviewed-on: https://go-review.googlesource.com/c/go/+/397175
Run-TryBot: Ben Shi <powerman1st@163.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: mzh <mzh@golangcn.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/asm/internal/asm/testdata/riscv64error.s
src/cmd/internal/obj/riscv/obj.go