EasyManua.ls Logo

Sun Microsystems UltraSPARC-I - Page 237

Sun Microsystems UltraSPARC-I
410 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Sun Microelectronics
222
UltraSPARC User’s Manual
Traps:
fp_disabled
13.5.10 Three-Dimensional Array Addressing Instructions
Format (3):
Description:
These instructions convert three dimensional (3D) fixed-point addresses con-
tained in rs1 to a blocked-byte address; they store the result in rd. Fixed-point ad-
dresses typically are used for address interpolation for planar reformatting
operations. Blocking is performed at the 64-byte level to maximize external cache
block reuse, and at the 64k-byte level to maximize TLB entry reuse, regardless of
the orientation of the address interpolation. These instructions specify an element
size of 8 (ARRAY8), 16 (ARRAY16) or 32 bits (ARRAY32). The rs2 operand speci-
fies the power-of-two size of the X and Y dimensions of a 3D image array. The
legal values for rs2 and their meanings are shown in the following table. Illegal
values will produce undefined results in the rd register.
opcode opf operation
ARRAY8
0 0001 0000
Convert 8-bit 3-D address to blocked byte address
ARRAY16
0 0001 0010
Convert 16-bit 3-D address to blocked byte address
ARRAY32
0 0001 0100
Convert 32-bit 3-D address to blocked byte address
Suggested Assembly Language Syntax
array8
reg
rs1
,
reg
rs2
,
reg
rd
array16
reg
rs1
,
reg
rs2
,
reg
rd
array32
reg
rs1
,
reg
rs2
,
reg
rd
rs2
Value
Number of
Elements
064
1 128
2 256
3 512
4 1,024
5 2,048
10 11 0110 rs2rd rs1
31 141924 18 13 02530 29 4
opf
5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents