From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF562385800C; Thu, 11 Jan 2024 04:11:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF562385800C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704946260; bh=MxPqdwBniCK+pnjiu+Yk/2thd+WDK6pot0adCp+Oa04=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NIkc3DinWFH3dh/7yC1vGxjuh6OhqsW1EmZi3g+Is4u0kqJOo9+AOpYjBHmKeZmf5 At2cXmNkU6MQ2pdz/Vobs+ZhJDOkngXW+EPCoYoyVES7yxW+vaasytrTkFIuUlnP4s ys12BDqX30p4LYtKf5yEmAxAJwU9tfiv56kXIJhI= From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113312] Update __attribute__((interrupt)) for Intel FRED Date: Thu, 11 Jan 2024 04:11: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: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail 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 #9 from H.J. Lu --- (In reply to H.J. Lu from comment #8) > (In reply to H.J. Lu from comment #7) > > (In reply to H. Peter Anvin from comment #6) > > > Of course. That's not what we want in the Linux kernel specifically, = though. > > > It's really up to the OS. > >=20 > > no_callee_saved_registers attribute is sufficient. One can do > > >=20 void __attribute__((no_callee_saved_registers)) fred_handler (struct fred_event_info_and_caller_saved_regs *arg) { ... }=