diff options
author | Richard Henderson <rth@twiddle.net> | 2012-10-10 09:02:42 -0700 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-10-13 10:39:53 +0000 |
commit | 89269f6cea17d8381e0c366c44780f58ac3c67d8 (patch) | |
tree | 699e574a179652558c787750f5f23b2272388d83 /tcg/sparc/tcg-target.h | |
parent | 4ec28e255f532c245cb477d49d0793af657e4149 (diff) |
tcg-sparc: Use Z constraint for %g0
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg/sparc/tcg-target.h')
-rw-r--r-- | tcg/sparc/tcg-target.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tcg/sparc/tcg-target.h b/tcg/sparc/tcg-target.h index c718a52e26..c2fbb23abb 100644 --- a/tcg/sparc/tcg-target.h +++ b/tcg/sparc/tcg-target.h @@ -62,8 +62,9 @@ typedef enum { TCG_REG_I7, } TCGReg; -#define TCG_CT_CONST_S11 0x100 -#define TCG_CT_CONST_S13 0x200 +#define TCG_CT_CONST_S11 0x100 +#define TCG_CT_CONST_S13 0x200 +#define TCG_CT_CONST_ZERO 0x400 /* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_O6 |