reprospect.test.sass.matchers.move32 module

class reprospect.test.sass.matchers.move32.Move32Matcher(*, src: str | None = None, dst: str | None = None)View on GitHub

Bases: InstructionMatcher

Match the move of a 32-bit source to a 32-bit destination.

It can be achieved using one of the following instructions:

MOV <dst>, <src>
IMAD.MOV.U32 <dst>, RZ, RZ, <src>

Note

It is not decorated with dataclasses.dataclass() because of https://github.com/mypyc/mypyc/issues/1061.

__init__(*, src: str | None = None, dst: str | None = None) NoneView on GitHub
imad: Final[OpcodeModsWithOperandsMatcher]
match(inst: Instruction | str) InstructionMatch | NoneView on GitHub
mov: Final[OpcodeModsWithOperandsMatcher]