From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 053B63858C5E; Sat, 13 Jan 2024 20:51:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 053B63858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705179087; bh=toYRDqVZincLLg76pv8UXJ6JBw/I+m/3BboU/F4WJZY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RJnfeC+YfL/kP8dBGF0IxF8iDKuNd5KAuhKWSoOzwLZrnGC7BDNfzzYbXgz0sgl9i dtXh438L7CF5ZLS3tLkIGVTmnr0ZBiQy5HEryWrlAGl2ANYguv9AHsXX23j04ye0Am sMsc11AhFpedb0a8WEPC8TQ3LwR58bMo2Lx3SL24= From: "hpa at zytor dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113312] Update __attribute__((interrupt)) for Intel FRED Date: Sat, 13 Jan 2024 20:51:26 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: hpa at zytor dot com X-Bugzilla-Status: NEW 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=3D113312 --- Comment #21 from H. Peter Anvin --- I think this could be a really useful performance improvement in general. T= he Linux exception and syscall paths have a fair number of tail calls on the primary path, and this would make it possible to avoid the register save and restores for each of the functions in the tail called path. I have asked Xin Li (FRED maintainer) to try this out when he has the opportunity, although right now the Linux kernel merge window is open and so that is necessarily his first priority.=