Received: from eggs.gnu.org ([2001:4830:134:3::10]:60462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFZIX-0005VW-4j for qemu-devel@nongnu.org; Mon, 17 Feb 2014 20:16:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFZIS-0007cQ-BJ for qemu-devel@nongnu.org; Mon, 17 Feb 2014 20:16:33 -0500 Received: from mail-qa0-x233.google.com ([2607:f8b0:400d:c00::233]:32878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFZIS-0007cH-6q for qemu-devel@nongnu.org; Mon, 17 Feb 2014 20:16:28 -0500 Received: by mail-qa0-f51.google.com with SMTP id f11so22435010qae.38 for ; Mon, 17 Feb 2014 17:16:27 -0800 (PST) Received: from pike.twiddle.home.com ([12.236.175.36]) by mx.google.com with ESMTPSA id w2sm50415225qad.19.2014.02.17.17.16.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Feb 2014 17:16:27 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Mon, 17 Feb 2014 19:16:02 -0600 Message-Id: <1392686165-10706-13-git-send-email-rth@twiddle.net> In-Reply-To: <1392686165-10706-1-git-send-email-rth@twiddle.net> References: <1392686165-10706-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 12/15] tcg/i386: Move TCG_CT_CONST_* to tcg-target.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org These are not needed by users of tcg-target.h. No need to recompile when we adjust them. Reviewed-by: Paolo Bonzini Reviewed-by: Aurelien Jarno Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.c | 4 ++++ tcg/i386/tcg-target.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 5d4cf93..7008b0e 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. */ diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 92c0fcd..747b797 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -64,9 +64,6 @@ typedef enum { TCG_REG_RDI = TCG_REG_EDI, } TCGReg; -#define TCG_CT_CONST_S32 0x100 -#define TCG_CT_CONST_U32 0x200 - /* used for function call generation */ #define TCG_REG_CALL_STACK TCG_REG_ESP #define TCG_TARGET_STACK_ALIGN 16 -- 1.8.5.3