From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F04913858424; Tue, 21 Nov 2023 07:20:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F04913858424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700551235; bh=pEoBZPR731pvPPoJSRpvKUDWA2PM0WOID/48NktOUv0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U3Nx3quz8QBv2244qrY1TzTHPok4AlEh4JoSX/sakq9wN5fbecDihxJ+8ZShtDEQk JNPj94Ej5gg44a1h37C/pPSDyD8lsxDVuRuDN4rYPuRLlCTdDk7orB3oq0ABWA8d6m G9oc/aYkOCO1JUH6z2lVSmBE45nAs4dmp51fpHqE= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111970] [14 regression] SLP for non-IFN gathers result in RISC-V test failure on gather since r14-4745-gbeab5b95c58145 Date: Tue, 21 Nov 2023 07:20:33 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 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=3D111970 --- Comment #22 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c656d268c9dac8b6f710b9bbd399214cb11b3287 commit r14-5635-gc656d268c9dac8b6f710b9bbd399214cb11b3287 Author: Richard Biener Date: Mon Nov 20 15:16:44 2023 +0100 tree-optimization/111970 - fix issue with SLP of emulated gather/scatter There's a missed index adjustment for the SLP vector number when computing the index/data vectors for emulated gather/scatter with SLP. The following fixes this. PR tree-optimization/111970 * tree-vect-stmts.cc (vectorizable_load): Fix offset calculation for SLP gather load. (vectorizable_store): Likewise for SLP scatter store.=