From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) by sourceware.org (Postfix) with ESMTPS id 185953858D20 for ; Tue, 11 Jul 2023 08:53:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 185953858D20 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=ucw.cz Authentication-Results: sourceware.org; spf=none smtp.mailfrom=kam.mff.cuni.cz Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 6DA85281D37; Tue, 11 Jul 2023 10:53:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1689065598; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O+T2TBOxyIk2A0FkYsGNbn/EcQZUK7FOuCwcUnkKPws=; b=NpG8REeb4CSoxx38zEXGwpxPm1yXWvsfNJILO4sfBnZ3NDtxCt5InHZuHfD5jzxuClnTeB XRl/AkAdCOq+/AcXJ8AiwMoS48l0ik2Dewq4j6+tvbKkAQCzi1gbDaFjhfkDBmKm8676CG VA7tlFQS5+3iCOTEfssmdpvBZxuBN+s= Date: Tue, 11 Jul 2023 10:53:18 +0200 From: Jan Hubicka To: Richard Biener Cc: Alexander Monakov , Michael Matz , gcc-patches@gcc.gnu.org Subject: Re: [x86-64] RFC: Add nosse abi attribute Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > > > FWIW, this particular patch was regstrapped on x86-64-linux > > > with trunk from a week ago (and sniff-tested on current trunk). > > > > This looks really cool. > > The biggest benefit might be from IPA with LTO where we'd carefully place those > attributes at WPA time (at that time tieing our hands for later). Within single partition IRA already propagates the knowledge about callee-clobbered registers. Across partition we already automatically enable regparm with -m32 see ix86_function_regparm and tests for target->local and can_change_attribute Enabling SSE at the same spot should be easy. Honza