• Russ Cox's avatar
    cmd/5a: prepare reglist correctly · 7e3b30ae
    Russ Cox authored
    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/3961Reviewed-by: 's avatarDave Cheney <dave@cheney.net>
    7e3b30ae
Name
Last commit
Last update
..
Makefile Loading commit data...
a.h Loading commit data...
a.y Loading commit data...
doc.go Loading commit data...
lex.c Loading commit data...
y.tab.c Loading commit data...
y.tab.h Loading commit data...