Graphics Instructions - Sun Microsystems UltraSPARC-I User Manual

Table of Contents

Advertisement

raSPARC User's Manual
RDASR format:
10
rd
31
30 29
WRASR format:
10
rd
10
rd
31
30 29
Suggested Assembly Language Syntax
rd
%gsr, reg
wr
reg
rs1
Accesses to this register cause an
FPRS.FEF is zero.
Figure 13-2 shows the format of the GSR.
63
Figure 13-2
GSR Format (ASR 10
scale_factor: Shift count in the range 0 .. 15, used by PACK instructions for pixel
formatting.
alignaddr_offset: Least significant three bits of the address computed by the last
ALIGNADDRESS or ALIGNADDRESS_LITTLE instruction. See Section 13.5.5,
"Alignment Instructions," on page 214.
Traps:
fp_disabled

.5 Graphics Instructions

All instruction operands are in floating-point registers, unless otherwise speci-
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
fied. This provides the maximum number of registers (32 double-precision) and
op3
25
24
19
18
op3
op3
25
24
19
18
rd
, reg_or_imm , %gsr
fp_disabled
)
16
rs1
i=0
12
14
13
i=0
rs1
i=1
rs1
14
13
12
trap if either PSTATE.PEF or
scale_factor
7
6
0
rs2
simm13
5 4
0
alignaddr_offset
3
2
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UltraSPARC-I and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ultrasparc-ii

Table of Contents