go/src/cmd/5a
Russ Cox 7e3b30aea6 cmd/5a: prepare reglist correctly
This was working when 5a was built on x86 because REG_R0 = 32,
and a 32-bit shift on x86 uses only the low 32 bits of the shift count.

On ARM, the shift clamping is different.

Moving to Go will avoid these differing shift semantics.
I tripped over and fixed this bug in new5a the same way earlier tonight.

Change-Id: Id56aa0bb1830ccf250960f843e0acb8a0409e87d
Reviewed-on: https://go-review.googlesource.com/3961
Reviewed-by: Dave Cheney <dave@cheney.net>
2015-02-05 16:05:13 +00:00
..
Makefile cmd/*: add -d option to bison. 2012-02-21 10:50:58 -05:00
a.h liblink: renumber ARM conditions to make C_SCOND_NONE == 0 2015-02-03 18:22:26 +00:00
a.y cmd/5a: prepare reglist correctly 2015-02-05 16:05:13 +00:00
doc.go doc/asm: more about SP, ARM R11 2013-11-13 21:29:34 -05:00
lex.c liblink: renumber ARM conditions to make C_SCOND_NONE == 0 2015-02-03 18:22:26 +00:00
y.tab.c cmd/5a: prepare reglist correctly 2015-02-05 16:05:13 +00:00
y.tab.h Revert "liblink, cmd/5a: fix reglist parsing/printing after changing REG_R0 to 32" 2015-02-05 10:23:35 +00:00