From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1GFbvG-0005BK-JQ for user-mode-linux-devel@lists.sourceforge.net; Tue, 22 Aug 2006 12:28:26 -0700 Received: from emailhub.stusta.mhn.de ([141.84.69.5] helo=mailout.stusta.mhn.de) by mail.sourceforge.net with smtp (Exim 4.44) id 1GFbvC-0003Wy-Se for user-mode-linux-devel@lists.sourceforge.net; Tue, 22 Aug 2006 12:28:26 -0700 Date: Tue, 22 Aug 2006 21:28:14 +0200 From: Adrian Bunk Message-ID: <20060822192814.GA19896@stusta.de> References: <20060821215641.GQ11651@stusta.de> <20060822022012.GA7070@ccure.user-mode-linux.org> <20060822160741.GB11651@stusta.de> <20060822174233.GA5471@ccure.user-mode-linux.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20060822174233.GA5471@ccure.user-mode-linux.org> Subject: Re: [uml-devel] arch/um/sys-i386/setjmp.S: useless #ifdef _REGPARM's? List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Jeff Dike Cc: linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net On Tue, Aug 22, 2006 at 01:42:33PM -0400, Jeff Dike wrote: > On Tue, Aug 22, 2006 at 06:07:41PM +0200, Adrian Bunk wrote: > > I didn't find a corresponding open bug in the gcc Bugzilla. > > > > Can someone verify whether it's still present, and if yes, open a gcc > > bug? > > Yup, it's easy enough to check. Thanks. > > It's set globally in arch/i386/Makefile: > > cflags-$(CONFIG_REGPARM) += -mregparm=3 > > IIRC, there used to be functions explicitly declared as __regparam or > something, and that's what I was grepping for. Does this turn every > function with three or fewer parameters into a regparam function? >... With -mregparm=3, the first up to three parameters that aren't bigger than an integer are passed in registers instead of on the stack. > Jeff cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751255AbWHVT2R (ORCPT ); Tue, 22 Aug 2006 15:28:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751240AbWHVT2Q (ORCPT ); Tue, 22 Aug 2006 15:28:16 -0400 Received: from mailout.stusta.mhn.de ([141.84.69.5]:525 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S1751255AbWHVT2P (ORCPT ); Tue, 22 Aug 2006 15:28:15 -0400 Date: Tue, 22 Aug 2006 21:28:14 +0200 From: Adrian Bunk To: Jeff Dike Cc: linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Subject: Re: [uml-devel] arch/um/sys-i386/setjmp.S: useless #ifdef _REGPARM's? Message-ID: <20060822192814.GA19896@stusta.de> References: <20060821215641.GQ11651@stusta.de> <20060822022012.GA7070@ccure.user-mode-linux.org> <20060822160741.GB11651@stusta.de> <20060822174233.GA5471@ccure.user-mode-linux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060822174233.GA5471@ccure.user-mode-linux.org> User-Agent: Mutt/1.5.12-2006-07-14 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 22, 2006 at 01:42:33PM -0400, Jeff Dike wrote: > On Tue, Aug 22, 2006 at 06:07:41PM +0200, Adrian Bunk wrote: > > I didn't find a corresponding open bug in the gcc Bugzilla. > > > > Can someone verify whether it's still present, and if yes, open a gcc > > bug? > > Yup, it's easy enough to check. Thanks. > > It's set globally in arch/i386/Makefile: > > cflags-$(CONFIG_REGPARM) += -mregparm=3 > > IIRC, there used to be functions explicitly declared as __regparam or > something, and that's what I was grepping for. Does this turn every > function with three or fewer parameters into a regparam function? >... With -mregparm=3, the first up to three parameters that aren't bigger than an integer are passed in registers instead of on the stack. > Jeff cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed