Message ID | 1455912292-23807-2-git-send-email-edgar.iglesias@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C3A5014033E for <incoming@patchwork.ozlabs.org>; Sat, 20 Feb 2016 07:05:39 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=QIkTMRGT; dkim-atps=neutral Received: from localhost ([::1]:54999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1aWrJ3-0004ky-Pc for incoming@patchwork.ozlabs.org; Fri, 19 Feb 2016 15:05:37 -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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org |
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) {