logoalt Hacker News

hyperhellotoday at 3:05 AM1 replyview on HN

Do you really not ‘pass’ register parameters? How can anyone tell if you didn’t?


Replies

Polizeiposaunetoday at 3:15 AM

Read the post - not all architectures behave the same!

Itanic had variable-sized register windows, plus extra tag bits for NaT ("not a thing") placeholder values. If you didn't set one of the argument registers the callee might trap in unexpected ways when it touches the register garbage.

show 1 reply