3 ms·
The extra registers affect the way programs are written. You get a more RISC-like feel: this shows up most notably in the calling conventions, which pass all ar
by pcwalton 10y ago
The extra registers affect the way programs are written. You get a more RISC-like feel: this shows up most notably in the calling conventions, which pass all arguments in registers most of the time. You see more RISC-like three register arithmetic because the compiler has more opportunities to use LEA. Etc.
- astocko 10y agoPiggy backing on this comment. Agner Fog has some nice tables at http://www.agner.org/optimize/calling_conventions.pdf http://www.agner.org/optimize/calling_conventions.pdf describing the register usage and calling coventions. Chapter 6 & 7