Scalable Processor Architecture (Sparc) : Jeff Miles Joel Foster Dhruv Vyas
Scalable Processor Architecture (Sparc) : Jeff Miles Joel Foster Dhruv Vyas
Scalable Processor Architecture (Sparc) : Jeff Miles Joel Foster Dhruv Vyas
(SPARC)
Jeff Miles
Joel Foster
Dhruv Vyas
Overview
• Designed to optimize compilers and
pipelined hardware implementations
• Offers fast execution rates
• Engineered at Sun Microsystems in 1985
– Based on RISC I & II which were developed at
Univ of Cal at Berkeley
• SPARC “register window” architecture
Features
• Performance and Economy
– Simplified instruction set
– Higher number of instructions with fewer transistors
• Scalability
– Flexible integration of cache, memory and FPUs
• Open Architecture
– Compatible technology to multiple vendors
– Now allow access to CPU component techniques
– Complete set of development tool available for h/w & s/w
Architecture
• RISC machine
• 64-bit addressing and 64-bit data
• Increased bandwidth
• Fault tolerance
• Nine stage pipeline; can do up to 4
instructions per cycle
• On-chip 16Kb data and instruct. Caches
– With 2Mb external cache
Registers
• General purpose/ working data registers
– IU’s ‘r’ registers
– FPU’s ‘f’ registers
• Control status registers
– IU control/status registers
– FPU control/status registers
– Coprocessor (CP) control/status registers
Registers
Window Overlapping
• Each window shares its ins and outs with
two adjacent windows
– Incremented by a RESTORE instruction
decremented by a SAVE instruction
– Due to windowing the number available to
software is 1 less than number implemented
– When a register is full the outs of the newest
window are the ins of the oldest, which still
contain valid program data
IU Control/Status Registers
• Processor State Register (PSR)
• Window Invalid Mask (WIM)
• Multiply/Divide (Y)
• Program Counters (PC, nPC)
• Ancillary State Registers (ASR)
• Deferred-Trap Queue
• Trap Base Register (TBR)
IU Control/Status Registers
• Processor State Register (PSR)
– Contains various fields that control and hold
status information
Impl Ver Icc Reserved EC EF PIL S PS ET CWP
31:28 27:24 23:20 19:14 13 12 11:8 7 6 5 4:0