plan9fox/sys
cinap_lenrek 2598a9e312 cc: restore side(), but do not consider OINDEX as side effect free
from charles forsuth:

because the previous version thought OINDEX might have a side effect, it
stopped it building a tower of them.
probably the best thing is to limit that anyway, since each one consumes
2-3 registers, so towering them can
keep even more active, and the x86 hasn't got that many.

the quick hack is to return that case to the earlier state by treating
OINDEX as a side-effect in side().
it's not a bad thing to do in the OSTRUCT case, for similar reasons: it's
better to collapse the indexed pointer
into a direct register, instead of repeating the indexing operation through
the copying of the value.
OINDEX isn't a machine-independent operation, so it doesn't affect the uses
in ../cc
2015-10-08 17:14:07 +02:00
..
doc
games/lib fortunes: Please be respectful in this forum. 2015-09-26 19:10:40 -04:00
include ape: set MB_CUR_MAX to 4 in stdlib.h for 21-bit runes (thanks erik quanstro) 2015-09-29 15:17:21 +02:00
lib /sys/lib/dist/ndb/common: correct authdom=inri 2015-09-16 13:29:04 -04:00
man add timepic(1) and qr(1) manpages 2015-09-29 20:49:52 +02:00
src cc: restore side(), but do not consider OINDEX as side effect free 2015-10-08 17:14:07 +02:00