Re:It’s Not Always iCache
by ComputerGuru on Wednesday July 14, 2021 @06:11PM
(#27839081)
x86_64 has 15 named registers, but many more in practice. Register renaming is used to bypass code that juggles between them.
[ Parent
| on HN ]
I’m aware of that. But the compiler is limited to using the architectural register sets.
Re:It’s Not Always iCache
by ComputerGuru on Wednesday July 14, 2021 @10:10PM
(#27840759)
Right, but the modern CPU pretty much ignores that altogether and looks only at dependency chains to decide which and how many registers to use.