From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D3A45385841A; Fri, 19 Jan 2024 08:41:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3A45385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705653677; bh=Tfcg64DM2gIlLHqmry89oIWLbSZ99gen26fmjB96IC0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VjIckPXP6jZvYZumH2PuQ4IHfGbBFzRi/m8sY5EVZn1Gzej7MKqW9lhdJph+HMjF6 RUzlpxXwPtRmcgEMnki8m5xwJPemqhwBAiENWhz+f+mgykBVBMSFOmH0dMwPKo6ME5 XLc5pPsBMnjYSJ7Jx5Ly5XuVEzeuUyzBpGIF90x4= From: "juzhe.zhong at rivai dot ai" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/113495] RISC-V: Time and memory awful consumption of SPEC2017 wrf benchmark Date: Fri, 19 Jan 2024 08:41:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: juzhe.zhong at rivai dot ai 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=3D113495 --- Comment #19 from JuzheZhong --- (In reply to JuzheZhong from comment #18) > Hi, Robin. >=20 > I have fixed patch for memory-hog: > https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643418.html >=20 > I will commit it after the testing. >=20 > But compile-time hog still exists which is loop invariant motion PASS. >=20 > with -fno-move-loop-invariants, we become quite faster. >=20 > Could you take a look at it ? Note that with default -march=3Drv64gcv_zvl256b -O3: real 63m18.771s user 60m19.036s sys 2m59.787s But with -march=3Drv64gcv_zvl256b -O3 -fno-move-loop-invariants: real 6m52.984s user 6m42.473s sys 0m10.375s 10 times faster without loop invariant motion.=