qemu/tcg/ppc64
Richard Henderson b18d5d2b80 tcg-ppc64: Handle long offsets better
Previously we'd only handle 16-bit offsets from memory operand without falling
back to indexed, but it's easy to use ADDIS to handle full 32-bit offsets.

This also lets us unify code that existed inline in tcg_out_op for handling
addition of large constants.

The new R2 temporary was marked reserved for the AIX calling convention, but
the register really is call-clobbered and since tcg generated code has no use
for a TOC, it's available for use.

Signed-off-by: Richard Henderson <rth@twiddle.net>
2013-09-25 07:46:32 -07:00
..
tcg-target.c tcg-ppc64: Handle long offsets better 2013-09-25 07:46:32 -07:00
tcg-target.h tcg-ppc64: Implement muluh, mulsh 2013-09-02 09:08:29 -07:00