1
0
mirror of https://github.com/golang/go synced 2024-10-05 07:11:22 -06:00
go/src/cmd/5a
Rob Pike 0eeb5cf088 cmd/internal/obj: clean up handling of register list operand on ARM
ARM operands for MOVM have lists of registers: [R1,R2,R5-R8].
Handle them cleanly.

It was TYPE_CONST with special handling, which meant operand printing
didn't work right and the special handling was ugly. Add a new TYPE_REGLIST
for this case and it all gets cleaner.

Change-Id: I4a64f70fb9765e63cb636619a7a8553611bfe970
Reviewed-on: https://go-review.googlesource.com/6300
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2015-02-28 20:10:59 +00:00
..
a.y cmd/internal/obj: clean up handling of register list operand on ARM 2015-02-28 20:10:59 +00:00
lex.go [dev.cc] cmd/6a, cmd/6g etc: replace C implementations with Go implementations 2015-02-23 19:56:40 +00:00
y.go cmd/internal/obj: clean up handling of register list operand on ARM 2015-02-28 20:10:59 +00:00