From owner-freebsd-hackers Mon Mar 15 21:44: 3 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 9B5EA14F8E for ; Mon, 15 Mar 1999 21:44:00 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id VAA03070; Mon, 15 Mar 1999 21:36:26 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199903160536.VAA03070@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Andrew Reilly" Cc: mike@smith.net.au, dillon@apollo.backplane.com, sjr@home.net, freebsd-hackers@FreeBSD.ORG Subject: Re: Use of "register" in code In-reply-to: Your message of "Tue, 16 Mar 1999 16:31:26 +1100." <19990316053126.40722.qmail@areilly.bpc-users.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Mar 1999 21:36:26 -0800 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > and unfortunately the use of > > 'register' by code authors doesn't help as they're not privy to the > > actual layout of the code at the point where register allocation is > > performed. > > I'm not sure that I understand that clause. Are you suggesting that > the use of "register" in declarations is harmful, or just that gcc > doesn't feel like doing anything useful with it? No, I'm suggesting that it's not helpful for a code author to use the register qualifier as they're in less of a position than the compiler to decide which variables should best be assigned register storage. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message