reprospect.test.sass.matchers.convert_int_to_fp module
- class reprospect.test.sass.matchers.convert_int_to_fp.ConvertIntToFp(*, arch: NVIDIAArch, dst_dtype: TypeInfo | int | DTypeLike | None = None, src_dtype: TypeInfo | int | DTypeLike | None = None, dst: str = 'R[0-9]+', src: str = 'R[0-9]+')View on GitHub
Bases:
InstructionMatcherConvert integer value to floating-point value.
Note
It is not decorated with
dataclasses.dataclass()because of https://github.com/mypyc/mypyc/issues/1061.- __init__(*, arch: NVIDIAArch, dst_dtype: TypeInfo | int | DTypeLike | None = None, src_dtype: TypeInfo | int | DTypeLike | None = None, dst: str = 'R[0-9]+', src: str = 'R[0-9]+') NoneView on GitHub
- Parameters:
src_dtype – Type of the source integer value.
dst_dtype – Type of the destination floating-point value.
- match(inst: Instruction | str) InstructionMatch | NoneView on GitHub
- matcher: Final[OpcodeModsWithOperandsMatcher]
- static src_modifier(*, dtype: TypeInfo) strView on GitHub