From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62249 invoked by alias); 8 Dec 2017 16:04:28 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 61801 invoked by uid 89); 8 Dec 2017 16:04:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*RU:HELO, Hx-spam-relays-external:HELO, vast, selling X-HELO: mga01.intel.com X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 Subject: Re: [PATCH] x86-64: Add sinf with FMA To: Nick Alcock , "H.J. Lu" Cc: GNU C Library , "H.J. Lu" References: <20171204180905.GA31592@gmail.com> <87a7yt5ht6.fsf@esperi.org.uk> From: Arjan van de Ven Message-ID: <8bcc88f1-e9d4-7c94-93ee-93a5ab7c4fa1@linux.intel.com> Date: Fri, 08 Dec 2017 16:04:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <87a7yt5ht6.fsf@esperi.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-12/txt/msg00270.txt.bz2 On 12/8/2017 8:02 AM, Nick Alcock wrote: > On 4 Dec 2017, H. J. Lu uttered the following: > >> On Skylake, bench-sinf reports performance improvement: >> >> Before After Improvement >> max 153.996 100.094 54% >> min 8.546 6.852 25% >> mean 18.1223 14.4616 25% >> >> Any comments? > > Do we have any benchmark runs on older processors? They're not remotely > obsolete: Intel is still selling Broadwell server parts, and the vast > majority of SSE2-capable parts out there at present are not as new as > Skylake. > > Are we penalizing them? (I'd guess not, but it would be nice to know.) this is just adding another IFUNC for FMA capable CPUs.. the older CPUs will keep using the code that they are running today.... so no they're not being penalized.