summaryrefslogtreecommitdiff
path: root/sys/src/cmd/5c/list.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-09-03 17:11:38 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-09-03 17:11:38 +0200
commitb46a0e97ea5ec8666924ec34a6fa1cd86f899fcc (patch)
treef7a7cc70d1d4c6b772ef4c834dc5bdf6ab96fb74 /sys/src/cmd/5c/list.c
parent607f3bc55c2425c7e7d022961517793eb20f3b74 (diff)
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 (@>).
Diffstat (limited to 'sys/src/cmd/5c/list.c')
0 files changed, 0 insertions, 0 deletions