Message ID | 20181112214503.22941-9-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-v6csp3657652ljp; Mon, 12 Nov 2018 14:04:32 -0800 (PST) X-Google-Smtp-Source: AJdET5fGXz4D+sRO8pNXJk7HiVeGn4AqwiDUeY+jp4xRjA++hRbIQN6li5WHzyj7tHj814nAz9iA X-Received: by 2002:a0c:df12:: with SMTP id g18mr2690531qvl.208.1542060272023; Mon, 12 Nov 2018 14:04:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542060272; cv=none; d=google.com; s=arc-20160816; b=JolTjTYFAWkkXqIequAft/PqI+xp4rX58pwMdevNZvw2Su6scarvkLweg4+gbh2XeF 7eelxX6OurGyvog5hSBZgtDx9xq3XtDB/n1hb8GDt4iz6UmQWEFW740sOEwMq1XBkEdf c1yqyu93wFp2+tzCqeWDo0FReRQL+rvMke9mhpfYywqfuTh/akIxJeX30okJ0hpHa5nC SdDCaJl1vy43QCIq3bwSW99v9SAnt3PNtdyV3enDe5/8VEHIhZYZ1ygETk0t4ZIzQWZA pQ+wqpdbg+WUfHNrGcSN/3VwOdNXPuv+Ek9vS59L02rkR5ZoGusSU2Sl9CxOznG5s58R mozQ== 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=dEMW7UG/VwRHHO8qBaUD73G0cEqvXtdIe4LBfAmg/J0=; b=GiMmIhYp/jqX411flm21TqmFPeYZF7AlZRy758zv2B/pEEFgXy2mm+WQ42INb2zZxf Au+25U4BY30cyVzfpv34XPvFgJsp2bVhPuN/IhRTVyFdqhzgNstAA/9r0j3cVOX2DnXV otKqDBT5vZuFOWmDnugsYDSEof0kta+7y5SFT6SJ6Ts4Ii8YrbkAPY2Of4Kd93V7/o4C DBTSupq3UT+ErmeNhVlro5K3M3IA85X5Fq8j89hLmRNznG77DO68GjPjzu16u6Q1KEUj TRujAA0ub60CXo7MNYd0f8QIHSOxJVHLbWCXhbERHzW189hybWN9kXWwlJ+zQl5JDT8T prFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=imCn6Tl+; 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 q50si1132893qta.261.2018.11.12.14.04.31 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 12 Nov 2018 14:04:32 -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=imCn6Tl+; 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]:50895 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gMKJq-00044m-NA for patch@linaro.org; Mon, 12 Nov 2018 17:04:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gMK3E-0003ZX-L2 for qemu-devel@nongnu.org; Mon, 12 Nov 2018 16:47:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gMK3B-0004z6-1y for qemu-devel@nongnu.org; Mon, 12 Nov 2018 16:47:19 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:42473) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gMK3A-0004yW-Rj for qemu-devel@nongnu.org; Mon, 12 Nov 2018 16:47:16 -0500 Received: by mail-wr1-x442.google.com with SMTP id u5-v6so5737988wrn.9 for <qemu-devel@nongnu.org>; Mon, 12 Nov 2018 13:47:16 -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=dEMW7UG/VwRHHO8qBaUD73G0cEqvXtdIe4LBfAmg/J0=; b=imCn6Tl+Hy3XXXbMx8wkEnhnBC1Whdtu6ihxy7PeklVc5+lcQdUT3DItwsi2lGmMZr neKB77AcRgdvz+OPH+KbvHu/55M0Ta6fBzEZ27SPIMaDhMC7WDgb/oUpjwlh6mrtOZaY Y328MLbxkt2fmPZeYueG1h3nfOCqV36driPh8= 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=dEMW7UG/VwRHHO8qBaUD73G0cEqvXtdIe4LBfAmg/J0=; b=sI6O7LrsHMhzEAUcOH3fOLtU2pyhpuG9rrFaqu5rf/yavU1Gh77b36AWnlYH5R6bmi lUZpheGmZPX26WfiYWxAnB5/cWUxi4ifw7PB82HrCa+Sec+JWx9i67QH7vHYpj1DOMks KFP+CMcd+Tl3rFC62rEFK0fyDq7sD61wdaUfqcHLl5NcXAaILo2okwlkkZcpZNlwHYzu rPVe/kjNpkQN1XqSmtiI3G4FbW1N9PYzr0l8QJOZ+cqBw4RiB2hBmkL8BZEFxVR+nnK+ 6U+rzUooJbsv6gJ/Wz2xELG+Sd/keBMBsUDunFeujPHQzQPRWpa3QB2VgJd64GN+G2Mu MdxA== X-Gm-Message-State: AGRZ1gID9Ij+dqZk0A23vHCsGGKS3J/Kiy2aLQEAJh+M1cAyU6HyL0Us ZTKoOOxRMNwx7FeLkdqCiXf56x7yrps9QA== X-Received: by 2002:adf:ae1a:: with SMTP id x26-v6mr2698529wrc.189.1542059235444; Mon, 12 Nov 2018 13:47:15 -0800 (PST) Received: from cloudburst.twiddle.net (178.red-213-99-154.dynamicip.rima-tde.net. [213.99.154.178]) by smtp.gmail.com with ESMTPSA id y123-v6sm3946907wme.38.2018.11.12.13.47.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Nov 2018 13:47:14 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Mon, 12 Nov 2018 22:44:54 +0100 Message-Id: <20181112214503.22941-9-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181112214503.22941-1-richard.henderson@linaro.org> References: <20181112214503.22941-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 08/17] tcg/aarch64: Add constraints for x0, x1, x2 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: cota@braap.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg: Move softmmu out-of-line
|
expand
|
diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c index 30091f6a69..148de0b7f2 100644 --- a/tcg/aarch64/tcg-target.inc.c +++ b/tcg/aarch64/tcg-target.inc.c @@ -125,6 +125,18 @@ static const char *target_parse_constraint(TCGArgConstraint *ct, const char *ct_str, TCGType type) { switch (*ct_str++) { + case 'a': /* x0 */ + ct->ct |= TCG_CT_REG; + tcg_regset_set_reg(ct->u.regs, TCG_REG_X0); + break; + case 'b': /* x1 */ + ct->ct |= TCG_CT_REG; + tcg_regset_set_reg(ct->u.regs, TCG_REG_X1); + break; + case 'c': /* x2 */ + ct->ct |= TCG_CT_REG; + tcg_regset_set_reg(ct->u.regs, TCG_REG_X2); + break; case 'r': /* general registers */ ct->ct |= TCG_CT_REG; ct->u.regs |= 0xffffffffu;
These are function call arguments that we will need soon. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/aarch64/tcg-target.inc.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.17.2