Boxis R700 User Manual Page 353

  • Download
  • Add to my manuals
  • Print
  • Page
    / 392
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 352
ATI R700 Technology
Memory Read Instructions 10-39
Copyright © 2009 Advanced Micro Devices, Inc. All rights reserved.
Memory-Read Clause Instruction Doubleword 0
Instructions
MEM_RD_WORD0
Description Memory read instruction doubleword 0.
Opcode Field Name Bits Format
VTX_INST [4:0] enum(5)
Vertex fetch instruction.
The only legal value is 2: VTX_INST_MEM: memory read/write.
All other values are illegal.
ELEM_SIZE [6:5] int(2)
Number of dwords per element, minus one. This field is interpreted as a
value: 1,2, or 4 (3 is illegal). The value from INDEX_GPR is multiplied by this
factor, if applicable. Normally, ELEM_SIZE = 4 dwords for scratch and
reduction, 1 dword for other types.
FETCH_WHOLE_QUAD 7int(1)
0 Texture instruction can ignore invalid pixels.
1 Texture instruction must fetch data for all pixels. The result can be used
as a source coordinate of a dependent read.
MEM_OP [10:8] enum(3)
Sub-opcode for memory reads.
0 MEM_OP_RD_SCRATCH: Scratch (temp) buffer read.
1 MEM_OP_RD_REDUC: Reduction buffer read.
2 MEM_OP_RD_SCATTER: Scatter (mem-export) buffer read.
4 MEM_OP_LOCAL_DS_WRITE: Data sharing within one SIMD.
5 MEM_OP_LOCAL_DS_READ: Data sharing within one SIMD.
6 Reserved.
7 Reserved.
UNCACHED 11 int(1)
Uncached (cache-bypass) read. When writing and reading in one kernel
pass, this bit must be set.
INDEXED 12 int(1)
Indexed access (set) or not (cleared). Indexed includes source-GPR in
address calculation.
MEM_REQ_SIZE [14:13] int(2)
Must be cleared for R700-family and later products.
Reserved 15
Reserved.
SRC_GPR [22:16] int(7)
Source GPR address from which to get fetch address.
SRC_REL 23 enum(1) none
Indicate whether source address is absolute or relative to an index.
0 Absolute: no relative addressing.
1 Relative: add current loop index value to this address.
SRC_SEL_X 25:24 enum(2) none
Page view 352
1 2 ... 348 349 350 351 352 353 354 355 356 357 358 ... 391 392

Comments to this Manuals

No comments