Number of registers on x86
dewar@gnat.com
dewar@gnat.com
Tue Jan 30 05:34:00 GMT 2001
<<Does anyone know how the new Amiga assembler works? They have an
infinite(!) amount of registers which the runtime schedules to use the
registers available on the chip the code is running on. It might be
interesting to see if this algorithm could lead to better use of registers
on compile time also.
>>
There seems nothing unusual about this approach, it is what all
compilers do. The only change is in leaving the last stage of register
allocation to later on, which is presumably only interesting if the
number of registers is not fixed.
More information about the Gcc
mailing list