diff options
author | Richard Henderson <rth@twiddle.net> | 2010-04-09 10:45:49 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-26 20:06:17 +0200 |
commit | 0085bd5161190840ed810d771a63c8a66e7bc380 (patch) | |
tree | 448d5ce24a37db190f33cb542c2ca4cadc85debd /tcg/hppa/tcg-target.h | |
parent | ed18c5ce1d2aabdaa0a138463789b9fe812bb0e0 (diff) |
tcg-hppa: Constrain immediate inputs to and_i32, or_i32, andc_i32.
Define "M" constraint for and_mask_p and "O" constraint for or_mask_p.
Assume that inputs are correct in tcg_out_ori and tcg_out_andi.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/hppa/tcg-target.h')
-rw-r--r-- | tcg/hppa/tcg-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/hppa/tcg-target.h b/tcg/hppa/tcg-target.h index b76e389c38..7e21f1de4e 100644 --- a/tcg/hppa/tcg-target.h +++ b/tcg/hppa/tcg-target.h @@ -73,6 +73,8 @@ enum { #define TCG_CT_CONST_S5 0x0200 #define TCG_CT_CONST_S11 0x0400 #define TCG_CT_CONST_MS11 0x0800 +#define TCG_CT_CONST_AND 0x1000 +#define TCG_CT_CONST_OR 0x2000 /* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_SP |