From patchwork Thu Jul 4 15:31:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1956940 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=mBb9ugj8; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WFLHQ0XGrz1xqb for ; Fri, 5 Jul 2024 01:32:14 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 87EEF384A44E for ; Thu, 4 Jul 2024 15:32:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) by sourceware.org (Postfix) with ESMTPS id 8693F384A46A for ; Thu, 4 Jul 2024 15:31:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8693F384A46A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8693F384A46A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::2d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720107113; cv=none; b=RSlWloLPCNBuce8zJeJJlNbmBnK58zjtlhLRPj1OqUcAHwnWQqXJNffEslW3UMB7yLC2eBFhagaDjtPF+uMeITVBp0ucY/8xCv+56B9gn+wrbO325DKD7uyf/DIyIvqdl4/qQJwkn4/IqZuJiFXPpTOvnuLroBIqZqq2PktqWBY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1720107113; c=relaxed/simple; bh=y+o/6XRDIPtfm/8JBUdSn5R4sdSVwT8T+RRafoM8j4M=; h=DKIM-Signature:Message-ID:Date:MIME-Version:From:Subject:To; b=RkaKoTBDdeG+Oqv8xLS/8/KUmL3dDpn51R4F+A3ScTHdWb5FV26Ud6DFKSMbogwwJ6tiQh+YpSsUrTtdziEAT9BVtHMvN8xqLkHFNdD2/CTQAnpVv9v//kA9LEYH9n9i0J1bxR0/+3RCWNoHS/9fZbNdh6cMU/y8tJEduVjRXpE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-25e1610e359so395928fac.1 for ; Thu, 04 Jul 2024 08:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720107110; x=1720711910; darn=gcc.gnu.org; h=to:subject:from:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=lMx+FSLdcLT2lNT5eo+6mVzozTY1xpdT7l2CgIKoyxQ=; b=mBb9ugj8pUnal4fhDdlXqCFi1kE9byG41l2j4rh0M2DnJxOu5HPuQLm1uLPO6ClU95 ASJ4469EcEjSJMfsSOR74XJnd4ECvflTYRZ7n/igdyXYO1Svidl9tDvnC//2nFp6znmV D+nlcabFsyKUMV6/wEh8VW7ic12i6GxgiA8BRyEcSBA2/aMN4jUbesOmjHGUKrX0U9A7 FSNuy6WzvhBDMFdVQjwd3K4vVKLcU0CnprTGX3zBFqsaJBjYGuS6D46k3vjrCFH/qRFa sPdwczuJYMsmTEDanDP/7W4/k5XlqmPWwrUw1z4iCzM5SBHMUIId67MB3aZShwpa5HEt cG+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720107110; x=1720711910; h=to:subject:from:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lMx+FSLdcLT2lNT5eo+6mVzozTY1xpdT7l2CgIKoyxQ=; b=Wio8o8SK3CtmEq63sh7zHJKDjulLkFz1Tk5YUO1LWp+KzFldyVIdlpNcivJTSoP6iD KbH4GuLyAEVoY+jCn6zWybNe1bFRLSDdWq0D0oZZ2ZSDk6n6luk/OcpMay296OiN93wZ nOSVM3XcT5mUFBzlnp3oNk6zKbhG4n7cE8eDvUN9eUZWVGml396VaRqbWRbB9y6P1kpc DCwoO6VJFUZKlkl3LNjgqpzEUqDzpekNOkhNzvQxACqxjHmWe6C/60ZC+6T9SRjZfKRb ppO4fFAWqQOjWwXdobEyAI/NFvBfRO9JNayj+3kZv8L9kF3zOBX0gBVpk8hWvNs+AIlQ rQ2g== X-Gm-Message-State: AOJu0YxWYWl1t7oZ7LwufQawpDpxGZBAJM7ENt1401SAU/esl2JUN8td KrWb3wYCV1tKsZHT4HhnpMgUEgj04Wk/fs1r44zm8EBIJoPq7FWq44PHEw== X-Google-Smtp-Source: AGHT+IEsV/n/HnhJIMYFCJNtE3qx+7/XOC888/VmhtvgFh5kimP0LUpNnDjiymCEkeLfZD8z1R2poQ== X-Received: by 2002:a05:6870:a687:b0:25e:26f0:adff with SMTP id 586e51a60fabf-25e2bb802c5mr1579432fac.28.1720107109856; Thu, 04 Jul 2024 08:31:49 -0700 (PDT) Received: from [172.31.0.109] ([136.36.72.243]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-25dfe415e0esm1215730fac.12.2024.07.04.08.31.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jul 2024 08:31:49 -0700 (PDT) Message-ID: <8ea8b309-6b1a-4772-b5d3-0e3a6282a713@gmail.com> Date: Thu, 4 Jul 2024 09:31:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Content-Language: en-US From: Jeff Law Subject: [committed][RISC-V] Fix test expectations after recent late-combine changes To: "gcc-patches@gcc.gnu.org" X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org With the recent DCE related adjustment to late-combine the rvv/base/vcreate.c test no longer has those undesirable vmvNr statements. It's a bit unclear why this wasn't written as a scan-assembler-not and xfailed given the comment says we don't want to see vmvNr insructions. I must have missed that during review. This patch adjusts the test to expect no vmvNr statements and if they're ever re-introduced, we'll get a nice unexpected failure. Pushing to the trunk. Jeff gcc/testsuite * gcc.target/riscv/rvv/base/vcreate.c: Update expected output. diff --git a/gcc/testsuite/gcc.target/riscv/rvv/base/vcreate.c b/gcc/testsuite/gcc.target/riscv/rvv/base/vcreate.c index 01006de7c81..1c7c154637e 100644 --- a/gcc/testsuite/gcc.target/riscv/rvv/base/vcreate.c +++ b/gcc/testsuite/gcc.target/riscv/rvv/base/vcreate.c @@ -256,6 +256,6 @@ test_vcreate_v_i64m2x4 (vint64m2_t v0, vint64m2_t v1, vint64m2_t v2, } // Ideally with O3, should find 0 instances of any vmvnr.v PR113913 -/* { dg-final { scan-assembler-times {vmv1r.v\s+v[0-9]+,\s*v[0-9]+} 72 } } */ -/* { dg-final { scan-assembler-times {vmv2r.v\s+v[0-9]+,\s*v[0-9]+} 36 } } */ -/* { dg-final { scan-assembler-times {vmv4r.v\s+v[0-9]+,\s*v[0-9]+} 16 } } */ +/* { dg-final { scan-assembler-not {vmv1r.v\s+v[0-9]+,\s*v[0-9]+} } } */ +/* { dg-final { scan-assembler-not {vmv2r.v\s+v[0-9]+,\s*v[0-9]+} } } */ +/* { dg-final { scan-assembler-not {vmv4r.v\s+v[0-9]+,\s*v[0-9]+} } } */