From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D14C3858410; Tue, 23 May 2023 16:10:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D14C3858410 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684858216; bh=Wzge61t96Zycindi6sNwXpSSIzl2kIrc66DyFng6KGM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DMlZJVwYnCdqMPknDStYGK/CVNUULE2av+BhFjk5u880jazKgWOqUrNqgbHJpI7ex 4idwv3dQIkHBXtVnjwp7VtQs94wZUJs7FatkMD+78EANsiVLVwJ8nmXl5wMSTNWYkX TNNtiRtFwh4Z5ymFhpuuvZ6+PwlCVCRzQvsL31+4= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108752] word_mode vectorization is pessimized by hard limit on nunits Date: Tue, 23 May 2023 16:10:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108752 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:9d5034aad9868bed45472ef5bfac22dd9ac0e0cb commit r14-1136-g9d5034aad9868bed45472ef5bfac22dd9ac0e0cb Author: Richard Biener Date: Tue May 23 15:58:52 2023 +0200 Generic vector op costing adjustment This is a small adjustment to the work done for PR108752 and better reflects the cost of the generated sequence. PR tree-optimization/108752 * tree-vect-stmts.cc (vectorizable_operation): For bit operations with generic word_mode vectors do not cost an extra stmt. For plus, minus and negate also cost the constant materialization.=