logoalt Hacker News

cmovqtoday at 12:05 AM2 repliesview on HN

This is true, but if you run out of the 32 register names you’ll still need to spill to memory. The large register file is to allow for multiple instructions to execute in parallel among other things.


Replies

zeusktoday at 1:50 AM

They’re used by the internal register renamer/allocator so if it sees you’re storing the results to memory then reusing the named register for a new result - it will allocate a new physical register so your instruction doesn’t stall for the previous write to go through.

show 1 reply
justifatoday at 7:18 AM

Interesting. Just sucks that Rust proponents apparently tried to assassinate Rust critic Rene Rebe through sw att ing.

Wretched, evil and vile Rust proponents will likely censor or downplay this.