From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF4FA38083D8; Wed, 5 Jun 2024 23:33:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF4FA38083D8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1717630397; bh=2MHNavge/lwQCnJfL4iaODlxIdYYoRQn9TuW5Yl0Duw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rPRj2JhaBZrx2KwiZ8ziGJJgsob+gYUqgje4XZVnU/AJgRkAniO7QC5jJV5asOMrF lG5abaQ0iMbSoqhHoVtuoyACyIFEpvdXTqi04HDSUJmA3zVayteBe5dHbvkUwTN4Pm iWnfdc1/KLwIX5REnrD3j8zH0s7I1hHDSgXrlkOw= From: "roger at nextmovesoftware dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115351] [14/15 regression] pointless movs when passing by value on x86-64 Date: Wed, 05 Jun 2024 23:33:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.1.0 X-Bugzilla-Keywords: missed-optimization, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: roger at nextmovesoftware dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: roger at nextmovesoftware dot com X-Bugzilla-Target-Milestone: 14.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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=3D115351 Roger Sayle changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |roger at nextmoveso= ftware dot com --- Comment #3 from Roger Sayle --- I have a fix (to ix86_rtx_costs) that I'm bootstrapping and regression test= ing. By making concatditi3 slightly cheaper than *insvti_highpart (COSTS_N_INSN(= 2) vs. COSTS_N_INSNS(2)+1), fwprop is able to do the right.=