From patchwork Thu Oct 17 13:15:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 176608 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp924821ill; Thu, 17 Oct 2019 06:26:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqz716ZdkZ2UG1vZfVVIq4l7MgbrFUSi2EIwr8nnn0zHKePVbidt9P2MjqXtqaYF4V4ngmey X-Received: by 2002:a17:906:60c2:: with SMTP id f2mr3439886ejk.21.1571318778879; Thu, 17 Oct 2019 06:26:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571318778; cv=none; d=google.com; s=arc-20160816; b=B9St8S4xIGnox7rfCbW2usa+Cjbn5fDY/Mt5+PPMa25QuuHRb6O40jFwwb5ToW/FCW +1IzCyru6z0xO1wdgEAOtSlEELQ6+jAjNUKwjVgxN3nq7n51jkrGx6nCiaR1rHxj9PJb dvfeWqV6GMyROhLSSP5POir+Pr/XlKl0GAAhLAOFYQYIh7lKtamBXsK2lZcS5NpWf3v/ kiIxW9+wniwH75g+Y7aiDr235dHs7T4vS7I2LwwPEBzIOl/Hrd1whoxW8ImXUtajEg2j BTzYBseacjvucw7wdn01Rn1EKcnuXCe6+Xp0DYald3+UFNWW76lneET2axU+Te3KZR6T 5kLQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=eKrMpcgiWZC+DVZc7vkQy9WeCAb7Sz4gQtueyAwrb/8=; b=yTJNj/ajpR0KRTy+XV89mpb6vbahmwLIMBG+tLT9XatYjFTGkZD2A/2FUeERJyixEB i2RpG9+KLdxaT7mMEH+zcqbYZ9wc8IyrBpPcFO0fS1jslbYgavlvFWAYqZXtkl3kHAqH wqcOnprrtst8caXwLANM5lo7Gai4JNAeUuqhagHhvjv/vNvxS26juwHQHLvkgcR3si0t YVndiMRw0Z0+2q5ep6N6ETNVs8FLCiOREKs4/wTo/aWhVND6xix/BhtdsRPjXICS+bC8 miZD6BgT9Fk3rRJv8BXjNXFcNIPpqg3Pya0ghur3OmrxkvVrW+yj5V1vKW9Ueuyk96j0 2ERw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=v5xN3Jku; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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. [209.51.188.17]) by mx.google.com with ESMTPS id ox5si1279162ejb.252.2019.10.17.06.26.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 06:26:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=v5xN3Jku; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:47562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL5nF-0002xd-Ai for patch@linaro.org; Thu, 17 Oct 2019 09:26:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33877) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL5df-00080P-SU for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:16:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL5de-0005PC-OX for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:16:23 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:35617) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL5de-0005NS-Ij for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:16:22 -0400 Received: by mail-wr1-x431.google.com with SMTP id l10so1903837wrb.2 for ; Thu, 17 Oct 2019 06:16:22 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=eKrMpcgiWZC+DVZc7vkQy9WeCAb7Sz4gQtueyAwrb/8=; b=v5xN3JkuIt3wd6wuymwE0JqYIExwsxOuaFlP8UbfenSQRQlq7nm5pKzNCAWfSHg0iP P5f6UOXqVGD0f6/3mx5gVKJ8HzKoDQ7xTIj2WInqLRug/7jM9c2mfhcFedT8X72G9nEj XhfinKMtEc4aQlfS7J49ZpV6N+c3vg4Qez+p60LTzFp+2up3pUqBePdWzp9AAhHGGirQ lpLS8tC+wij/+qbgoi7RlIJ2Ut3zABqgRAfEMCgSaJG37ZVXBQCpXwjJgrUz2+W4WGO9 wXrxCeyX186iYd5IkreeA/oQ+AuUe+ERqLYf+KZ2bqvdcfdTNPtWWHYJrBQUzeuFQ5wG WNzA== 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:mime-version:content-transfer-encoding; bh=eKrMpcgiWZC+DVZc7vkQy9WeCAb7Sz4gQtueyAwrb/8=; b=SsZ8awDeqWOLC14HfnctaEuMkA+Z6eBc4I8dK8DOnpg/H9zDCYAr3oPlUIw6cZc3Sv GBDtlKoS1rFLEcvEvP1Vvlo8lkIgfSGOFwql/1qtFvX5Mxpp9XdNOPJteDGoUgi8bBfx rv3qyQ16gHn4Wjfb5aTxXVVbQQv+PdOGlVrWsAJ81vvVO42QqZHiafwKEOnC7iOrJQCi 2re9MafutsXfdBns1u3tXVyHilPYww0pUWJE+HZtk/TZn134C5ReKVRGTUCCioyabylm Os+zayNjZg2QRfZ3UuSa5eV7NuLCuEy85SGqi542Aq5i3jsDfyoQf46VcpKUCz+lLfon wU4A== X-Gm-Message-State: APjAAAWeU+3mQvUX3siPEnk+yXIyI8T8F1skTzqzbQ5zKAayt5wpOCWX iZvbKVSfkB0IWpF/pQsVzXJ0fyFx+sc= X-Received: by 2002:adf:ef0f:: with SMTP id e15mr3146256wro.312.1571318181446; Thu, 17 Oct 2019 06:16:21 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q14sm2681495wre.27.2019.10.17.06.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 06:16:21 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EEDD81FF9C; Thu, 17 Oct 2019 14:16:16 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v6 12/54] tcg: add tcg_gen_st_ptr Date: Thu, 17 Oct 2019 14:15:33 +0100 Message-Id: <20191017131615.19660-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191017131615.19660-1-alex.bennee@linaro.org> References: <20191017131615.19660-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robert.foley@futurewei.com, Richard Henderson , peter.puhov@futurewei.com, aaron@os.amperecomputing.com, cota@braap.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Will gain a user soon. Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- tcg/tcg-op.h | 5 +++++ 1 file changed, 5 insertions(+) -- 2.20.1 diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index e9cf172762..7c778f96f3 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -1249,6 +1249,11 @@ static inline void tcg_gen_ld_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) glue(tcg_gen_ld_,PTR)((NAT)r, a, o); } +static inline void tcg_gen_st_ptr(TCGv_ptr r, TCGv_ptr a, intptr_t o) +{ + glue(tcg_gen_st_, PTR)((NAT)r, a, o); +} + static inline void tcg_gen_discard_ptr(TCGv_ptr a) { glue(tcg_gen_discard_,PTR)((NAT)a);