From patchwork Wed Nov 6 14:43:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 2007596 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=jYKBVnsr; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Hmyly96d; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=jYKBVnsr; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=Hmyly96d; 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 4Xk7JC5Zvbz1xxf for ; Thu, 7 Nov 2024 01:44:11 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 58F0F3858D20 for ; Wed, 6 Nov 2024 14:44:07 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2a07:de40:b251:101:10:150:64:1]) by sourceware.org (Postfix) with ESMTPS id 7687E3858D20 for ; Wed, 6 Nov 2024 14:43:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7687E3858D20 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 7687E3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a07:de40:b251:101:10:150:64:1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730904229; cv=none; b=w7nLJKF+C93dxvsjPzeGWWT+uQe6zk+87SeSU8ipyCzAcc+erIFMMU9NGJgYmZMjrHqnUm+cBIhbNSfqbMbJriOOfMzg+7chHCN7Ba34L2NysygdO00i4hhU4HQlLEdCqQj3uBnnbaxHZroHfxt4QoT7XDe83dN2cX8y/JP8Xhk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730904229; c=relaxed/simple; bh=jJbi0dDB+f3yywk6BXVJVOnztGezyDj207OEmTm3c8I=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date: From:To:Subject:MIME-Version; b=YBHPGUuTi1SJpTEC6floemClUShU6+GhTVaH/1UrchslsR4Yyinth7u9JE/hCL67Fnfyx9NVov/HSVYu6/AUX6bW2styeUL0QxUhW0YbmhcxJ5iX5LMQrvLBmh1sDUBE1VXOztTlUBbXzx04kI2dhkQ/uiCFUW7JS7OcN/6A4S8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from murzim.nue2.suse.org (unknown [10.168.4.243]) (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-out1.suse.de (Postfix) with ESMTPS id 8759E21A9A; Wed, 6 Nov 2024 14:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1730904221; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=s+0X+P2s9z4zuxknMp9DcuWhh3+meKoH3eR7ggfkBZk=; b=jYKBVnsrodc8MJZJ+LVC/1iJO3ZBCWiE7HxsuBMYz3hgYjLNR58Ug3G7Xup36z1+bBAVrz MzArmOj1T+Nhxz8YRBXEkmAECwMBEgO9l6O046/YBPZk4OQPw00uvBNzSMd0/N4ydvGXEl qu+tyo1Xcfo7HwmxreiCCSsCbXp7bcQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1730904221; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=s+0X+P2s9z4zuxknMp9DcuWhh3+meKoH3eR7ggfkBZk=; b=Hmyly96dO7RE1cMACC0MuTrxzkntuP31r8pzM9g4JUZZYsUR/oFc6HPgDjZysuj0FIOfRT W8NmzjtV+AJdn+BQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1730904221; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=s+0X+P2s9z4zuxknMp9DcuWhh3+meKoH3eR7ggfkBZk=; b=jYKBVnsrodc8MJZJ+LVC/1iJO3ZBCWiE7HxsuBMYz3hgYjLNR58Ug3G7Xup36z1+bBAVrz MzArmOj1T+Nhxz8YRBXEkmAECwMBEgO9l6O046/YBPZk4OQPw00uvBNzSMd0/N4ydvGXEl qu+tyo1Xcfo7HwmxreiCCSsCbXp7bcQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1730904221; h=from:from:reply-to:date:date:to:to:cc:cc:mime-version:mime-version: content-type:content-type; bh=s+0X+P2s9z4zuxknMp9DcuWhh3+meKoH3eR7ggfkBZk=; b=Hmyly96dO7RE1cMACC0MuTrxzkntuP31r8pzM9g4JUZZYsUR/oFc6HPgDjZysuj0FIOfRT W8NmzjtV+AJdn+BQ== Date: Wed, 6 Nov 2024 15:43:41 +0100 (CET) From: Richard Biener To: gcc-patches@gcc.gnu.org cc: RISC-V CI , richard.sandiford@arm.com, tamar.christina@arm.com, ams@baylibre.com, jeffreyalaw@gmail.com Subject: [PATCH] Set --param vect-force-slp=1 MIME-Version: 1.0 X-Spamd-Result: default: False [-0.81 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MISSING_MID(2.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.991]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.01)[-0.010]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[rivosinc.com,arm.com,baylibre.com,gmail.com]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_FIVE(0.00)[6] 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 Message-Id: <20241106144407.58F0F3858D20@sourceware.org> The following pulls the trigger, defaulting --param vect-force-slp to 1. I know of no features missing but eventually minor testsuite and optimization quality fallout. Bootstrapped and tested on x86_64-unknown-linux-gnu. I'll amend PR116578 with the list of FAILs this causes (my baseline is outdated, need to reproduce it). * params.opt (vect-force-slp): Default to 1. --- gcc/params.opt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/params.opt b/gcc/params.opt index 7c572774df2..10a2b089279 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -1207,7 +1207,7 @@ Common Joined UInteger Var(param_vect_induction_float) Init(1) IntegerRange(0, 1 Enable loop vectorization of floating point inductions. -param=vect-force-slp= -Common Joined UInteger Var(param_vect_force_slp) Init(0) IntegerRange(0, 1) Param Optimization +Common Joined UInteger Var(param_vect_force_slp) Init(1) IntegerRange(0, 1) Param Optimization Force the use of SLP when vectorizing, fail if not possible. -param=vrp-block-limit=