From patchwork Mon Mar 2 17:58:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 184096 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp2680356ile; Mon, 2 Mar 2020 09:59:10 -0800 (PST) X-Google-Smtp-Source: ADFU+vv7ZbGquLxDzwxXMDZ4SXpU+5c068zqA0+IBEiftpLipwu1qruKilzqCkVQP+TNdOZzMvVs X-Received: by 2002:ad4:5632:: with SMTP id cb18mr586694qvb.124.1583171950778; Mon, 02 Mar 2020 09:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583171950; cv=none; d=google.com; s=arc-20160816; b=EGQ0+Qtc+nnClATr4lgMH72+5H+2qSN1Yl53QNUEKCV9UWcKlxct7Tp7KReahxImM/ LrAcFfT0SsQIP9KbTPUVx7PHKtU2oBkeKhswtNFCDzbhs84mLgsH7X2EquMAc57CI2jZ z7QthlhRnokzS0mC4dplaSOzZ6J7Vld55m4UsHWX98Y1C3nQ/B/4BIscOsEVtz0pSFye dX28dIxhoQ7RWweRKPcN5FAKb2Bb8NojXQY/0I9ah5/ibMQM/fwk97wyfN1iRGmNgIWQ 7rAQsjctl59bXhAuSvE/IL6fY0M47A1ERDI642n6y57KR1kZ25/e65e9h8IXEyUaX+au GN7g== 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=sDW3bpZw++8P1yHtjBOvr8FuMKG/oaa/CtErSbPyuzs=; b=PzRqR+s4B0dEg3Rasi+QS2AFUBJesg1ztBDKD5xJtwx4PX3xN3RaVBkPT3dyFeV5C1 NiIEttld9Ul5Izcye9Gw8hFUavAbVlR2HlKf+Fte5Uc9nzT6E38xJHkqn30jLQIT4Wt+ /c5l5vMWKdy/JC55uDpEc1HpkfI8u8S7RXM/WXb32xFYgcjTASRXZp7yM6aZW+3+EEXx VTJwpF1xwnhM+1LdqQyMp1rEi2wEdr6GpfVMEiaxJ00lQdhiiXwxYbXWi+Pg/qjMOGJB ZoP+95HcCLy3iBtSo419AoxOXTK/AzsWBcTsHa5RANX0ee3QtbJDZj5DCEWkDehq1edf ExYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K11Wsy62; 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=pass (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 t195si6370083qke.89.2020.03.02.09.59.10 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Mar 2020 09:59:10 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=K11Wsy62; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pLS-0007Hi-8B for patch@linaro.org; Mon, 02 Mar 2020 12:59:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39134) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8pKz-0006hn-2z for qemu-devel@nongnu.org; Mon, 02 Mar 2020 12:58:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8pKy-0007af-2g for qemu-devel@nongnu.org; Mon, 02 Mar 2020 12:58:40 -0500 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]:39608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8pKx-0007aN-UN for qemu-devel@nongnu.org; Mon, 02 Mar 2020 12:58:40 -0500 Received: by mail-pj1-x1044.google.com with SMTP id o5so97950pjs.4 for ; Mon, 02 Mar 2020 09:58:39 -0800 (PST) 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=sDW3bpZw++8P1yHtjBOvr8FuMKG/oaa/CtErSbPyuzs=; b=K11Wsy62Uob0x9+Jsx0rXlOWzEAQikbw/McJCgMH5MJn4S2Z865P0iwzpvJcRAshcg rJTiLy4YryqUtdxbGJnXN2yJUvyVsRsCO1C7r4tVFZih5VkWfgQyWqcNSxzcb2/AS1vb uRdExe18JW2/C/DAjxHVhoT2s0O81+stNfHBmN0athMChyNF2K+ZUMiccN2MzIpn+vzA j9EStfP840jsIO1OVqoFtUF8VejVZHvbeNfDCKu4cSBXGGPh7Pmjsi1tHK9YKiGai7TE oVWxkfYXHTXLBD+3rl/27aThuC07BmCAXi2Lct0Beq5k1LZ1lqAZjT5TkFtFg1wRNAeS hkQQ== 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=sDW3bpZw++8P1yHtjBOvr8FuMKG/oaa/CtErSbPyuzs=; b=c1ZrgSEHmMwcqoH7zHoKmS8aevG5ShJsGi6N7DZ1htDvrJNbpbfJoh9LVKoLrnMqhz xRZ5uPrpJY4uOH9Zh6xc17pqHsokdJd0rCnEY/rKS/pw1tw/6sWFx4G8U3Dgyq0oGX4M yfb+N/Q+kdaW8SrWlCdHlmI1p87dptJNXgyJ070WkPH28p+m9IU0Tt1YsyV/GK7dygiz naD2ZannGHMQCihwe+rWnJMMkK1GGfFyyvbF3Nu58uQjj9qccqdbv1qr9nzpz9zgjCKu ZulK6whZ3Q7UzvGZXLp/jFC2LjKIr4aFFre3qQyfb2NRHe8X3MZYPugJfOzZ/aUiZeWl FcAw== X-Gm-Message-State: ANhLgQ2qHdKHp0IhQXCPb64OjxMQMCMB/0zUxfdzqzlMJ8dSj74HFPmx RHxgQjaXXeC0GC3fo0pgEh5OZceOBx8= X-Received: by 2002:a17:902:34f:: with SMTP id 73mr361523pld.50.1583171918760; Mon, 02 Mar 2020 09:58:38 -0800 (PST) Received: from localhost.localdomain (97-126-123-70.tukw.qwest.net. [97.126.123.70]) by smtp.gmail.com with ESMTPSA id s18sm99510pjp.24.2020.03.02.09.58.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 09:58:38 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 6/9] target/arm: Use DEF_HELPER_FLAGS for helper_dc_zva Date: Mon, 2 Mar 2020 09:58:26 -0800 Message-Id: <20200302175829.2183-7-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200302175829.2183-1-richard.henderson@linaro.org> References: <20200302175829.2183-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1044 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: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The function does not write registers, and only reads them by implication via the exception path. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/arm/helper-a64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/target/arm/helper-a64.h b/target/arm/helper-a64.h index b1a5935f61..3df7c185aa 100644 --- a/target/arm/helper-a64.h +++ b/target/arm/helper-a64.h @@ -90,7 +90,7 @@ DEF_HELPER_2(advsimd_f16touinth, i32, f16, ptr) DEF_HELPER_2(sqrt_f16, f16, f16, ptr) DEF_HELPER_2(exception_return, void, env, i64) -DEF_HELPER_2(dc_zva, void, env, i64) +DEF_HELPER_FLAGS_2(dc_zva, TCG_CALL_NO_WG, void, env, i64) DEF_HELPER_FLAGS_3(pacia, TCG_CALL_NO_WG, i64, env, i64, i64) DEF_HELPER_FLAGS_3(pacib, TCG_CALL_NO_WG, i64, env, i64, i64)