llvm.org GIT mirror llvm / master docs / AMDGPU / gfx8_data_mimg_atomic_reg.rst
master

Tree @master (Download .tar.gz)

gfx8_data_mimg_atomic_reg.rst @masterview markup · raw · history · blame

vdata

Input data for an atomic instruction.

Optionally may serve as an output data:

Size: depends on :ref:`dmask<amdgpu_synid_dmask>` and :ref:`tfe<amdgpu_synid_tfe>`:

  • :ref:`dmask<amdgpu_synid_dmask>` may specify 1 data element for 32-bit-per-pixel surfaces or 2 data elements for 64-bit-per-pixel surfaces. Each data element occupies 1 dword.

  • :ref:`tfe<amdgpu_synid_tfe>` adds 1 dword if specified.

    Note. The surface data format is indicated in the image resource constant but not in the instruction.

Operands: :ref:`v<amdgpu_synid_v>`