Date: Mon, 15 Mar 1999 21:36:26 -0800 From: Mike Smith <mike@smith.net.au> To: "Andrew Reilly" <andrew@lake.com.au> Cc: mike@smith.net.au, dillon@apollo.backplane.com, sjr@home.net, freebsd-hackers@FreeBSD.ORG Subject: Re: Use of "register" in code Message-ID: <199903160536.VAA03070@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 16 Mar 1999 16:31:26 %2B1100." <19990316053126.40722.qmail@areilly.bpc-users.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903160536.VAA03070>