Professional Documents
Culture Documents
Sparc Processor: by - Sagar B Patel Charotar Inst. of Techno. Changa
Sparc Processor: by - Sagar B Patel Charotar Inst. of Techno. Changa
SPARC PROCESSOR
BY - SAGAR B PATEL
CHAROTAR INST. OF TECHNO.
CHANGA
Topic name V. T. Patel Dept of ELECTRONICS & COMMUNICATION
SPARC ARCHITECTURE
Scalable Processor Architecture
Topic name V. T. Patel Dept of ELECTRONICS & COMMUNICATION
SPARC ATTRIBUTES
DESIGN GOAL
SPARC Features
SPARC FEATURES
. Fast trap handlers— Traps are vectored through a table, and cause
allocation of a fresh register window in the register file.
SPARC FEATURES
INTEGER UNIT
INTEGER UNIT
INSTRUCTION
Shift instructions can be used to shift the contents of an r register left or right by
a given distance. The shift distance may be specified by a constant in the instruction
or by the contents of an r register.
The tagged arithmetic instructions assume that the least-significant 2 bits of the
operands are data-type “tags”. These instructions set the overflow condition code
bit upon arithmetic overflow, or if any of the operands’ tag bits are nonzero.
There are also versions that trap when either of these conditions occurs.
Topic name V. T. Patel Dept of ELECTRONICS & COMMUNICATION
CONTROL TRANSFER
Branch and CALL instructions use PC-relative displacements. The jump and
link (JMPL) instruction uses a register-indirect target address. It computes its
target address as either the sum of two r registers, or the sum of an r register and
a 13-bit signed immediate value. The branch instruction provides a displacement
of ± 8 Mbytes, while the CALL instruction’s 30-bit word displacement allows a
control transfer to an arbitrary 32-bit instruction address.
Topic name V. T. Patel Dept of ELECTRONICS & COMMUNICATION
The SPARC memory model defines the semantics of memory operations such
as
load and store, and specifies how the order in which these operations are issued
by a processor is related to the order in which they are executed by memory. The
model applies both to uniprocessors and shared memory multiprocessors. The
standard memory model is called Total Store Ordering (TSO). All SPARC
implementations must provide at least TSO. An additional model called Partial
Store Ordering (PSO) is defined to allow higher performance memory systems
to be built. If present, this model is enabled via a mode bit, for example, in an
MMU control register. See Appendix H, “SPARC Reference MMU Architecture.”
INPUT OUTPUT
Registers
Register