Related articles |
---|
[8 earlier articles] |
Re: register variables in C. pardo@cs.washington.edu (1992-05-01) |
Re: register variables in C. metaware!miker@uunet.UU.NET (1992-05-01) |
Re: register variables in C. preston@dawn.cs.rice.edu (1992-05-01) |
Re: register variables in C. bliss@sp64.csrd.uiuc.edu (1992-05-01) |
Re: register variables in C. ressler@cs.cornell.edu (1992-05-02) |
Re: register variables in C. stephen@estragon.uchicago.edu (1992-05-04) |
Re: register variables in C. macrakis@osf.org (1992-05-04) |
Re: register variables in C. gnb@bby.oz.au (1992-05-04) |
Re: register variables in C. cliffc@cs.rice.edu (1992-05-06) |
Newsgroups: | comp.compilers |
From: | macrakis@osf.org (Stavros Macrakis) |
Keywords: | C, registers, optimize |
Organization: | OSF Research Institute |
References: | 92-04-125 92-05-018 |
Date: | Mon, 4 May 1992 22:04:15 GMT |
bliss@sp64.csrd.uiuc.edu (Brian Bliss) writes:
[with respect to "register" declarations and related optimizer hints]
$.02 : declare variables in the innermost scope in which they are active,
and use {} frequently to reduce the scope of temporaries.
When I experimented with this a few years ago, the compilers I tried
flattened the scope upstream of register and stack allocation.
-s
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.