In powerpc ncg, add a speed hack for sti 8.
authorGeorge Koehler <xkernigh@netscape.net>
Tue, 18 Oct 2016 00:31:59 +0000 (20:31 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Tue, 18 Oct 2016 00:31:59 +0000 (20:31 -0400)
commitcfbc537959dcb03941e0e1b4e9b6751c077fa66d
tree803a441053586106761237511014c65a6f51788d
parentc7b68033ef0394d6583d5799a9f57becdbf3d509
In powerpc ncg, add a speed hack for sti 8.

ncg is too slow with this many registers.  A stack pattern "with GPR
GPR GPR" or "with REG REG REG" takes too long to pick registers,
causing ncg 8 to take about 2 seconds on each sti 8.  I introduce
REG_PAIR and there are only 4 such pairs.

For programs that use sti 8 (including C programs that copy 8-byte
structs), this speed hack improves the ncg run from several seconds to
almost instantaneous.

Also add a few COMMENT(...) lines in stacking rules.
mach/powerpc/ncg/table