From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7810) id 396283857708; Wed, 24 Jan 2024 09:23:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 396283857708 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706088207; bh=zJ1B0R3ipujAc/ZX1GfWyknMuJUD69kwKu/nE1Fbr5g=; h=From:To:Subject:Date:From; b=ws0ttG+TFdKn5e9/bP4R+D3VQ7Stzjg9WR6lz33gM7LfLWSYnBY4q/4/2qO9w6psg oEuY4dwU1ZoKJW2/wPQhbbn7F28GKcMT12bk8IJfUsOIfYivJtPSwISlR9Da/Uemc5 kpEDqwKoEJrwFmjC537jMejutAJ1WouWGhZZwkb8= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alex Coplan To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8384] aarch64: Re-enable ldp/stp fusion pass X-Act-Checkin: gcc X-Git-Author: Alex Coplan X-Git-Refname: refs/heads/master X-Git-Oldrev: 59004711660065a731be07c92150d45de430a550 X-Git-Newrev: da9647e98aa289ba3aba41cf5bbe14d0f5f27e77 Message-Id: <20240124092327.396283857708@sourceware.org> Date: Wed, 24 Jan 2024 09:23:27 +0000 (GMT) List-Id: https://gcc.gnu.org/g:da9647e98aa289ba3aba41cf5bbe14d0f5f27e77 commit r14-8384-gda9647e98aa289ba3aba41cf5bbe14d0f5f27e77 Author: Alex Coplan Date: Wed Jan 24 09:22:19 2024 +0000 aarch64: Re-enable ldp/stp fusion pass Since, to the best of my knowledge, all reported regressions related to the ldp/stp fusion pass have now been fixed, and PGO+LTO bootstrap with --enable-languages=all is working again with the passes enabled, this patch turns the passes back on by default, as agreed with Jakub here: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642478.html gcc/ChangeLog: * config/aarch64/aarch64.opt (-mearly-ldp-fusion): Set default to 1. (-mlate-ldp-fusion): Likewise. Diff: --- gcc/config/aarch64/aarch64.opt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/aarch64/aarch64.opt b/gcc/config/aarch64/aarch64.opt index c495cb34fbf..ceed5cdb201 100644 --- a/gcc/config/aarch64/aarch64.opt +++ b/gcc/config/aarch64/aarch64.opt @@ -290,12 +290,12 @@ Target Var(aarch64_track_speculation) Generate code to track when the CPU might be speculating incorrectly. mearly-ldp-fusion -Target Var(flag_aarch64_early_ldp_fusion) Optimization Init(0) +Target Var(flag_aarch64_early_ldp_fusion) Optimization Init(1) Enable the copy of the AArch64 load/store pair fusion pass that runs before register allocation. mlate-ldp-fusion -Target Var(flag_aarch64_late_ldp_fusion) Optimization Init(0) +Target Var(flag_aarch64_late_ldp_fusion) Optimization Init(1) Enable the copy of the AArch64 load/store pair fusion pass that runs after register allocation.