Boxis R700 User Manual Page 123

  • Download
  • Add to my manuals
  • Print
  • Page
    / 392
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 122
ATI R700 Technology
Control Flow (CF) Instructions 9-25
Copyright © 2009 Advanced Micro Devices, Inc. All rights reserved.
Access Scatter Buffer
Instructions
MEM_EXPORT
Description Performs a memory read or write on the scatter buffer. This instruction is legal with a TYPE
of: read, read-indexed, write, write-indexed. Indexed is the expected common use. Used only
for writes.
The 13-bit ARRAY_BASE field is valid and is added to the base address for each pixel (units
of DWORD).
The ARRAY_SIZE field is unused. Set it to zero.
The ES field is supported, allowing 1,2,3,4 DWORDs written per export. Burst read/write is
allowed and in this case, the address is incremented by “elemsize” DWORDs.
The address in the INDEX_GPR is a DWORD address, no matter how much data is exported.
Address
Calculation &
Clamping
SP supplies a 32-bit integer address offset per pixel (assume zero if no EA export).
Per pixel DWORD address =
{BASE_reg,6’h0} + clamp({ARRAY_SIZE,6’h0}, (BC increment counter *elemsize +
INDEX_GPR + ARRAY_BASE))
Microcode
Format CF_ALLOC_EXPORT_DWORD0 (page 10-10) and either CF_ALLOC_EXPORT_DWORD1_BUF
(page 10-12) or CF_ALLOC_EXPORT_DWORD1_SWIZ (page 10-15).
Instruction Field CF_INST == CF_INST_MEM_EXPORT, opcode 58 (0x3A).
B
W
Q
M
CF_INST
V
P
M
E
O
P
BC
E
L
COMP_MASK ARRAY_SIZE +4
ES INDEX_GPR
R
R
RW_GPR TYPE ARRAY_BASE +0
Page view 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 391 392

Comments to this Manuals

No comments