go/src/cmd/asm
Paul E. Murphy 5ed81a3d14 cmd/asm: fix rlwnm reg,reg,const,reg encoding on ppc64
The wrong value for the first reg parameter was selected.
Likewise the wrong opcode was selected.  This should match
rlwnm (rrr type), not rlwinm (irr type).

Similarly, fix the optab matching rules so clrlslwi does
not match reg,reg,const,reg arguments.  This is not a valid
operand combination for clrlslwi.

Fixes #42368

Change-Id: I4eb16d45a760b9fd3f497ef9863f82465351d39f
Reviewed-on: https://go-review.googlesource.com/c/go/+/267421
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Lynn Boger <laboger@linux.vnet.ibm.com>
2020-11-04 21:26:23 +00:00
..
internal cmd/asm: fix rlwnm reg,reg,const,reg encoding on ppc64 2020-11-04 21:26:23 +00:00
doc.go cmd/asm, cmd/compile, doc: document -spectre flags 2020-06-05 16:54:48 +00:00
main.go cmd/dist,cmd/go: broaden use of asm macro GOEXPERIMENT_REGABI 2020-10-19 19:27:54 +00:00