Skip to content

Commit 3ce0ea3

Browse files
authored
[AMDGPU] Definitions of new gfx1250 HW_REG_MODE fields. NFC. (#156527)
1 parent fbb0f2d commit 3ce0ea3

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

llvm/lib/Target/AMDGPU/SIDefines.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,17 @@ enum ModeRegisterMasks : uint32_t {
572572

573573
GPR_IDX_EN_MASK = 1 << 27,
574574
VSKIP_MASK = 1 << 28,
575-
CSP_MASK = 0x7u << 29 // Bits 29..31
575+
CSP_MASK = 0x7u << 29, // Bits 29..31
576+
577+
// GFX1250
578+
DST_VGPR_MSB = 1 << 12,
579+
SRC0_VGPR_MSB = 1 << 13,
580+
SRC1_VGPR_MSB = 1 << 14,
581+
SRC2_VGPR_MSB = 1 << 15,
582+
VGPR_MSB_MASK = 0xf << 12, // Bits 12..15
583+
584+
REPLAY_MODE = 1 << 25,
585+
FLAT_SCRATCH_IS_NV = 1 << 26,
576586
};
577587

578588
} // namespace Hwreg

0 commit comments

Comments
 (0)