reprospect.test.sass.instruction.store module

class reprospect.test.sass.instruction.store.StoreGlobalMatcher(arch: NVIDIAArch, size: int | None = None, extend: ExtendBitsMethod | str | None = None)View on GitHub

Bases: StoreMatcher

Specialization of StoreMatcher for global memory (STG).

__init__(arch: NVIDIAArch, size: int | None = None, extend: ExtendBitsMethod | str | None = None) NoneView on GitHub
mop: Final[MemoryOp]
class reprospect.test.sass.instruction.store.StoreMatcher(arch: NVIDIAArch, size: int | None = None, memory: MemorySpace | str = MemorySpace.GLOBAL, extend: ExtendBitsMethod | str | None = None)View on GitHub

Bases: ArchitectureAwarePatternMatcher

Architecture-dependent matcher for global store instructions, such as:

STG.E desc[UR6][R6.64], R15
ST.E.64 R4.64, R2

Starting from BLACKWELL, 256-bit store instructions are available, such as:

STG.E.ENL2.256 desc[UR4][R4.64], R8, R12
TEMPLATE: Final[str] = '{opcode} {address}, (?P<operands>R[0-9]+)'
TEMPLATE_256: Final[str] = '{opcode} {address}, (?P<operands>R[0-9]+), (?P<operands>R[0-9]+)'
__init__(arch: NVIDIAArch, size: int | None = None, memory: MemorySpace | str = MemorySpace.GLOBAL, extend: ExtendBitsMethod | str | None = None) NoneView on GitHub
Parameters:

size – Optional bit size (e.g., 32, 64, 128).

mop: Final[MemoryOp]