MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/mu33ox/visual_studio_2022/gv4wjp9
r/programming • u/ben_a_adams • Apr 19 '21
475 comments sorted by
View all comments
Show parent comments
1
Modern CPUs have many registers that shadow the “public” registers based on data access patterns
2 u/nikomo Apr 19 '21 That is what I said, yes. But the guessing inside the CPU isn't going to be perfect, it makes more sense to let the compiler handle it, or at least provide better hinting to the CPU.
2
That is what I said, yes. But the guessing inside the CPU isn't going to be perfect, it makes more sense to let the compiler handle it, or at least provide better hinting to the CPU.
1
u/screwthat4u Apr 19 '21
Modern CPUs have many registers that shadow the “public” registers based on data access patterns