ABSTRACT
Programs naturally require a variety of memory-addressing modes. It isn't necessary to provide them in hardware, however, if a compiler can synthesize them from a few primitive modes. This not only simplifies the hardware, but also permits the compiler to use its understanding of the program to economize on the modes which it uses. We present some compilation techniques that allow the compiler to deal effectively with a single addressing mode in a target RISC processor. We also give measurements to show the benefits of such techniques, and to support our assertion that a single addressing mode is adequate for a general purpose processor, provided that mode incorporates both a pointer and an offset.
- John L. Hennessy, "VLSI Processor Architecture," IEEE Trans. on Computers C-33(12) pp. 1221--1246 (Dec 1984).Google ScholarDigital Library
- John Moussouris, Les Crudele, Dan Freitas, Craig Hansen, Ed Hudson, Steve Przybylski, Tom Riordan, and Chris Rowen, "A CMOS RISC Processor with Integrated System Functions," Proceedings COMPCON, IEEE, (March 4--6, 1986).Google Scholar
- MIPS Computer Systems, Inc., MIPS R2000 Processor User's Guide. 1987.Google Scholar
- Fred Chow, Mark Himelstein, Earl Killian, and Larry Weber, "Engineering a RISC Compiler System," Proceedings COMPCON, IEEE, (March 4--6, 1986).Google Scholar
- MIPS Computer Systems, Inc., MIPS Language Programmer's Guide. 1986.Google Scholar
- Alfred Aho, Ravi Sethi, and Jeffrey Ullman, Compilers - Principles, Techniques, and Tools, Addison-Wesley (1986). Google ScholarDigital Library
Index Terms
- How many addressing modes are enough?
Recommendations
How many addressing modes are enough?
Programs naturally require a variety of memory-addressing modes. It isn't necessary to provide them in hardware, however, if a compiler can synthesize them from a few primitive modes. This not only simplifies the hardware, but also permits the compiler ...
How many addressing modes are enough?
Programs naturally require a variety of memory-addressing modes. It isn't necessary to provide them in hardware, however, if a compiler can synthesize them from a few primitive modes. This not only simplifies the hardware, but also permits the compiler ...
How many addressing modes are enough?
Programs naturally require a variety of memory-addressing modes. It isn't necessary to provide them in hardware, however, if a compiler can synthesize them from a few primitive modes. This not only simplifies the hardware, but also permits the compiler ...
Comments