Message ID | 1461931684-1867-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 52B3EBF29F for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 29 Apr 2016 12:09:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C4D9201FA for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 29 Apr 2016 12:09:14 +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 053A0200E7 for <patchwork-qemu-devel@patchwork.kernel.org>; Fri, 29 Apr 2016 12:09:14 +0000 (UTC) Received: from localhost ([::1]:53860 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 1aw7EM-0002x8-1v for patchwork-qemu-devel@patchwork.kernel.org; Fri, 29 Apr 2016 08:09:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1aw7E4-0002fT-Et for qemu-devel@nongnu.org; Fri, 29 Apr 2016 08:08:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1aw7Dr-0001uf-Uy for qemu-devel@nongnu.org; Fri, 29 Apr 2016 08:08:47 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:34497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1aw7Dq-0001ly-Lh; Fri, 29 Apr 2016 08:08:39 -0400 Received: by mail-wm0-x244.google.com with SMTP id n129so4549857wmn.1; Fri, 29 Apr 2016 05:08:10 -0700 (PDT) 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=T+s7tj7AwVVt/6rD+MTUotEw1P+9UJ5YtYtHdH54+dk=; b=e8rQOkA6KK12GDD3tzJ3cbEUNf9Zof5nn7NN8bv3R4EGiP1UCC2f5Rik5o4Q+KbyKL 51Umf90c2CyEZgz6mroTLmFqYZaDJJaNTDBQyZnfXu6OBc4fKDGzeYFQUyZGFyiIXbws NoOOaEd/eJrOkMfHtg+MyKUyDSGPzTBgR/HVBPhJ0y7kQYPLMo+WI24eEJTiYOvJxx/H q/bxuviLc0YfUBQeYMcMA5n2/eKWoBj/U3wh0ion/mOLW/mJqS6w9EtV/t9zy+rFprY+ WVlJkd986aY6ylPynudDcSpk2+pNK2/PiFWWZ82fF7p0hvL8TCqm9K8ORVASN/QV6oQi Qgvg== 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=T+s7tj7AwVVt/6rD+MTUotEw1P+9UJ5YtYtHdH54+dk=; b=Ceu2LR4CcDb3Jlm7wqCVWnkjTF13E9qlnWb3osS8/EdVV0V1ySVsaDs45hc9ai0nJ1 uUOp67yLlYbp+c1zPZYuLL6anunzRxLNK46zLJ10tWiEgpsSQphdT6/pt/PWEfFx3fY2 Bx2i/Fr4HngcbNWPhBo6I/fo4pEVeN+dYlQwbSB+6hL3nBTSySVaGsnI8/PQPuyYGVyk 9NBL/tOPBUYGBoTGIBmrNY7zWODaSQc1FE1GaYtUU8y4oTiEku8CabpxuwpknCdvEjoz lxGHBj+SyGZ+UWgfux5o1WXBUxsn2zJR1T8kQv++/o6+bcmRvUoDa7MF7r7+v9O8PGPS 6NVw== X-Gm-Message-State: AOPr4FUrZAqeKDztlH4twL427LIJTIpD0vQbbYXQa92dTeLL5v7DVSg5zhAZs0IobI/bzA== X-Received: by 10.194.234.167 with SMTP id uf7mr21377436wjc.122.1461931686931; Fri, 29 Apr 2016 05:08:06 -0700 (PDT) Received: from localhost (81-231-233-234-no56.tbcn.telia.com. [81.231.233.234]) by smtp.gmail.com with ESMTPSA id c16sm3013414wme.16.2016.04.29.05.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Apr 2016 05:08:06 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Fri, 29 Apr 2016 14:07:58 +0200 Message-Id: <1461931684-1867-2-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1461931684-1867-1-git-send-email-edgar.iglesias@gmail.com> References: <1461931684-1867-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: 2a00:1450:400c:c09::244 Subject: [Qemu-devel] [PATCH v3 1/7] tcg: Add tcg_set_insn_param 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: edgar.iglesias@xilinx.com, serge.fdrv@gmail.com, qemu-arm@nongnu.org, alex.bennee@linaro.org, rth@twiddle.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <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 40c8fbe..01dfebd 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -595,6 +595,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) {