Message ID | 1455912292-23807-2-git-send-email-edgar.iglesias@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AE980C0553 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 19 Feb 2016 20:05:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1422F2044C for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 19 Feb 2016 20:05:21 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 75BD12044B for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 19 Feb 2016 20:05:20 +0000 (UTC) Received: from localhost ([::1]:54993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1aWrIl-0003iO-Qe for patchwork-qemu-devel@patchwork.kernel.org; Fri, 19 Feb 2016 15:05:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1aWrIW-0003aU-6y for qemu-devel@nongnu.org; Fri, 19 Feb 2016 15:05:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1aWrIV-0007Fp-8Z for qemu-devel@nongnu.org; Fri, 19 Feb 2016 15:05:04 -0500 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:36805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1aWrIV-0007Fe-1p; Fri, 19 Feb 2016 15:05:03 -0500 Received: by mail-pf0-x234.google.com with SMTP id e127so56458537pfe.3; Fri, 19 Feb 2016 12:05:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uO1vFpCmSaI684YhiGNJjpdZ/4Q/5ONSG927kCLVAzs=; b=QIkTMRGTJKkGbxyPLJhyYpZwOw4OyqFZ3+Eg2t0RgYF25FOdP4O52QWIvGvsdiRg1t 0quM2ZQGfoLIys9z6dLd2j+G3TrbB4L6m3PuEkjdfTa68B41RrLrEatzefbxUUkXpIvF wrycZvp1ZuCCF49oZFKQzYdcKyyLeHTmyoDiT2UH14/i/+umuy8yLB5O36X9U+eIdGzD roTgoSe12RP7WxYa8btHafGR0B5PvOmrygheExNJ/uxGL4WhLg6zFmt9gA4tQNM7hlKr nkeyJPy8VZZASfbB15Qsa/bdpkgjKHdWxmGPQhAu0zbbBNNp3CSRrzZovRPJo51kO/vd Nq4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=uO1vFpCmSaI684YhiGNJjpdZ/4Q/5ONSG927kCLVAzs=; b=GA7WHQIwp4pPdlWAX9dA8oKqQpDt7BDdU4L3xkoqxj2YY31/RcZzdrUw+1D7Sltqp9 AqbkRFY/85p99QU5o4GIrc6zwfOUGCJo/m4RxfgAyN1q17aRH65tCo8aSy+1Zqsk9drI yA4tdEPF2PlfuXpm4TUTpceJQA2K5BLP6oBa8cVoHJ5WdFH11Dmet+fub5fb/izifDmE yJ9u6P+yRe5zCC7pA+tkTssz2PcIuTy0G/RaUXW7Uu+TQlbTs8uwFE/gtDVI7jhCqrLi CyPmVunj7E10kHd1DytzrouD6fuWgPk+Emlxt48g5GG7+Od5bIG9JErrszm9qcA5yRpP /AIg== X-Gm-Message-State: AG10YOSOqoYbVZDerf1bHnOv6AcjZnmns3uV0/fUsBUhj0b3n8osvcF0rKoVRLTwMtprxQ== X-Received: by 10.98.34.209 with SMTP id p78mr20731961pfj.154.1455912302392; Fri, 19 Feb 2016 12:05:02 -0800 (PST) Received: from localhost (ec2-52-8-89-49.us-west-1.compute.amazonaws.com. [52.8.89.49]) by smtp.gmail.com with ESMTPSA id m5sm19571678pfi.84.2016.02.19.12.05.00 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 19 Feb 2016 12:05:01 -0800 (PST) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Fri, 19 Feb 2016 21:04:45 +0100 Message-Id: <1455912292-23807-2-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1455912292-23807-1-git-send-email-edgar.iglesias@gmail.com> References: <1455912292-23807-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::234 Cc: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, qemu-arm@nongnu.org, alex.bennee@linaro.org, rth@twiddle.net Subject: [Qemu-devel] [PATCH v2 1/8] tcg: Add tcg_set_insn_param X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 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> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/tcg/tcg.h b/tcg/tcg.h index 83da5fb..00dd124 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -585,6 +585,12 @@ struct TCGContext { extern TCGContext tcg_ctx; +static inline void tcg_set_insn_param(int op_idx, int arg, TCGArg v) +{ + int op_argi = tcg_ctx.gen_op_buf[op_idx].args; + tcg_ctx.gen_opparam_buf[op_argi + arg] = v; +} + /* The number of opcodes emitted so far. */ static inline int tcg_op_buf_count(void) {