From patchwork Mon Feb 12 17:12:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 199939 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp53292dyb; Mon, 12 Feb 2024 09:13:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWqjAf2LV1nBqZfGIlbMJVP06AyUqhly0Ul0wuljyV8nYbR5/GVOM9DrpNJMaUFhZhZlmaVzlwXmbVtTV+i5DffXsEt2Q== X-Google-Smtp-Source: AGHT+IEjZmL9edFpUnXFcXzuKHc29XbZO/jjGJyOAT10lyM3HhDHne+nQTc7GDLBAEr3l7i3K3CW X-Received: by 2002:a05:620a:4006:b0:785:d5a7:e685 with SMTP id h6-20020a05620a400600b00785d5a7e685mr4241328qko.78.1707758001910; Mon, 12 Feb 2024 09:13:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707758001; cv=pass; d=google.com; s=arc-20160816; b=EYIZXpdY84Sv7q73Octv3t68jujtInk5zCn6i2/9SvUSCYe3ss5UM4ofH06its+7vj 4r9Mm1XGuRmASqg5NOu2s2ORR/TwE9tizoxpSLfgnXXk4AVTFlMYeuDK1LWrEKVmjRIr u+uKJeQRf88pwvI2fPB9s6IW7h/F3DlBBHiTJrAf/vpXUyzX5v5agMuwrBjo+QUCPvmk X+TOArpXd2CMvwACGEbfTsr/ke/NriXqI6mnovA4ISphj9ZO40wiX7JT8rjkONETT8zB 7GfnTgxLxON9Ym0X1p7QkR4oL7nAp20Oyb7OihuANLZbhIOpjrXHleL/fnKu4H4chSWJ AbgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=P9mRy/BhkRaVvnYNPnJiy+iVf3pHg0SPc3JZl5CbJ9M=; fh=mEXLIRk3gYX0iaKX6T23WVj7/0rHmS2+lxYvZtUSEOs=; b=rqiNdzc3f8k2ENJpwrQj30TF0QG3Ccy3PRkZNqLPvByCFvfgoL9Al8JpcBTieyL46a K6qXqJ34TDfJIra7Bx7rfOzKyGpcLVQ2kNclBk1OxMOyq47TDRKtsyoefP4VMu5eUmeF Yh4Cl4/WC80/JvK7Fv47dApOpJFtg3PAmXiKwqwbqqItJYkW0wpAxP2INXQY1spGURDS pBCpqzX+vZc3RRX1KcIBly33K4BUP9TKRHoVrHEf6u0zYsHqohrtmtdRusKZsp9nNq6A hARhqdta3ZCMUxOeNsHn/1G4UjyqFXNdR4q2ATVbOnbInyRMyaZwHoILWClMPGB604wi fjLQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ESr6zU9B; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=2; AJvYcCXrZb7371yYMQy8MIS2cYUE0g4f77kUJgY9qTDWx2iqVpaUKBFScXznZcpBwIiwz4MIx3Of89UMAhta/IFuy0YnwuPzuw== Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id h8-20020a05620a244800b007845e62f6bcsi6843475qkn.461.2024.02.12.09.13.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 09:13:21 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ESr6zU9B; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 982023858412 for ; Mon, 12 Feb 2024 17:13:21 +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 29FFF385840B for ; Mon, 12 Feb 2024 17:12:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 29FFF385840B 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 29FFF385840B 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=1707757955; cv=none; b=S7u+xfQJ3wOJRYtLkiGM6471KsoNxMz8+lqrQeAVkJt88CyLcuAqi4MLvbjKYpoIOE1OPQZZ7J5FLu0bFwgrmjkWygB/j51XzKfBUgCjFfZg2wNWiYO/PsF9s6RIQrMP/b9hnOU72l+b7ztU5k+as3coQaT/XHILGF3d9t0vk/o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707757955; c=relaxed/simple; bh=Odi0nd3AUCZmOZ+HOZC/PfSlIVOlNMK6Th0e1RLJz60=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=oQ/GDRmVCpxTEoFeME3QFijvlSH3KCwNF9Wqe7GKUZGGwgQmLkkQ3Ds1QHHa9PmTothe7oT4ve+RBRdhkI9i1XNEoC653kCVzc9W9fQ9vXIqpF2MyjLGNQPBeHNeofjBt8XU7R7VAfzfoiFtYvvjMN+8dzWJqLen9gxhZUikiww= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707757950; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=P9mRy/BhkRaVvnYNPnJiy+iVf3pHg0SPc3JZl5CbJ9M=; b=ESr6zU9Bu4Ihzr91iRCF6WI6ckU2fZLg+CcW9GaEYXzt1TRQYG4W7H6FXVc6ONH4QWx6lu qfsqJlqlrKcq0jL43n8gtl3k9BnwTzKUUBw+JjmwDMVLbF5gKW1EloBYq3JrcNLSufWtUo oXAyUmZL/hcxXylJ0EJDV4BCQFEfSss= 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-92-dNl9EygtMU6qwjYBxWyDEQ-1; Mon, 12 Feb 2024 12:12:29 -0500 X-MC-Unique: dNl9EygtMU6qwjYBxWyDEQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (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 1CDEE85A58F; Mon, 12 Feb 2024 17:12:29 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D48AD200A7B4; Mon, 12 Feb 2024 17:12:28 +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 41CHCQCW2671467 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 12 Feb 2024 18:12:26 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 41CHCPcw2671466; Mon, 12 Feb 2024 18:12:25 +0100 Date: Mon, 12 Feb 2024 18:12:25 +0100 From: Jakub Jelinek To: Richard Biener Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] testsuite: Fix up gcc.dg/pr113693.c for ia32 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790714054881749128 X-GMAIL-MSGID: 1790714054881749128 Hi! As I wrote earlier and we've discussed on IRC, with the ia32 _BitInt enablement patch this testcase FAILs on ia32, there is nothing vectorized in there, even with -mavx512{vl,bw,dq}, so no dbgcnt messages are emitted. The following patch instead prunes it. Bootstrapped/regtested on x86_64-linux and i686-linux (with the ia32 _BitInt enablement patch), ok for trunk? 2024-02-12 Jakub Jelinek * gcc.dg/pr113693.c: Guard _BitInt(837) use with __BITINT_MAXWIDTH__ >= 837. Use dg-prune-output instead of dg-message for dbgcnt message. Jakub --- gcc/testsuite/gcc.dg/pr113693.c.jj 2024-02-01 20:31:40.592630501 +0100 +++ gcc/testsuite/gcc.dg/pr113693.c 2024-02-12 10:10:30.019384623 +0100 @@ -1,7 +1,11 @@ /* { dg-do compile { target bitint } } */ /* { dg-options "-O2 -fdbg-cnt=vect_loop:1" } */ +#if __BITINT_MAXWIDTH__ >= 837 _BitInt(837) g, h; +#else +_BitInt(63) g, h; +#endif void fn1(void) @@ -10,4 +14,5 @@ fn1(void) for (; h; h++) ; } -/* { dg-message "dbgcnt" "" { target *-*-* } 0 } */ + +/* { dg-prune-output "dbgcnt:" } */