From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D281D3858423; Wed, 4 Oct 2023 12:50:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D281D3858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696423844; bh=+7V17+dAsVcspd7eeQqJRU/0zKL1Brhqx0l6jRimHaY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hozHuZvbj3X+ttH+xbkWmhCr+x7ft9/5OovRJU6eWf1no0RMY3gt0Ae5DdHWqD+kb 0SJ2NUe3Y9eOCbCze+8wdCWeGZ5M87d5894O28ZFDXQTLD+FD6ysnCL7T0oUyUNSMg h0tHfOkw6A4GHCCqh0xBSgR13yN77KxGr78/mNwU= From: "rdapp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111600] [14 Regression] RISC-V bootstrap time regression Date: Wed, 04 Oct 2023 12:50:43 +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.0 X-Bugzilla-Keywords: compile-time-hog, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: rdapp at gcc dot gnu.org 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: 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=3D111600 --- Comment #18 from Robin Dapp --- Just finished an initial timing run, sorted, first 10: Time variable usr sys = wall GGC phase opt and generate : 567.60 ( 97%) 38.23 ( 87%) 608.13 ( = 97%) 22060M ( 90%) callgraph functions expansion : 491.16 ( 84%) 31.48 ( 72%) 524.60 ( = 83%) 18537M ( 75%) integration : 90.09 ( 15%) 11.68 ( 27%) 103.25 ( = 16%) 13408M ( 54%) tree CFG cleanup : 74.43 ( 13%) 1.02 ( 2%) 74.66 ( = 12%) 201M ( 1%) callgraph ipa passes : 70.16 ( 12%) 6.21 ( 14%) 76.66 ( = 12%) 2921M ( 12%) tree STMT verifier : 64.03 ( 11%) 3.52 ( 8%) 67.61 ( = 11%) 0 ( 0%) tree CCP : 44.78 ( 8%) 2.91 ( 7%) 47.65 ( = 8%) 314M ( 1%) integrated RA : 42.82 ( 7%) 0.86 ( 2%) 42.71 ( = 7%) 880M ( 4%) `- tree CFG cleanup : 30.57 ( 5%) 0.38 ( 1%) 32.03 ( = 5%) 198M ( 1%) `- tree CCP : 29.78 ( 5%) 0.05 ( 0%) 29.87 ( = 5%) 168M ( 1%) tree SSA verifier : 28.07 ( 5%) 1.42 ( 3%) 30.91 ( = 5%) 0 ( 0%) Per-function sorted expansion time (first 10): insn_code maybe_code_for_pred_indexed_store(int, machine_mode, machine_mode= ); 3.050000 insn_code maybe_code_for_pred_indexed_load(int, machine_mode, machine_mode); 2.680000 insn_code maybe_code_for_pred(int, machine_mode); 1.490000 rtx_insn* gen_split_4213(rtx_insn*, rtx_def**); 1.330000 insn_code maybe_code_for_pred_scalar(rtx_code, machine_mode); 1.180000 rtx_insn* gen_split_1266(rtx_insn*, rtx_def**); 0.700000 insn_code maybe_code_for_pred_slide(int, machine_mode); 0.510000 insn_code maybe_code_for_pred_scalar(int, machine_mode); 0.340000 insn_code maybe_code_for_pred_dual_widen(rtx_code, rtx_code, machine_mode); 0.300000 insn_code maybe_code_for_pred_dual_widen_scalar(rtx_code, rtx_code, machine_mode); 0.290000 Expanding all splitter functions (~8000) takes 214s, so roughly 40% of the expansion time. This we wouldn't get rid of even when not using insn helpers.=