plan9fox/sys/src/cmd/5a
cinap_lenrek b46a0e97ea 5a: assemble constant >>0 right shifts as <<0 (no shift), allow >>32
previously, right shift >>0 resulted in >>32 being emited. this
is especially problematic when the shift count comes from a macro
expansion.

we now handle constant shift >>0 as <<0 (no shift) and allow
shift by 32 be specified.

this applies to logical right shift (>>) arithmetic right shift (->)
and right rotate (@>).
2016-09-03 17:11:38 +02:00
..
a.h import updated compilers from sources 2012-07-30 19:11:16 +02:00
a.y 5a: assemble constant >>0 right shifts as <<0 (no shift), allow >>32 2016-09-03 17:11:38 +02:00
lex.c 5a: ROL instruction 2016-07-15 15:04:32 +02:00
mkfile import updated compilers from sources 2012-07-30 19:11:16 +02:00