register variables in C.

eric@pencom.com
Wed, 22 Apr 1992 17:48:36 GMT

          From comp.compilers

Related articles
register variables in C. eric@pencom.com (1992-04-22)
register variables in C. kennykb@dssv01.crd.ge.com (1992-04-22)
Re: register variables in C. moss@cs.umass.edu (1992-04-23)
Re: register variables in C. dd@mips.com (1992-04-23)
re: register variables in C wicklund@intellistor.com (1992-04-23)
Re: register variables in C. dave.howell@ColumbiaSC.NCR.COM (Dave Howell) (1992-04-24)
Static vs. dynamic analysis chuck_lins@gateway.qm.apple.com (Chuck Lins) (1992-04-24)
[16 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: eric@pencom.com
Keywords: C, optimize, question, registers
Organization: Pencom Software
Date: Wed, 22 Apr 1992 17:48:36 GMT

In general, can a good optimizing C compiler do a better job
of assigning registers to variables better than the programmer?


In other words, should a programmer ever use the "register" storage class?
[My impression is that the compiler can do a much better job, particularly
with a graph coloring register allocator, but I'd be interested in some
real data. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.