From patchwork Fri Nov 8 14:14:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 2008474 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=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=GE8bdAae; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=kJTC/WT5; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=Hyl15hCr; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=uG+Uca5M; 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 4XlLYd4vPdz1xxq for ; Sat, 9 Nov 2024 01:15:01 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8F543385843B for ; Fri, 8 Nov 2024 14:14:59 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2a07:de40:b251:101:10:150:64:2]) by sourceware.org (Postfix) with ESMTPS id DAE493858D20 for ; Fri, 8 Nov 2024 14:14:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DAE493858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DAE493858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:2 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731075278; cv=none; b=VDUqli/rxEgGfAJvKYircQfWa08pI7sVODyp+hDIuKgGOokz1qfZOAkvKOGIuvT5oaiHrA7Qg66yL9sy91i5vZhtdlmdq6ddFDGmK2hwppEKf3iy/XqVkw3YkiWPYb2kQLAoJ6F1EB+NfSfZrBAE7kqgsIglmAxRWJfRS0ad9G8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731075278; c=relaxed/simple; bh=hr5kjzURVZnk6cTFAM0BLbtfY5cNTbD+5Tx9Gr18tw8=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date: From:To:Subject:MIME-Version:Message-Id; b=tfhIuAPC9v2yi3UoOyUhp3defcyYDTBD2/wGfI+sTxGYxaV5gYdDmHpEYwXMVtPZ5diAD3vrSVWWhw8hbKPQJTOKMAG2Rq9KE2mAEiDzXTv9cuTSoj4qBVjkzakH9p1ejLFXZd4wR1USkm95RhkoC7CLXN1T/iATRaX48OSEmOY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id EF2661FF5F for ; Fri, 8 Nov 2024 14:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1731075271; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=SXJdaqSMnsHUaRN8xFbh062kUa5QA4J4s+lWtGNcyfQ=; b=GE8bdAaevKhzQnQwrqnAPQ0m6pMfksguEekq+qdSS8S0y82Ac9SV9zq54jf+NXiH1DFLnh ohNodYb1sPPsES5lt61oeWdbtF/R1s5Sav/UIM+wYwbTqG0wXpLw667Kb6sGTxK8Pj7Hpy oenjIDcirh8v3BKN6Ymc+Di8VGwHLG8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1731075271; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=SXJdaqSMnsHUaRN8xFbh062kUa5QA4J4s+lWtGNcyfQ=; b=kJTC/WT5sjA1rXppAIZCc/9HaYDBMNgx40VKP8VYpCcdVAWfNWt9yEvXzQfQXznWzsKx42 ad4OAN0bKw3e7ZAg== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1731075270; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=SXJdaqSMnsHUaRN8xFbh062kUa5QA4J4s+lWtGNcyfQ=; b=Hyl15hCrHvhFh911UwqfvZRkULhIka5nKrHWRfoR5+qL0pbjQ6aJEO+3+R9o99n/VqGT2m zO/3BDwAfZc/5Qy4VVonuwigcjp8WmzjJyRN969q9fxxbGl6TCBgIfjeWboQplkOYoB4Dt YY3Dm5E3oJwXOImjMZli3QL2O2NfSh4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1731075270; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type; bh=SXJdaqSMnsHUaRN8xFbh062kUa5QA4J4s+lWtGNcyfQ=; b=uG+Uca5MeePzA6KHuxrvfsODR5XrAWDoKtwZSf9mxWh0T5yB5RkEF3vxuj98WMJPaLwmRz ptxjAIO+YkFRUNCQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id D5FE613967 for ; Fri, 8 Nov 2024 14:14:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id tbWcMsYcLmc0AQAAD6G6ig (envelope-from ) for ; Fri, 08 Nov 2024 14:14:30 +0000 Date: Fri, 8 Nov 2024 15:14:30 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix gcc.dg/vect/bb-slp-77.c for x86 MIME-Version: 1.0 Message-Id: <20241108141430.D5FE613967@imap1.dmz-prg2.suse.org> X-Spamd-Result: default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; PREVIOUSLY_DELIVERED(0.00)[gcc-patches@gcc.gnu.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo, imap1.dmz-prg2.suse.org:mid] 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 x86 doesn't have .REDUC_PLUS for V2SImode - there's no effective target for that so add it to the list of targets not expecting the BB vectorization. tested on x86-64, pushed * gcc.dg/vect/bb-slp-77.c: Add x86_64-*-* and i?86-*-* to the list of expected failing targets. --- gcc/testsuite/gcc.dg/vect/bb-slp-77.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-77.c b/gcc/testsuite/gcc.dg/vect/bb-slp-77.c index b2cc1d114f1..bc74f6a4db3 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-77.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-77.c @@ -71,4 +71,4 @@ void test(const int n, float * restrict s, const void * restrict vx, const void *s = sumf; } -/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1" { target { { vect_int_mult && vect_element_align } && { ! powerpc*-*-* } } } } } */ +/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp1" { target { { vect_int_mult && vect_element_align } && { ! { powerpc*-*-* x86_64-*-* i?86-*-* } } } } } } */