From patchwork Wed Jul 31 16:06:44 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: 170165 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4228208ile; Wed, 31 Jul 2019 09:21:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaMr/DOTa8uUqb4c7xRTgAyPP4unWQIVJFdbIMbMGzF/4wOzZTXw9Jf7gcl5ssJifrmwPJ X-Received: by 2002:a17:906:4694:: with SMTP id a20mr96820593ejr.67.1564590085115; Wed, 31 Jul 2019 09:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564590085; cv=none; d=google.com; s=arc-20160816; b=n5sji6j7xi30gBzaLxt9SyimJYT82ML3PPuiUU5QzKGTjFAavJ1ccaJkWnX7JJ4Yxg 7TeW0h/SDukCs1obP0S22DL+H4DQUT8c7XjgbfczlDWHy0gitjGbH3G5loypMlO3PKHJ QHBCQICqhCm55FUUTQjgZPNGzNPaxCx7PVJJyN8H773ZYbomvSzmtyyihV15BS3IUAPR +cVyQg05DEaJmx0SJWhBXEOZpU7raDcW/X3lCs2cymySyo/aeFPWCEI9+m6uciWx0LGc MdCn6mCXB80DWDmmknu5aUMZQuTJygbY5DzXas8YaeJtYJeznqIk7uSe/APCWxn2V+5X MNIg== 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=lyP5gbjSZYFvC7g5QsskrcGKhwqRElrOHldYQXubnjI=; b=kvF9OFMwh5ei7G83xOzveXjA98ZuvLnxoNvIvbZW/qeSw9r+5VIJubrH9CiAp3kMLW QtPMV5Nz/euqligOrs8MUm6HH7WOTffWLHt80sck2EvQpB0JLH96waIJe7nVetmEK7CM B3cdKo+i5Fvf2DfSA3yt7LTiBVzy1AozXKCG8kKbYKyx6yRjSK8FNi1+PqiTV3WezTyZ TXoWUjkIcijbdQHojROkdhL8cTXfG3ngM3y5EKn9J+9/GaC0vx7cUVTkMDfK47JNF2Ho cVytzTSlcrs97n8dtpZ8zHo+7nI0ervGSnAhhFhStBEbQJ/8mwZepI+VYMWGYkmJXPsg e7NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=WkSMIXUx; 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 ec17si19429616ejb.327.2019.07.31.09.21.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jul 2019 09:21:25 -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=WkSMIXUx; 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]:42542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrLw-0002ER-0t for patch@linaro.org; Wed, 31 Jul 2019 12:21:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42391) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrG7-0005up-E9 for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsrG6-00049v-1N for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:23 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:43030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsrG5-00048G-Or for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:21 -0400 Received: by mail-wr1-x444.google.com with SMTP id p13so70305491wru.10 for ; Wed, 31 Jul 2019 09:15:19 -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=lyP5gbjSZYFvC7g5QsskrcGKhwqRElrOHldYQXubnjI=; b=WkSMIXUxydI/KCqK6+zuYbzYnRKBjvosqzjsR/QrJpma8sM+g02VxrUKl0Edq5YsXm VYIs5nX9+kuxqNb4te6S/V5+p5eCdIepVmZM8MuN9Dr4hVrGRTFxRTqSUbeSCJ1f9C6e xMlbZ84BRxh7G871rBucEczQy8z8XZysSJaVowKsrCBsQQJG92hJrnzYB8VvB7qQcQ+2 qIqdyOzwHCCfMov7rBjvTYvy5oyWjmjV0Umdjmm6BPa9ZJllf43fvdd0piM/B03SA7bk puSvZ9MnAtMUYw+S18z/3ohnGs5GANNYt+U69zumnAdwbm8M9e2R7NKG60ryd0BM4d3R CJTA== 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=lyP5gbjSZYFvC7g5QsskrcGKhwqRElrOHldYQXubnjI=; b=jgS16WOq83br59RIpKY303kbs5HpeFh0VRQncPSKjsYzEN6H6O1c1+Uxg648zpO28R EC5eaHSbHe/v7WOXffy/RgYJ6SKKdbXEFz9HXRKyywIe3LgiLnbf5Gn8pZ8HKzNtM9R9 j8kGr+08KalHrpkSUj/YEezn4BdjJ9G+eF7rpHa0oVaXKuK6z9ZT1sTPO6f1eM0T+cLT C4UDVAUsmR49/l47QSn8Pwl8kBcv91Ze+Y5P/kWJtP+wrxPPBPrY5gkoC08REkUO9jqR MTwoSHOUlSvN4z8S+C7NTDI+TaQBDjbojhEMA9uXUcSbC2ohKx3uvsw7e/nImXpWMBHC +VlA== X-Gm-Message-State: APjAAAVs8J0nFsM4P4mkmooZIuFLR9ENqQxpO9ElzxxB1Fj9roEa4NXB Kbqkx25j80WIND8GNszkA+Q+Ig== X-Received: by 2002:adf:f40b:: with SMTP id g11mr66901499wro.81.1564589718677; Wed, 31 Jul 2019 09:15:18 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g11sm66774709wrq.92.2019.07.31.09.15.14 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 09:15:15 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3241A1FFA5; Wed, 31 Jul 2019 17:07:21 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 17:06:44 +0100 Message-Id: <20190731160719.11396-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190731160719.11396-1-alex.bennee@linaro.org> References: <20190731160719.11396-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::444 Subject: [Qemu-devel] [PATCH v4 19/54] tcg: add tcg_gen_st_ptr 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: Richard Henderson , aaron@os.amperecomputing.com, cota@braap.org, bobby.prani@gmail.com, =?utf-8?q?Alex_Benn=C3=A9e?= , 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 2d4dd5cd7de..698f3111eb2 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);