Unformatted text preview:

Introduction to RISCCOMP375 1RISCRISCRISCRISCArchitecturesArchitecturesCOMP375 Computer Architecture pand OrganizationRISC Design Principles• Simple operations–Simple instructions that can execute in one cycleSimple instructions that can execute in one cycle• Register-to-register operations– Only load and store operations access memory– Rest of the operations on a register-to-register basis• Simple addressing modes– A few addressing modes (1 or 2)RISC Design Principles• Large number of registers–Needed to support register-to-register operations– Minimize the procedure call and return overhead• Fixed-length instructionsg– Facilitates efficient instruction execution• Simple instruction format– Fixed boundaries for various fields RISC Design Principle• Start an instruction every cycle• Simple, fixed length instructions are easy to pipeline.• Only two instruction have memory operands yypall other operands are in registers.• Delayed branchesIntroduction to RISCCOMP375 2Example Differences CISC RISC VAX 11/780 Intel 486 MIPS R4000 # instructions 303 235 94 Addr. modes 22 11 1 Iti (bt)2571124Inst. size (bytes) 2-57 1-124GP registers 16 8 32 chart © Dandamudi RISC Traits• Pipelined•Simple instructionsp• Few instructions• No microcode• Few addressing modes•Load/Store architectureLoad/Store architecture• Sliding register stack• Delayed branches•FastCICS advantages include:1. Sliding register stack2. Instructions designed to match high level language features3. Load/Store architecturearchitecture4. Large microcode memoryCurrent RISC Systems• PowerPC – The processor in the Apple P M P d d b IBM d A lPower Mac. Produced by IBM and Apple.• Sparc – The processor in Sun workstations and servers. Produced by Sun Microsystems. First commercial RISC.•MIPS–Frequently used in embedded•MIPS–Frequently used in embedded devices.• Itanium – In new servers replacing the Intel Pentium. Produced by Intel.Introduction to RISCCOMP375 3Intel Itanium®• Intel’s latest RISC system.• The current processor is the Itanium 2.• Intel seems to indicate that this is the replacement for the Pentium chip.Support of Pentium Instructions• The Itanium can execute both Itanium instructions and Pentium (IA-32) instructions• There are jump to IA-32/Itanium instructionsParallelismParallel activities can be done at many different levels.• Parallel, independent programs– Multi-core processors• Instruction Level Parallelism (ILP)– ItaniumIt i i t d t t ILP i l f–It is easier to detect ILP in long sequences of instructions that are not broken by jumps.Discovering Parallelism• Most programs are written as a sequential stream of instructions.• The CPU has to discover any parallelism to support pipelining and superscalar execution.• The compiler has a much bigger picture of hdilithe program and can easily recognize opportunities for parallelism.• It can be difficult for the compiler to pass parallelism information to the CPU.Introduction to RISCCOMP375 4Instruction Bundles• Explicitly Parallel /instruction Computing (EPICEPIC)(EPICEPIC)• Three 41 bit instructions are grouped into a bundle with a 5 bit template.• There must be no dependencies within the instructions of a bundleinstructions of a bundle.Compiler to Processor Hints• Every memory load and store in the It i hit t h 2bit h hi tItanium architecture has a 2-bit cache hint field• The compiler can provide a hint to indicate if a branch is likely to be taken.•Templates define which execution units•Templates define which execution units will be used and if dependencies exist.A 2.0 GHz Itanium will run faster than a 3.0 GHz Pentium because1. Itanium Hz are faster th P ti Hthan Pentium Hz2. The Itanium can run three instructions at once.3The Itanium cost more3.The Itanium cost more4. The Itanium is


View Full Document

NCA&T COMP 375 - RISC Architectures

Download RISC Architectures
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view RISC Architectures and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view RISC Architectures 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?