Message ID | 20181123144558.5048-3-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2207727ljp; Fri, 23 Nov 2018 06:46:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/XmaqW4Q8Cx8ITgsqGl8EWnBgrtDmUItjgLtrMuN00JSnBOwriFT8Bum1IN3+Q71DQj9vJP X-Received: by 2002:a37:694:: with SMTP id 142mr14275882qkg.98.1542984407102; Fri, 23 Nov 2018 06:46:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542984407; cv=none; d=google.com; s=arc-20160816; b=RxDC3aUB6B6PBPVFIdSDPSgBRHxLoPlDM02zJ1c70+AkNu/OHnzWgjvj3QMnQN0dyS swqd83uDpWT6NqBxFGqdhnmuAROc9i6zgQGKZdXk5mn4/tugJOwFsl7nLvBdLQZrXL/l yoVfEnNJyQ4UnyRUhwihKQLmaYsaDmMg0TK92ZvYRfIue04+c+V10asy9pN6ff5JKfkj x+Z0Np4cnsfoBQeoL8UzAW1YazjoXSJnuIH99xGkjCF3ZyRBstuIRMvFx832hg/qut0t h+e1LYyFjCmwurQxb8Ct1EN4KIrrmPY8PWUeMoLR7P40xSedDbPpgu1C3KYbyglz0Mpy 9vTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=yNQmwVUAvqPZBQpEvZxNr8bwL4aHF0jtNAxTMDvMNMk=; b=qxgikkTT+epe/r4tN1tNdk63rkKOxQvS3ltInDYcQiJheA6eb8fmJQTDlhVroModTi I4nEkcHe7Hgw1jiXzeP6X09u3FqhUnZh2WqmwfqWqvy4uxOCD+siuAz5qg2TT5L8DzOa oHadi1fBpO5KejU4e/YNZkLjiGIYXaPkJ/+3AYLdbCq5HddTlItx8uMn16mo4IGDntJQ 0Ae6U960dWYsehBFm4PTAKUlpw3ae/Jf9XwgCIiWbkh6uB+BY3gpsxFxdPrPJaKLl5ib zloqMLHV5hpa18PQ3sf+G85Wzrh/AuYNMnb4SsidNq5gg1Hg8Tsb5upcRjJ6Ez2LSI2G 8Y3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=auygdKAI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id z137si19329qka.25.2018.11.23.06.46.44 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 23 Nov 2018 06:46:47 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=auygdKAI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gQCjE-0007zz-CD for patch@linaro.org; Fri, 23 Nov 2018 09:46:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gQCif-0007yQ-Qt for qemu-devel@nongnu.org; Fri, 23 Nov 2018 09:46:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gQCia-00036Z-SU for qemu-devel@nongnu.org; Fri, 23 Nov 2018 09:46:09 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:38430) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gQCia-00035e-Mh for qemu-devel@nongnu.org; Fri, 23 Nov 2018 09:46:04 -0500 Received: by mail-wr1-x442.google.com with SMTP id v13so9116944wrw.5 for <qemu-devel@nongnu.org>; Fri, 23 Nov 2018 06:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yNQmwVUAvqPZBQpEvZxNr8bwL4aHF0jtNAxTMDvMNMk=; b=auygdKAIWnmgSzUQxRW14q/DaERmdN8xaFhEJFbTb/MqOJdNS1f0RUyk6vQLBq8/sv 8qSVGhydwEL6GweqBnf0Ey93nrr2BXCSsKX0ApmnzDYfNA2XzQT0iCitnN/WX0KV83nG SGpVNRqpVMQ8RRm8qVb3oQscuWfpCTV6s5hro= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yNQmwVUAvqPZBQpEvZxNr8bwL4aHF0jtNAxTMDvMNMk=; b=R7kapbzfYqeto3g73e1C8KIsE7gLILOmaJtBv9g/tPvd2HYiVWU2wiIuZfrj0zkLn4 7h6jmhwijQWfaKk2jGfiexWNs5vY8RJvAFT3afwMIvpgVmHiTkHzD4grUWebPzET/gV1 O2qTfCewuC2nKKRi+P0MLBAiqrRDOqgIjw8hKnK3LshboGWjFDbgHLJGcdYfjeDqgdK9 PqPZ9H8cHi1M4lSNUxYLsza/RBMJJHXkX9c2eDnMNcEHKEddIQ/GiKLj1zFl96kWr8iP 3xRcoTfqqJ5gy68t95NFVIAYSle8Sclp+2y4KdX7b4yMgR8Zy6FfBMZnAKMRAoq7rDJF /qVQ== X-Gm-Message-State: AA+aEWbMczpzwQm0WGddy8GH22asfy3Qo7uGkCh04XsAOuI6g73B4O9j bwP0x+IJXAE3TLQ3C18tdPXjvWcjh7QAsA== X-Received: by 2002:a5d:46c2:: with SMTP id g2mr14794455wrs.49.1542984362856; Fri, 23 Nov 2018 06:46:02 -0800 (PST) Received: from cloudburst.twiddle.net ([195.77.246.50]) by smtp.gmail.com with ESMTPSA id p74sm10339630wmd.29.2018.11.23.06.46.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Nov 2018 06:46:02 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Fri, 23 Nov 2018 15:45:23 +0100 Message-Id: <20181123144558.5048-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181123144558.5048-1-richard.henderson@linaro.org> References: <20181123144558.5048-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 Subject: [Qemu-devel] [PATCH for-4.0 v2 02/37] tcg/i386: Move TCG_REG_CALL_STACK from define to enum X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Alistair.Francis@wdc.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg: Assorted cleanups
|
expand
|
Richard Henderson <richard.henderson@linaro.org> writes: > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > tcg/i386/tcg-target.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h > index 7488c3d869..2441658865 100644 > --- a/tcg/i386/tcg-target.h > +++ b/tcg/i386/tcg-target.h > @@ -86,10 +86,10 @@ typedef enum { > TCG_REG_RDI = TCG_REG_EDI, > > TCG_AREG0 = TCG_REG_EBP, > + TCG_REG_CALL_STACK = TCG_REG_ESP > } TCGReg; > > /* used for function call generation */ > -#define TCG_REG_CALL_STACK TCG_REG_ESP > #define TCG_TARGET_STACK_ALIGN 16 > #if defined(_WIN64) > #define TCG_TARGET_CALL_STACK_OFFSET 32 -- Alex Bennée
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 7488c3d869..2441658865 100644 --- a/tcg/i386/tcg-target.h +++ b/tcg/i386/tcg-target.h @@ -86,10 +86,10 @@ typedef enum { TCG_REG_RDI = TCG_REG_EDI, TCG_AREG0 = TCG_REG_EBP, + TCG_REG_CALL_STACK = TCG_REG_ESP } TCGReg; /* used for function call generation */ -#define TCG_REG_CALL_STACK TCG_REG_ESP #define TCG_TARGET_STACK_ALIGN 16 #if defined(_WIN64) #define TCG_TARGET_CALL_STACK_OFFSET 32
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/i386/tcg-target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.2