From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9071C3858C56; Tue, 27 Feb 2024 08:32:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9071C3858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709022726; bh=ksM3VHV/rUZ/YbfCkkXgJEBHOLnC53Dgn1pn9eUft9E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jz/ctqkakRds7kFfgYlRXzdgr08yECKy0yjmIIr3NqWD31jsYYaBifNutY5vr6g/X sJLm2kjyYk2sHSxbgc5lDXKnQwLJosJTo5Hsx8GE3YO8U3hvppXxWvJ+SWqeUcKG0a gO9JDfQmEb7wNDR2M01xqnAsYCtmXGh0o+l2UEcg= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114122] RISC-V: poor code generation in calling convention with vlen > 4096 Date: Tue, 27 Feb 2024 08:32:00 +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: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords 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=3D114122 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization --- Comment #1 from Richard Biener --- Note it's always difficult if you rely on argument passing / return that is outside of the ABI specification for the platform so I'd advise against such interfaces. Instead I'd suggest to go with by-referenece argument/return.=