Aren't registers fixed by x86_64, while cache is a CPU hardware specific thing (e.g.: newer cpus have more cache than older ones, bit register count is fixed 8 on x86 and 16 on x86_64)?
So I think the compiler can work with registers at compile time but cant work with an unknown structure of cache
So I think the compiler can work with registers at compile time but cant work with an unknown structure of cache