LLVM API Documentation

Namespaces | Defines | Enumerations
SIDefines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SIInstrFlags

Defines

#define R_00B028_SPI_SHADER_PGM_RSRC1_PS   0x00B028
#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS   0x00B02C
#define S_00B02C_EXTRA_LDS_SIZE(x)   (((x) & 0xFF) << 8)
#define R_00B128_SPI_SHADER_PGM_RSRC1_VS   0x00B128
#define R_00B228_SPI_SHADER_PGM_RSRC1_GS   0x00B228
#define R_00B848_COMPUTE_PGM_RSRC1   0x00B848
#define S_00B028_VGPRS(x)   (((x) & 0x3F) << 0)
#define S_00B028_SGPRS(x)   (((x) & 0x0F) << 6)
#define R_00B84C_COMPUTE_PGM_RSRC2   0x00B84C
#define S_00B02C_SCRATCH_EN(x)   (((x) & 0x1) << 0)
#define S_00B84C_LDS_SIZE(x)   (((x) & 0x1FF) << 15)
#define R_0286CC_SPI_PS_INPUT_ENA   0x0286CC
#define R_00B848_COMPUTE_PGM_RSRC1   0x00B848
#define S_00B848_VGPRS(x)   (((x) & 0x3F) << 0)
#define G_00B848_VGPRS(x)   (((x) >> 0) & 0x3F)
#define C_00B848_VGPRS   0xFFFFFFC0
#define S_00B848_SGPRS(x)   (((x) & 0x0F) << 6)
#define G_00B848_SGPRS(x)   (((x) >> 6) & 0x0F)
#define C_00B848_SGPRS   0xFFFFFC3F
#define S_00B848_PRIORITY(x)   (((x) & 0x03) << 10)
#define G_00B848_PRIORITY(x)   (((x) >> 10) & 0x03)
#define C_00B848_PRIORITY   0xFFFFF3FF
#define S_00B848_FLOAT_MODE(x)   (((x) & 0xFF) << 12)
#define G_00B848_FLOAT_MODE(x)   (((x) >> 12) & 0xFF)
#define C_00B848_FLOAT_MODE   0xFFF00FFF
#define S_00B848_PRIV(x)   (((x) & 0x1) << 20)
#define G_00B848_PRIV(x)   (((x) >> 20) & 0x1)
#define C_00B848_PRIV   0xFFEFFFFF
#define S_00B848_DX10_CLAMP(x)   (((x) & 0x1) << 21)
#define G_00B848_DX10_CLAMP(x)   (((x) >> 21) & 0x1)
#define C_00B848_DX10_CLAMP   0xFFDFFFFF
#define S_00B848_DEBUG_MODE(x)   (((x) & 0x1) << 22)
#define G_00B848_DEBUG_MODE(x)   (((x) >> 22) & 0x1)
#define C_00B848_DEBUG_MODE   0xFFBFFFFF
#define S_00B848_IEEE_MODE(x)   (((x) & 0x1) << 23)
#define G_00B848_IEEE_MODE(x)   (((x) >> 23) & 0x1)
#define C_00B848_IEEE_MODE   0xFF7FFFFF
#define FP_ROUND_ROUND_TO_NEAREST   0
#define FP_ROUND_ROUND_TO_INF   1
#define FP_ROUND_ROUND_TO_NEGINF   2
#define FP_ROUND_ROUND_TO_ZERO   3
#define FP_ROUND_MODE_SP(x)   ((x) & 0x3)
#define FP_ROUND_MODE_DP(x)   (((x) & 0x3) << 2)
#define FP_DENORM_FLUSH_IN_FLUSH_OUT   0
#define FP_DENORM_FLUSH_OUT   1
#define FP_DENORM_FLUSH_IN   2
#define FP_DENORM_FLUSH_NONE   3
#define FP_DENORM_MODE_SP(x)   (((x) & 0x3) << 4)
#define FP_DENORM_MODE_DP(x)   (((x) & 0x3) << 6)
#define R_00B860_COMPUTE_TMPRING_SIZE   0x00B860
#define S_00B860_WAVESIZE(x)   (((x) & 0x1FFF) << 12)

Enumerations

enum  {
  SIInstrFlags::MIMG = 1 << 3, SIInstrFlags::SMRD = 1 << 4, SIInstrFlags::VOP1 = 1 << 5, SIInstrFlags::VOP2 = 1 << 6,
  SIInstrFlags::VOP3 = 1 << 7, SIInstrFlags::VOPC = 1 << 8, SIInstrFlags::SALU = 1 << 9, SIInstrFlags::MUBUF = 1 << 10,
  SIInstrFlags::MTBUF = 1 << 11, SIInstrFlags::FLAT = 1 << 12
}

Detailed Description

Definition in file SIDefines.h.


Define Documentation

#define C_00B848_DEBUG_MODE   0xFFBFFFFF

Definition at line 65 of file SIDefines.h.

#define C_00B848_DX10_CLAMP   0xFFDFFFFF

Definition at line 62 of file SIDefines.h.

#define C_00B848_FLOAT_MODE   0xFFF00FFF

Definition at line 56 of file SIDefines.h.

#define C_00B848_IEEE_MODE   0xFF7FFFFF

Definition at line 68 of file SIDefines.h.

#define C_00B848_PRIORITY   0xFFFFF3FF

Definition at line 53 of file SIDefines.h.

#define C_00B848_PRIV   0xFFEFFFFF

Definition at line 59 of file SIDefines.h.

#define C_00B848_SGPRS   0xFFFFFC3F

Definition at line 50 of file SIDefines.h.

#define C_00B848_VGPRS   0xFFFFFFC0

Definition at line 47 of file SIDefines.h.

#define FP_DENORM_FLUSH_IN   2

