Consequences of passing too few register parameters to a C function

(devblogs.microsoft.com)

20 points | by aragonite 2 days ago

3 comments

  • hyperhello 5 minutes ago
    Do you really not ‘pass’ register parameters? How can anyone tell if you didn’t?
  • bananamogul 1 hour ago
    Raymend Chen has probably forgotten more about programming than I'll ever know, but aren't the first two blah() function examples either missing a } or have a superfluous { after the else?
    • Onavo 25 minutes ago
      Post COVID software engineer grads probably won't understand this comment.
  • anitil 1 hour ago
    I had never considered the idea of passing too few register params so I didn't immediately think of the reuse problem. And I had no idea about Itanium's Not-a-thing bit! Always a good read from Raymond Chen.