Optimizing PowerPC Code: Programming the PowerPC Chip in Assembly Language
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
PDF page 12
§ 1.3 Why Assembly Language on a RISC Processor?
§ 1.3 Why Assembly Language on a RISC Processor? A processor implementing a RISC ISA is not necessarily a fast processor-per- formance is dependent on how the processor is implemented. However, because the features listed were designed to make it easier to implement fast processors, one can infer that a RISC processor is likely to be faster than a CISC processor of equivalent technology. As an example to drive this point home, one can imagine two implementations of a particular RISC ISA: one that doesn't use pipelines or superscalar dispatch (these concepts are discussed later in this book); and another one that does. The first processor would perform very poorly when compared to the other proces- sor, and it might even perform worse than many currently available CISC pro- cessors. However, just because this processor performs poorly does not mean that it is not a RISC processor. If you think of RISC as standing for "Reduced Instruction Set Complexity," then you may be less likely to be confused by the term. What CISC Is Given the definition of RISC, the original definition of CISC is trivially easy to define: CISC is anything that is not RISC. When the designers of the first RISC architectures devised the term "RISC," they meant to differentiate their simpler, reduced processor from the current crop of complex processors. Thus, "CISC" was used as a pejorative term that meant non-RISC architectures. This lack of a real definition has contributed to some of the confusion surround- ing RISC and CISC. Today, a CISC architecture typically has: • Many instruction types that access memory directly • A large number of addressing modes • Variable-length instruction encoding • Support for misaligned accesses, although architectures vary widely. What RISC/CISC Are Not 4 Note that the above lists do not require: • • • An instruction pipeline . A superscalar instruction dispatch . Hardwired or microcoded instructions . Chapter 1
Reading notes: Running headers and stray page number '4' and 'Chapter 1' appear in the extracted text; reading order around the bulleted lists may be imperfect.
- Languages
- English