llvm.org GIT mirror llvm / release_90 docs / AMDGPU / gfx8_imm4.rst

Tree @release_90 (Download .tar.gz)

gfx8_imm4.rst @release_90view markup · raw · history · blame


A positive :ref:`integer_number<amdgpu_synid_integer_number>`. The value is truncated to 4 bits.

This operand is a mask which controls indexing mode for operands of subsequent instructions. Value 1 enables indexing and value 0 disables it.

Bit Meaning
0 Enables or disables src0 indexing.
1 Enables or disables src1 indexing.
2 Enables or disables src2 indexing.
3 Enables or disables dst indexing.