From patchwork Mon Oct 14 10:49:06 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: 11188355 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D641C15AB for ; Mon, 14 Oct 2019 11:31:09 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ABFDA20650 for ; Mon, 14 Oct 2019 11:31:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="D7Ojxmkw" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ABFDA20650 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:47843 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJyZA-0002Zj-B2 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 14 Oct 2019 07:31:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45550) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJy2E-0006mz-Ny for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:57:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJy2D-0005FR-Hj for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:57:06 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:56160) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJy2D-0005E3-Bo for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:57:05 -0400 Received: by mail-wm1-x342.google.com with SMTP id a6so16737470wma.5 for ; Mon, 14 Oct 2019 03:57:05 -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=D7Ojxmkw4cvmOzKkado6gVVj2DOcKqQissrY8svyjqVXwvgtogHyBPZBopxgQbpWiN rp2Mij1G96sxQm80gyLWoCf+iSDW3nJqHsONi3vCG1C1B7pEq/Fy2lQbYhPrmtxjlks8 9rtS/5at8YuKIMOsl958FpdIBkSEvZPA/xcFNxogInaRFnv5TFPHrWFwhXIPUl3PPL1O tAFKGuHk/qaVqWZ65zuljf+qEggzaY7G3qr837zzN2OQ+y1aUAQAQKataHqxFa3d/QcY FClQW7HOUExAbFgUJarAet+Pdk9KGTKyfuSekI8NqYGotxbckowgkgK3+vSub0HAcYdx dmJg== 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=I5COyhTcDDW+IQinW03Bgsk0MD6n3KGXAqbsFdScOo+7wBaITbXIS/hQjSrEH1S4E5 aV2KwC22PVM2asUAz8BNXjCng5AkbA5C6uTPvgWUrxox+MqAIesFPMHYCCqu+QkDRCNz Wtq+ztYsKBn1vEmVpOjDHNJMdyXfKGq4rp1EyczcpLWJZM87/oJ8zdtcxOZ08C0HIwu6 ldDp9AyOePBWgJPERY4b6D0E5QxsZcHln5a+I5mCoXRhAyK5hmGiD+fPcYyuB0IDqPma U8Z8iPXHqxKjBRMHSDRv2ornMHRFqxEeFVuL//HjiMbJbaXoPpidHq5r8CYvvvjKphat f0MA== X-Gm-Message-State: APjAAAUMblsIfbw3lRgRt7vj7Juc3ql6hUfH3XuyTyCjmImDmFpDqHFT 6Hc/zH9n/ClD3FhmylWi0eO/cA== X-Google-Smtp-Source: APXvYqwrbUNEH2jMsP4ZHD0JlPSqnyfIe9vBEP1GHoFbDDe/r6hAWifPadWc8/1eIEqf6p3BFcsCpg== X-Received: by 2002:a1c:804d:: with SMTP id b74mr14868065wmd.170.1571050624091; Mon, 14 Oct 2019 03:57:04 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r2sm28759471wrm.3.2019.10.14.03.56.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 03:57:01 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EF01B1FF9A; Mon, 14 Oct 2019 11:49:51 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v5 13/55] tcg: add tcg_gen_st_ptr Date: Mon, 14 Oct 2019 11:49:06 +0100 Message-Id: <20191014104948.4291-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191014104948.4291-1-alex.bennee@linaro.org> References: <20191014104948.4291-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::342 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=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.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(+) 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);