tcg-hppa: Fix in/out register overlap in add2/sub2.

Handle the output log part overlapping the input high parts.
Also, improve sub2 to handle some constants the second input low part.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Richard Henderson 2010-04-07 16:46:33 +02:00 committed by Aurelien Jarno
parent fd76e73a10
commit 91493631fe
2 changed files with 47 additions and 14 deletions

View file

@ -72,6 +72,7 @@ enum {
#define TCG_CT_CONST_0 0x0100
#define TCG_CT_CONST_S5 0x0200
#define TCG_CT_CONST_S11 0x0400
#define TCG_CT_CONST_MS11 0x0800
/* used for function call generation */
#define TCG_REG_CALL_STACK TCG_REG_SP