From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) by sourceware.org (Postfix) with ESMTPS id 0873E3858D39 for ; Tue, 10 Oct 2023 13:46:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0873E3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-57b9231e91dso3462680eaf.2 for ; Tue, 10 Oct 2023 06:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696945618; x=1697550418; darn=gcc.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Nyi82kkTzt9BQJr1fxGiz5MVJ+fiX8jDbFuXq0tUCZI=; b=jE6euC2Yw9k3nE7eh+bYndB2AiUVq2+mD/blNzMCtsbEQkfzBxMeU1ezGNTAm4kpii MkjxhqW0S/bxGErXKoWrw9/39FF08Wb9tZ4cstXUqEfg8PsXQnMCn0Lb8deiWs3vdpRR b2C6kdBIghNQZXow8k8Ue6NJEJqReTsuCJYDhvyC7pq8HFeu8IvgZWT/Oi+ewZ93zHsx vghOg4hes6BlFMI9mNqs0v/mivprLNx2jLfpmLZZlCHcmNLQMpeS7YgbQ5jISQDmuQNz lLFARhEAO5tP1XKhy5glg6Fyhvy6XJ4L7eG85gjck1WFwuu1RAZG2K5v8OOZuLsOBWaE l7Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696945618; x=1697550418; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Nyi82kkTzt9BQJr1fxGiz5MVJ+fiX8jDbFuXq0tUCZI=; b=rikkt3Z0DEsQzSVo/GtAtg0KSw8pRCrY5LrLyALU5vHc67P2zTmvy83tsrqTtth92x I1L/DCatgSRVHACRTuKJmHk0szD9OP+pvebnpxJc+zFtWJ1jyVGjO1yRPndzZZuitRJs 7isxHlN9flkNiTvxLIAvgmG/EzOS3wucUwFq2T+p/GbbPbAyQ1UwzftvGI4MRqceTwaO PHwF1BqOX27zq40CGIt6f5Rt7672hod9KX5BCIkf1Ghq4zfqxkYd54wGDGYygyqGo6oC vcpWhxMGSKGuf6u22qI9UxFNKe8e2ceLL9hV/FXTT9AR6u0GPf6R+91F9Dtvs5Uoq6Wy 4N7A== X-Gm-Message-State: AOJu0Yz15whlwmW6ytbiMrLF5486H0KyiPIiTxufXc9Oph+JW4kYAQai Y0KwfqY32uAHf7FkTSubsiw= X-Google-Smtp-Source: AGHT+IE3kp8vUsFlq6sJyI/SojazWxj3FjRMtEwnOtX99mvK11tKYmxR4mdbVF2++Az3s0nVfAD2Gg== X-Received: by 2002:a05:6358:7296:b0:164:953b:35a9 with SMTP id w22-20020a056358729600b00164953b35a9mr7493763rwf.23.1696945618170; Tue, 10 Oct 2023 06:46:58 -0700 (PDT) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id p6-20020a62ab06000000b0069302c3c050sm8221299pff.218.2023.10.10.06.46.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Oct 2023 06:46:57 -0700 (PDT) Message-ID: <2e16bc3c-129e-4a40-9484-58c5de6541a8@gmail.com> Date: Tue, 10 Oct 2023 07:46:52 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] RISC-V Regression: Make match patterns more accurate Content-Language: en-US To: Juzhe-Zhong , gcc-patches@gcc.gnu.org Cc: rguenther@suse.de, rdapp.gcc@gmail.com References: <20231010024742.3092307-1-juzhe.zhong@rivai.ai> From: Jeff Law In-Reply-To: <20231010024742.3092307-1-juzhe.zhong@rivai.ai> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 List-Id: On 10/9/23 20:47, Juzhe-Zhong wrote: > This patch fixes following 2 FAILs in RVV regression since the check is not accurate. > > It's inspired by Robin's previous patch: > https://patchwork.sourceware.org/project/gcc/patch/dde89b9e-49a0-d70b-0906-fb3022cac11b@gmail.com/ > > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/no-scevccp-outer-7.c: Adjust regex pattern. > * gcc.dg/vect/no-scevccp-vect-iv-3.c: Ditto. OK. We might see other ports flipping to a pass if they were exhibiting the same behavior with failing to vectorize with the first selected type, but passing on the second type. Jeff