They can, but now you have register spilling, register allocation, and your instruction sizes aren't significantly smaller, since you still refer to registers.
All in all, it's a bad idea unless you're doing it in hardware (where you simply can't have enough registers due to cost [in money and die area] issues)
Comments
They can, but now you have register spilling, register allocation, and your instruction sizes aren't significantly smaller, since you still refer to registers.
All in all, it's a bad idea unless you're doing it in hardware (where you simply can't have enough registers due to cost [in money and die area] issues)