From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5855 invoked by alias); 20 Dec 2012 15:05:37 -0000 Received: (qmail 5827 invoked by uid 22791); 20 Dec 2012 15:05:35 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Dec 2012 15:05:28 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 672385428C6; Thu, 20 Dec 2012 16:05:26 +0100 (CET) Date: Thu, 20 Dec 2012 15:05:00 -0000 From: Jan Hubicka To: "H.J. Lu" Cc: "Melik-adamyan, Areg" , Jan Hubicka , Jakub Jelinek , Xinliang David Li , GCC Patches , Teresa Johnson Subject: Re: [PATCH i386]: Enable push/pop in pro/epilogue for modern CPUs Message-ID: <20121220150526.GA4753@kam.mff.cuni.cz> References: <20121213011933.GB21037@atrey.karlin.mff.cuni.cz> <20121213062128.GK2315@tucnak.redhat.com> <20121213202601.GD26009@kam.mff.cuni.cz> <20121213204049.GE26009@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01246.txt.bz2 > Hi Areg, > > Did you mean inlined memcpy/memset are as fast as > the ones in libc.so on both ia32 and Intel64? I would be interested in output of the stringop script. > > Please keep in mind that memcpy/memset in libc.a > may not be optimized. You must not use -static for > linking. In my setup I use dynamic linking... (this is quite anoying property in general - people tend to use --static for performance critical binaries to save expenses of PIC. It would be really cool to have way to call proper stringops based on -march switch....) Honza > > -- > H.J.