Definition at line 84 of file SIDefines.h.

Definition at line 82 of file SIDefines.h.

Referenced by getFPMode().

#define FP_DENORM_FLUSH_NONE   3

Definition at line 85 of file SIDefines.h.

Referenced by getFPMode().

#define FP_DENORM_FLUSH_OUT   1

Definition at line 83 of file SIDefines.h.

#define FP_DENORM_MODE_DP (   x)    (((x) & 0x3) << 6)

Definition at line 91 of file SIDefines.h.

Referenced by getFPMode().

#define FP_DENORM_MODE_SP (   x)    (((x) & 0x3) << 4)

Definition at line 90 of file SIDefines.h.

Referenced by getFPMode().

#define FP_ROUND_MODE_DP (   x)    (((x) & 0x3) << 2)

Definition at line 80 of file SIDefines.h.

Referenced by getFPMode().

#define FP_ROUND_MODE_SP (   x)    ((x) & 0x3)

Definition at line 79 of file SIDefines.h.

Referenced by getFPMode().

#define FP_ROUND_ROUND_TO_INF   1

Definition at line 73 of file SIDefines.h.

#define FP_ROUND_ROUND_TO_NEAREST   0

Definition at line 72 of file SIDefines.h.

Referenced by getFPMode().

#define FP_ROUND_ROUND_TO_NEGINF   2

Definition at line 74 of file SIDefines.h.

#define FP_ROUND_ROUND_TO_ZERO   3

Definition at line 75 of file SIDefines.h.

#define G_00B848_DEBUG_MODE (   x)    (((x) >> 22) & 0x1)

Definition at line 64 of file SIDefines.h.

#define G_00B848_DX10_CLAMP (   x)    (((x) >> 21) & 0x1)

Definition at line 61 of file SIDefines.h.

#define G_00B848_FLOAT_MODE (   x)    (((x) >> 12) & 0xFF)

Definition at line 55 of file SIDefines.h.

#define G_00B848_IEEE_MODE (   x)    (((x) >> 23) & 0x1)

Definition at line 67 of file SIDefines.h.

#define G_00B848_PRIORITY (   x)    (((x) >> 10) & 0x03)

Definition at line 52 of file SIDefines.h.

#define G_00B848_PRIV (   x)    (((x) >> 20) & 0x1)

Definition at line 58 of file SIDefines.h.

#define G_00B848_SGPRS (   x)    (((x) >> 6) & 0x0F)

Definition at line 49 of file SIDefines.h.

#define G_00B848_VGPRS (   x)    (((x) >> 0) & 0x3F)

Definition at line 46 of file SIDefines.h.

#define R_00B028_SPI_SHADER_PGM_RSRC1_PS   0x00B028

Definition at line 30 of file SIDefines.h.

#define R_00B02C_SPI_SHADER_PGM_RSRC2_PS   0x00B02C

Definition at line 31 of file SIDefines.h.

#define R_00B128_SPI_SHADER_PGM_RSRC1_VS   0x00B128

Definition at line 33 of file SIDefines.h.

#define R_00B228_SPI_SHADER_PGM_RSRC1_GS   0x00B228

Definition at line 34 of file SIDefines.h.

#define R_00B848_COMPUTE_PGM_RSRC1   0x00B848

Definition at line 44 of file SIDefines.h.

#define R_00B848_COMPUTE_PGM_RSRC1   0x00B848

Definition at line 44 of file SIDefines.h.

#define R_00B84C_COMPUTE_PGM_RSRC2   0x00B84C

Definition at line 38 of file SIDefines.h.

#define R_00B860_COMPUTE_TMPRING_SIZE   0x00B860

Definition at line 93 of file SIDefines.h.

#define R_0286CC_SPI_PS_INPUT_ENA   0x0286CC

Definition at line 41 of file SIDefines.h.

#define S_00B028_SGPRS (   x)    (((x) & 0x0F) << 6)

Definition at line 37 of file SIDefines.h.

#define S_00B028_VGPRS (   x)    (((x) & 0x3F) << 0)

Definition at line 36 of file SIDefines.h.

#define S_00B02C_EXTRA_LDS_SIZE (   x)    (((x) & 0xFF) << 8)

Definition at line 32 of file SIDefines.h.

#define S_00B02C_SCRATCH_EN (   x)    (((x) & 0x1) << 0)

Definition at line 39 of file SIDefines.h.

#define S_00B848_DEBUG_MODE (   x)    (((x) & 0x1) << 22)

Definition at line 63 of file SIDefines.h.

#define S_00B848_DX10_CLAMP (   x)    (((x) & 0x1) << 21)

Definition at line 60 of file SIDefines.h.

#define S_00B848_FLOAT_MODE (   x)    (((x) & 0xFF) << 12)

Definition at line 54 of file SIDefines.h.

#define S_00B848_IEEE_MODE (   x)    (((x) & 0x1) << 23)

Definition at line 66 of file SIDefines.h.

#define S_00B848_PRIORITY (   x)    (((x) & 0x03) << 10)

Definition at line 51 of file SIDefines.h.

#define S_00B848_PRIV (   x)    (((x) & 0x1) << 20)

Definition at line 57 of file SIDefines.h.

#define S_00B848_SGPRS (   x)    (((x) & 0x0F) << 6)

Definition at line 48 of file SIDefines.h.

#define S_00B848_VGPRS (   x)    (((x) & 0x3F) << 0)

Definition at line 45 of file SIDefines.h.

#define S_00B84C_LDS_SIZE (   x)    (((x) & 0x1FF) << 15)

Definition at line 40 of file SIDefines.h.

#define S_00B860_WAVESIZE (   x)    (((x) & 0x1FFF) << 12)

Definition at line 94 of file SIDefines.h.