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

Tree @master (Download .tar.gz)

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

imm4

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.