logoalt Hacker News

fidotrontoday at 5:32 PM2 repliesview on HN

How is the phrase "register window" not in this article? https://en.wikipedia.org/wiki/Register_window

"The AMD 29000 improved the design by allowing the windows to be of variable size, which helps utilization in the common case where fewer than eight registers are needed for a call. It also separated the registers into a global set of 64, and an additional 128 for the windows."

Amazing stuff. (Both the 29K and the article).


Replies

nanochesstoday at 6:06 PM

There was so much stuff to cover but there's a slight mention saying " had to add the LOADM and STOREM instructions as these handle the spilling of local registers to memory when the register stack is full" I can add an extra explanation there.

show 1 reply
taolsontoday at 5:54 PM

The registers could also be partitioned into fixed sizes and protected, to allow for a banked register file that allowed for amazingly fast context switches in RTOS systems.

show 1 reply