From owner-freebsd-stable Wed Oct 7 11:43:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20641 for freebsd-stable-outgoing; Wed, 7 Oct 1998 11:43:39 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from freebie.dcfinc.com (freebie.dcfinc.com [138.113.5.128]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20624 for ; Wed, 7 Oct 1998 11:43:28 -0700 (PDT) (envelope-from chad@freebie.dcfinc.com) Received: (from chad@localhost) by freebie.dcfinc.com (8.8.7/8.8.3a) id LAA24550; Wed, 7 Oct 1998 11:42:58 -0700 (MST) From: "Chad R. Larson" Message-Id: <199810071842.LAA24550@freebie.dcfinc.com> Subject: Re: Global register variables in gcc and stdio.h?!? To: marko@cs.uni-frankfurt.de Date: Wed, 7 Oct 1998 11:42:57 -0700 (MST) Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: <199810071330.PAA22126@king.ki.informatik.uni-frankfurt.de> from Marko Schuetz at "Oct 7, 98 03:30:38 pm" Reply-to: chad@dcfinc.com X-unexpected: The Spanish Inquisition X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > An application I want to compile runs much faster if it can use global > register variables. [ snip ] > Please comment. One comment I'd have is that GCC does a pretty wonderful job of allocating registers on its own. Perhaps your experience is based on some other compiler? My personal opinion after staring at a lot of compiler-generated assembler code. -crl -- Chad R. Larson (CRL15) 602-953-1392 Brother, can you paradigm? chad@dcfinc.com chad@larsons.org chad@anasazi.com larson1@home.net DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message