reprospect.test.sass.matchers.convert_fp32_to_fp16 module

class reprospect.test.sass.matchers.convert_fp32_to_fp16.ConvertFp32ToFp16(arch: NVIDIAArch, *, dst: str = 'R[0-9]+', src: str = 'R[0-9]+')View on GitHub

Bases: InstructionMatcher

Convert 32-bit floating-point value to 16-bit floating-point value.

Note

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

__init__(arch: NVIDIAArch, *, dst: str = 'R[0-9]+', src: str = 'R[0-9]+') NoneView on GitHub
Parameters:
  • src – 32-bit floating-point value.

  • dst – 16-bit floating-point value.

match(inst: Instruction | str) InstructionMatch | NoneView on GitHub
matcher: Final[OpcodeModsWithOperandsMatcher]