summaryrefslogtreecommitdiffstats
path: root/llvm/docs/AMDGPU/gfx9_imm4.rst
blob: b1c97fb0b29d8c688afc5d58dd54b35df1cc7e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
..
    **************************************************
    *                                                *
    *   Automatically generated file, do not edit!   *
    *                                                *
    **************************************************

.. _amdgpu_synid9_imm4:

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.
    ============ ========================================

OpenPOWER on IntegriCloud