From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by sourceware.org (Postfix) with ESMTPS id EC3E63857838 for ; Mon, 10 Jul 2023 20:33:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EC3E63857838 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=ispras.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ispras.ru Received: from [10.10.3.121] (unknown [10.10.3.121]) by mail.ispras.ru (Postfix) with ESMTPS id C809B40737A6; Mon, 10 Jul 2023 20:33:40 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.ispras.ru C809B40737A6 Date: Mon, 10 Jul 2023 23:33:40 +0300 (MSK) From: Alexander Monakov To: Michael Matz cc: gcc-patches@gcc.gnu.org, Jan Hubicka Subject: Re: [x86-64] RFC: Add nosse abi attribute In-Reply-To: Message-ID: <90e8d926-b6be-ff57-4774-6440f5de1532@ispras.ru> References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323328-1520696726-1689021220=:8926" X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1520696726-1689021220=:8926 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Mon, 10 Jul 2023, Alexander Monakov wrote: > > I chose to make it possible to write function definitions with that > > attribute with GCC adding the necessary callee save/restore code in > > the xlogue itself. > > But you can't trivially restore if the callee is sibcalling — what > happens then (a testcase might be nice)? Sorry, when the caller is doing the sibcall, not the callee. Alexander --8323328-1520696726-1689021220=:8926--