ack/mach/powerpc
George Koehler 7c64dab491 Refactor how powerpc ncg pushes constants.
When loc (load constant) pushes a constant, it now checks the value of
the constant and pushes any of 7 tokens.  These tokens allow stack
patterns to recognize 16-bit signed integers (CONST2), 16-bit unsigned
integers (UCONST2), multiples of 0x10000 (CONST_HZ), and other
interesting forms of constants.

Use the new constant tokens in the rules for adi, sbi, and, ior, xor.
Adjust a few other rules to understand the new tokens.

Require that SUM_RC has a signed 16-bit constant, and OR_RC and XOR_RC
each have an unsigned 16-bit constant.  The moves from SUM_RC, OR_RC,
XOR_RC to GPR no longer touch the scratch register, because the
constant is not too big.
2016-10-16 13:58:54 -04:00
..
as Rename our pseudo-opcode 'la' to 'li32'. 2016-09-18 17:03:23 -04:00
libem Rewrite fef 8 in powerpc assembly. 2016-09-29 15:52:54 -04:00
libend Mostly add support for the experimental and largely broken linuxppc platform. 2016-09-15 23:12:03 +02:00
ncg Refactor how powerpc ncg pushes constants. 2016-10-16 13:58:54 -04:00
top Distributions are a pain --- let's not bother any more. Instead, we just tag 2016-09-02 23:00:38 +02:00