From patchwork Fri Mar 15 15:53:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 1912617 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OR8mqzRS; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4Tx81V5jqQz1yWn for ; Sat, 16 Mar 2024 02:53:49 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B0EB73857B9B for ; Fri, 15 Mar 2024 15:53:45 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 3F9793858C41 for ; Fri, 15 Mar 2024 15:53:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3F9793858C41 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3F9793858C41 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710518008; cv=none; b=qr8unaAb/hBYDQSW6qjbpFRLy6xwYLtPPMbVqLYqT232JBurN5XCVpZSl+7eszhDoZRX/RybElkXuQuo8J/hzfxGuKHLwqpVQwlvjjzxLaWx/IdcyzcwQa3PLJvlbBza6AaA1+ylFgXyBTdXU+eYUyEIXDvH2wEnTQ8FzMxT8CQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710518008; c=relaxed/simple; bh=xDl1ZgnyU5ECC6FuxNruq9pZ2O3LmGC+9paqCFjcaus=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=vau5ESBlGVfjGJJztPr2tZPE8gJac+O3d/o7QiGjV5RL7KnnV/2og3DA/aNuNciRhlAhEfwhCYmKY92ZUISZLKO3WDdjsk2CyHX63IP3nLhXkMXgwmyhA7DBZtWY/D5/V5xjKK3yNg0kxPu1om1nCuTmsaMFn3c02UWtP6Yb9sI= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710518005; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=YCiwAV3CbwfNs7BGt4Qkudz4o8j16SirGTETuD/PHHM=; b=OR8mqzRS7OlKlZxaqKrZ2ji861zZDHWNdx+ieE1FiLf4qGofy6lrfgueJ4HBOz563JejJB pysvcyzwp3r5Lm2m88jYOLaO9qRLuJujY0Go0xnD9OGvBuBzthjbgOT60DPz8Da5iEsrcQ yyAIivL29LvJguNsMAMaZC2FNryFHWY= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-564-NjJn_m_ZN-O4smzp1nWjQQ-1; Fri, 15 Mar 2024 11:53:24 -0400 X-MC-Unique: NjJn_m_ZN-O4smzp1nWjQQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CFA1C101A523 for ; Fri, 15 Mar 2024 15:53:23 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.225.36]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9074F10E4B for ; Fri, 15 Mar 2024 15:53:23 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 42FFrGrf1057985 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 15 Mar 2024 16:53:17 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 42FFrGbQ1057984 for gcc-patches@gcc.gnu.org; Fri, 15 Mar 2024 16:53:16 +0100 Date: Fri, 15 Mar 2024 16:53:16 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Fix pr113431.c FAIL on sparc* [PR113431] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Hi! As mentioned in the PR, the new testcase FAILs on sparc*-* due to lack of support of misaligned store. This patch restricts that to vect_hw_misalign targets. Tested on x86_64-linux -m32/-m64, committed to trunk based on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113431#c21 comment. 2024-03-15 Jakub Jelinek PR tree-optimization/113431 * gcc.dg/vect/pr113431.c: Restrict scan-tree-dump-times to vect_hw_misalign targets. Jakub --- gcc/testsuite/gcc.dg/vect/pr113431.c.jj 2024-01-18 08:44:33.673916652 +0100 +++ gcc/testsuite/gcc.dg/vect/pr113431.c 2024-03-15 16:46:27.328154091 +0100 @@ -15,4 +15,4 @@ int main() return 0; } -/* { dg-final { scan-tree-dump-times "optimized: basic block part vectorized" 2 "slp1" { target vect_int } } } */ +/* { dg-final { scan-tree-dump-times "optimized: basic block part vectorized" 2 "slp1" { target { vect_int && vect_hw_misalign } } } } */