diff options
author | Richard Henderson <rth@twiddle.net> | 2014-01-27 13:02:31 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-02-17 10:12:29 -0600 |
commit | a1b29c9ae06abe7ded354eb70767e34dc035db72 (patch) | |
tree | 80850bc46e87e3f7c279dbd4ef5ae7d123f72d03 /tcg/i386/tcg-target.c | |
parent | 189f792dc5dd744c5f5d2333a7c52784e108974e (diff) |
tcg/i386: Move TCG_CT_CONST_* to tcg-target.c
These are not needed by users of tcg-target.h. No need to recompile
when we adjust them.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/i386/tcg-target.c')
-rw-r--r-- | tcg/i386/tcg-target.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 5d4cf9386e..7008b0eb7f 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -88,6 +88,10 @@ static const int tcg_target_call_oarg_regs[] = { #endif }; +/* Constants we accept. */ +#define TCG_CT_CONST_S32 0x100 +#define TCG_CT_CONST_U32 0x200 + /* Registers used with L constraint, which are the first argument registers on x86_64, and two random call clobbered registers on i386. */ |