From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3639F385840A; Tue, 6 Feb 2024 12:58:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3639F385840A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707224311; bh=htVgcDz2OO2117bAWBmKoHe8yCDKB4N/SFhpWaNHyy4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TpuOio2X1bVZwXIt29BXAfRxlOcrLQB6EePfbUfnBF/YRo2rfdcrsG4vr2payk6LP 4Kw3VWlgstQO0Rw+tHtvCY5pzOTG0SviLG6F+DqYd4S70ZuJTJ3y8sI83lrDuusSs4 9kAuhlVM/H4udqVDY96T5sSZvrE7G4sNFWnu3AJI= From: "miro.kropacek at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113779] Very inefficient m68k code generated for simple copy loop Date: Tue, 06 Feb 2024 12:58:30 +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: 13.2.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: miro.kropacek at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D113779 --- Comment #5 from Miro Kropacek --- I have been told that one of the reasons why post-incrementing modes are not supported / preferred these days is that they halt the CPU pipeline (of cou= rse, totally not applicable on m68k). So with the offsets you can parallelize the movements while when post-incrementing the values of a1, you always have to wait for the previous instruction to finish. So I could understand that this has been changed but it definitely shouldn'= t be a change involving all possible CPUs.=