Received: from eggs.gnu.org ([2001:4830:134:3::10]:49830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9FKb-0003pu-EP for qemu-devel@nongnu.org; Fri, 31 Jan 2014 09:44:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9FKV-00060V-L2 for qemu-devel@nongnu.org; Fri, 31 Jan 2014 09:44:33 -0500 Received: from mail-qa0-x22d.google.com ([2607:f8b0:400d:c00::22d]:54991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9FKV-00060O-Bz for qemu-devel@nongnu.org; Fri, 31 Jan 2014 09:44:27 -0500 Received: by mail-qa0-f45.google.com with SMTP id ii20so6200414qab.4 for ; Fri, 31 Jan 2014 06:44:26 -0800 (PST) Sender: Richard Henderson From: Richard Henderson Date: Fri, 31 Jan 2014 08:43:35 -0600 Message-Id: <1391179418-13422-3-git-send-email-rth@twiddle.net> In-Reply-To: <1391179418-13422-1-git-send-email-rth@twiddle.net> References: <1391179418-13422-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 2/5] 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 Cc: aurelien@aurel32.net These are not needed by users of tcg-target.h. No need to recompile when we adjust them. 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