LWN.net Logo

register

register

Posted Aug 25, 2012 0:00 UTC (Sat) by giraffedata (subscriber, #1954)
In reply to: Quotes of the week by vonbrand
Parent article: Quotes of the week

"disregard register because ..." sounds to me like it subsumes "disregard register completely." What is the difference between the very smart and dumb compilers?


(Log in to post comments)

register

Posted Aug 25, 2012 13:45 UTC (Sat) by mpr22 (subscriber, #60784) [Link]

The dumb one doesn't store variables in registers at all (other than transiently); everything is on the stack, because that's simpler to code the compilation behaviour for.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds