Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: register al...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 10 Topic 2366 of 2472
Post > Topic >>

Re: register allocation: basic blocks, liveness and next use

by Jeff Kenton <jeffrey.kenton@[EMAIL PROTECTED] > Apr 3, 2008 at 08:18 PM

Indeed, Bob Morgan's book says he treats procedure calls similarly to
expression handling because they don't change the flow of control.
Similarly, Steve Muchnick prefers to do likewise because it results in
longer blocks, but makes exceptions for Fortran routines with multiple
returns and for setjmp()/longjmp().  Bill Wolf's book doesn't appear
to mention the issue at all.


[  Aside:  lots of folks mention Wulf's book.  To me it seems more like
nostalgia than relevance these days.  Bliss on the PDP-11 doesn't do
much for me.  But everyone has an old favorite like that.  Mine is B.
Randell and L.J. Russell, ALGOL 60 Implementation -- it impressed me
when I first read it, but I'd probably be disappointed in it now. ]

jeff


Chris F Clark wrote:
 > I've seen more divergence in whether a call breaks a block or not.
 > . . .
 >
 > While I am not surprised you haven't found a book that covered
 > that aspect, I suspect that it isn't that it is never addressed in
 > compiler texts.  For example, I would be willing to bet that Bob
 > Morgan's book covers it, as did Bill Wulf's book, and the book on the
 > VAX PL/I compiler.  I would also be surprised if it wasn't addressed
 > somewhere in Steve Muchnick's book.



--

---------------------------------------------------------------------
=    Jeff Kenton      http://home.comcast.net/~jeffrey.kenton
      =
---------------------------------------------------------------------
 




 10 Posts in Topic:
register allocation: basic blocks, liveness and next use
kphillips <kevin.phill  2008-03-22 17:22:06 
Re: register allocation: basic blocks, liveness and next use
Gene <gene.ressler@[EM  2008-03-22 20:47:01 
Re: register allocation: basic blocks, liveness and next use
Max Hailperin <max@[EM  2008-03-23 12:16:23 
Re: register allocation: basic blocks, liveness and next use
Gene <gene.ressler@[EM  2008-03-23 19:27:05 
Re: register allocation: basic blocks, liveness and next use
Max Hailperin <max@[EM  2008-03-23 09:38:50 
Re: register allocation: basic blocks, liveness and next use
Max Hailperin <max@[EM  2008-03-23 12:04:59 
Re: register allocation: basic blocks, liveness and next use
kphillips <kevin.phill  2008-03-23 10:47:36 
Re: register allocation: basic blocks, liveness and next use
Chris F Clark <cfc@[EM  2008-03-23 22:43:28 
Re: register allocation: basic blocks, liveness and next use
kphillips <kevin.phill  2008-03-27 03:26:50 
Re: register allocation: basic blocks, liveness and next use
Jeff Kenton <jeffrey.k  2008-04-03 20:18:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 14:25:12 CDT 2008.