From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 182E8385840E; Mon, 20 Sep 2021 02:29:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 182E8385840E From: "wilson at gcc dot gnu.org" To: elfutils-devel@sourceware.org Subject: [Bug backends/27925] riscv backend only provides return value locations for code compiled for LP64D ABI Date: Mon, 20 Sep 2021 02:29:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: backends X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wilson at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: elfutils-devel@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Elfutils-devel mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2021 02:29:24 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27925 --- Comment #5 from Jim Wilson --- I hadn't thought about the kernel. It is compiled LP64 and with the FP extensions disabled, to avoid accidentally using FP registers. It does save/restore FP registers in the context switching code, but otherwise does= n't use FP registers, so that we don't have to save/restore FP registers in sys= tem calls. If there are no FP types in the kernel then LP64D will behave identically to LP64. But if you have a testsuite that checks all features, then we would have to implement LP64 correctly, and your patch is a step in= the right direction. --=20 You are receiving this mail because: You are on the CC list for the bug.=