Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ComputerGuru
· 5y ago · 0 comments
x86_64 has 15 named registers, but many more in practice. Register renaming is used to bypass code that juggles between them.
Comments
[–]
CalChris
5y ago
I’m aware of that. But the compiler is limited to using the architectural register sets.
[–]
ComputerGuru
OP
5y ago
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.