From patchwork Thu May 25 23:25:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 685646 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp623562wrt; Thu, 25 May 2023 16:29:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6kSgo5hd96wVO8XJgE/MYETXMchpMbgb+UD1FDatMpX/ETU9klg/NdYTNjKtRkootoELXh X-Received: by 2002:a05:6214:622:b0:625:aa49:ea03 with SMTP id a2-20020a056214062200b00625aa49ea03mr2725218qvx.32.1685057349728; Thu, 25 May 2023 16:29:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685057349; cv=none; d=google.com; s=arc-20160816; b=CPg5mDm3vgqCFZJ0jMb/BY+EwMyOhaVaxkeOrPk4On2mi+uKDM/gL22egLwjYWxnwS LDvHgtQukl9NJdA3IgcdpOP7y6ahBu9vFwU0bj5G3RoS3nkA0NIVKrJstZNY16gCwOP4 Q2rhNY4p0wwQTrR5vJ4Fw/Wpw+YukVvcEElClbJDnvQiEAshHWnR17u2PVJTikoG86pq Uuxnlh47RGYETB2PgViLJ2UfHqZ0PSnvXJ84nv2j7lz+kNukAaF3eO6AenAbwLnOHDaQ z1sdfkskV7MK2UvmHci4dIgin3cAfTAyxxUV1GCwIwqV6nqqiH+cKnujMaBwQENU5BqX LCHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=5jZpc4ui8pytrAOHBcN47e2TS8aNKppKYujWBst2xkI=; b=TNPxDIHK1u8fx8dUTixmjKgwSsK2zmX8OIKBLDoUzXOhxw6zIXK0G+BxywG7CI2/B7 dC9PLh76GAPRrqmcOSXzULAPAVqmQHZpzBaFbbSd68xaO2+4UgHx9UYHEi5KYIGQ/JbQ bk4X+Y2ew/OvDdLl6qesKblxjf7jwT+f43zPVjkf+ihRjyVNG6pRDE1fv6rG5NpSk1H3 QILG1udQaxaqs2xDI9f/+CXuZVkeSO2cXIzFb0n+TNCUTLzKjMG9M9CcMl6TSA0aYadM 8UGoL056rFfeO/7yxwmlNYScTouvTE341PSoSSTSTmtuVMz9c/Rk3EQCLIpBUievwBWR 65GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a3VNenc5; 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 gc14-20020a056214230e00b0061ea67b7999si912252qvb.326.2023.05.25.16.29.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 May 2023 16:29:09 -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=pass header.i=@linaro.org header.s=google header.b=a3VNenc5; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2KLi-0005yx-UM; Thu, 25 May 2023 19:26:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2KLc-0005uU-KK for qemu-devel@nongnu.org; Thu, 25 May 2023 19:26:20 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2KLX-0005q9-Cr for qemu-devel@nongnu.org; Thu, 25 May 2023 19:26:20 -0400 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1ae851f2a7dso12106935ad.0 for ; Thu, 25 May 2023 16:26:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685057174; x=1687649174; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5jZpc4ui8pytrAOHBcN47e2TS8aNKppKYujWBst2xkI=; b=a3VNenc59ZwfkPdbQlygo1lA3JV7RStXarxjq1Ev7kG684eT2geLvMt3sFkPjct1uJ M6C22JdR957+IM9U5p8xuYvppADAxuMJrBH5B5So4OIrQgsz5XuTN3YOByKsWFB1UOEY 3pop/LsJqfcI9e6Nuz7N27blfei3Qde6gsmVOP8bguhnj+yvkt0Ao2ZdUmHq3J2nkist KsxgNFglI3vAfljj580x9bPwGDMv6ii33sdux/ubji6lV0HFKDs3QoMspUPNjBEzx3Wp HVORmL6LlDgXkXcLzKkEA5Mx2fRQW8eAetL9YxtL12pVvIkaCY5nSuM9O+Iv76oNIquK 0NYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685057174; x=1687649174; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5jZpc4ui8pytrAOHBcN47e2TS8aNKppKYujWBst2xkI=; b=KCL8FuS2UvDNv8NjtFicklZ8rej0rUSq8fnH98OS4xogiAvDX0MBqrTrx/EtyR5mz6 JdOFTMjYSqkwIOTXVcvRGgEOxEZVKyhPsFwRUigPL9UnV8wXbRM+IhV2yQrZFS6Y2quh Yi9qELB/6/JPyHGfQEAGb4hHjcw4xwFjmwEJkW3z4E1j3s7mPASnHY22v14R5vWaTB8c BzUo27N4LctOVs88bK7jY++l2IaLpDjrtZuDbrGuXH+PGIkw+r8Rno9L81nIPlStu+MV pOfSY5i1jgKv2YqFs6bmcBGS6IiymYfnGqBIJUCHAN+apspq1zDjbeg+JBa7hM9PFr03 0UjA== X-Gm-Message-State: AC+VfDxFivDZxwZf4LQov0UwJHEg7GaOmCHzZvByVFWirfKsxTnRXdoF u3bgJYvYpQw4vRs/y4IT/kLTRRGnY74i44TLPjs= X-Received: by 2002:a17:902:7289:b0:1af:bfb0:e80b with SMTP id d9-20020a170902728900b001afbfb0e80bmr2945900pll.31.1685057174029; Thu, 25 May 2023 16:26:14 -0700 (PDT) Received: from stoup.. ([2602:ae:1598:4c01:7ac5:31cc:3997:3a16]) by smtp.gmail.com with ESMTPSA id s15-20020a170902ea0f00b0019e60c645b1sm1885036plg.305.2023.05.25.16.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 16:26:13 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH v2 18/20] tests/tcg/aarch64: Use stz2g in mte-7.c Date: Thu, 25 May 2023 16:25:56 -0700 Message-Id: <20230525232558.1758967-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230525232558.1758967-1-richard.henderson@linaro.org> References: <20230525232558.1758967-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We have many other instances of stg in the testsuite; change these to provide an instance of stz2g. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- tests/tcg/aarch64/mte-7.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/tcg/aarch64/mte-7.c b/tests/tcg/aarch64/mte-7.c index a981de62d4..04974f9ebb 100644 --- a/tests/tcg/aarch64/mte-7.c +++ b/tests/tcg/aarch64/mte-7.c @@ -19,8 +19,7 @@ int main(int ac, char **av) p = (void *)((unsigned long)p | (1ul << 56)); /* Store tag in sequential granules. */ - asm("stg %0, [%0]" : : "r"(p + 0x0ff0)); - asm("stg %0, [%0]" : : "r"(p + 0x1000)); + asm("stz2g %0, [%0]" : : "r"(p + 0x0ff0)); /* * Perform an unaligned store with tag 1 crossing the pages.