From patchwork Fri Nov 23 14:45:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 151878 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2207756ljp; Fri, 23 Nov 2018 06:46:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xf57Fp29bShJP6bUOB7VtETMJgdRgQV8NpIXH1ejFj67Vqzq0q5/s85SUpraGAwCSuzADu X-Received: by 2002:ad4:5307:: with SMTP id y7mr15238573qvr.9.1542984408798; Fri, 23 Nov 2018 06:46:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542984408; cv=none; d=google.com; s=arc-20160816; b=e3w2ZnZnFobZ/QLr4qDx6Yn2MOBlmBt1BaVRoYGhOdjWW7WJM0wCnZNq8V5WnUDPwz 4f2sKEDVKD5t+l0IWegXnj4/0YHeeBPqtTlPb/8dVXE1XDpgNIK7l9VNDEoigy9l6oRb 1FRasOfW+TYHO9twUskLhkGKywxhquxpmBW+B2l7KEU2rtSx0c1qfyvyV390Kp8bEaXm iwVibl2FLVB225FbsI/VbVGRM70nHLL4+/KVFC3ijJoOn6Hpw59+k1tWEbGU2IrxjEoO erNUQ6VIf/3Z7RwoVy/Lceavdd1rG4BfQ2/yuzm5fUjVL3xk6zN2/ZmvJi7BLNsMm1V6 vUPA== 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=4t2w9HZ8vg+d4uGvmAWGgfBIIOHnvX6FaBvg4rQXysU=; b=K+7xH7HkdJIOD9vgTmtjg7UEWZlGVPOQEX4e64+T47Rso3GBerenDRrR2KneYOP1Xm sWTKmrXSRoIu/I3zlzKcoh+yf/84T937wuIIntZdACufTIyGGwgMjM+rx4F1DVWvAZLQ DpOR+NPuTr3+8U91wa7S6MZvAn7UB64WxU4/rp75nf8sAOBBW4mx91XMI7tiokds8tto Hj5iMDmpIv8YcqOHemWSU165fE7flIQGjCtXCBAlTZMx7a+HlQ8jGyxaX2wve+Z639Wi VYD+Y03Pu5g0XxVBUPaSVYIrxgK1tELlBfzUiDh/pNimafkYvFEDCfPmpOUmRUFZlFX6 DSNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CUa3zrQx; 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: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id f20si9801101qto.316.2018.11.23.06.46.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 23 Nov 2018 06:46:48 -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=CUa3zrQx; 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]:52758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQCjI-00081c-6A for patch@linaro.org; Fri, 23 Nov 2018 09:46:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gQCig-0007yX-E0 for qemu-devel@nongnu.org; Fri, 23 Nov 2018 09:46:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gQCif-00039z-Is for qemu-devel@nongnu.org; Fri, 23 Nov 2018 09:46:10 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:55871) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gQCid-00037I-J7 for qemu-devel@nongnu.org; Fri, 23 Nov 2018 09:46:09 -0500 Received: by mail-wm1-x342.google.com with SMTP id y139so12074450wmc.5 for ; Fri, 23 Nov 2018 06:46:06 -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=4t2w9HZ8vg+d4uGvmAWGgfBIIOHnvX6FaBvg4rQXysU=; b=CUa3zrQxaSsRVNpzDgASUiGJAmfFCCEKf5ha3O9XlDin633IP3hkjUIpJHjV51DNHc Fu5EI8d1OPOxTkHBHoFUiAs+OSqf5l5Brfy57A/TXfebQ4qQ8cWHHlxue07Y2rZo/126 CDgIPZTWAYlCCxiJ+bmwtUwnzy83CNmpm5K2I= 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=4t2w9HZ8vg+d4uGvmAWGgfBIIOHnvX6FaBvg4rQXysU=; b=cXpJiXb1RhEVlKcO/wXMcyQXniTDEYZY9vXhH5BLvx+Owfv+hksNJqDMGh1KX83Sqj IUVIPC7H8m9dkgNgzBWHyPNFltSFIfEpBlldFyra8V8RwTBoHLN6AyDF4vljrAVL7qtf LK12zcwKSlYyvou7GqsdPvUAt95Ev4TKuhb4iNfeJCiyHADvVGDw2OpxJvcnuS2m5QLH pyJkmIvBxYwOoh6hkcyGjVF4mdqxzi/PBVc671QikfkVc6YIKAk87iacO+uSo2gC7TOT ZDcmUXEis7aIVvwm8nguyiU6P6+08VHh08dGOazhXSa/v+fIJBGtxmAUOyuR8BtYaFHL dsdw== X-Gm-Message-State: AGRZ1gKy1IUSYJArIKkCIEoytWv0RWHR2ADkM4Y0gyq+fnQJSaJhRy9V Mv779NTbupD/YTGJ1sv0vqPjwnpt5RvCZw== X-Received: by 2002:a1c:58c5:: with SMTP id m188-v6mr13879315wmb.85.1542984365689; Fri, 23 Nov 2018 06:46:05 -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.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Nov 2018 06:46:05 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 23 Nov 2018 15:45:26 +0100 Message-Id: <20181123144558.5048-6-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::342 Subject: [Qemu-devel] [PATCH for-4.0 v2 05/37] tcg/i386: Add constraints for r8 and r9 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair.Francis@wdc.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" These are function call arguments for x86_64 we will need soon. Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.inc.c | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.17.2 Reviewed-by: Alex Bennée diff --git a/tcg/i386/tcg-target.inc.c b/tcg/i386/tcg-target.inc.c index 4f66a0c5ae..8aef66e430 100644 --- a/tcg/i386/tcg-target.inc.c +++ b/tcg/i386/tcg-target.inc.c @@ -233,6 +233,14 @@ static const char *target_parse_constraint(TCGArgConstraint *ct, ct->ct |= TCG_CT_REG; tcg_regset_set_reg(ct->u.regs, TCG_REG_EDI); break; + case 'E': /* "Eight", r8 */ + ct->ct |= TCG_CT_REG; + tcg_regset_set_reg(ct->u.regs, TCG_REG_R8); + break; + case 'N': /* "Nine", r9 */ + ct->ct |= TCG_CT_REG; + tcg_regset_set_reg(ct->u.regs, TCG_REG_R9); + break; case 'q': /* A register that can be used as a byte operand. */ ct->ct |= TCG_CT_REG;