reprospect.test.sass.instruction.floating module
Collection of 32- and 64-bit floating point instruction matchers.
- class reprospect.test.sass.instruction.floating.Fp32AddMatcherView on GitHub
Bases:
PatternMatcherMatcher for 32-bit floating-point add (
FADD) instructions.- PATTERN: Final[Pattern[str]] = regex.Regex('(?P<opcode>FADD)(?:\\.(?P<modifiers>FTZ))?\\s*(?P<operands>(?P<dst>R[0-9]+)),?\\s*(?P<operands>(?:(?:!|\\-\\||\\-|\\~|\\|))?R(?:Z|\\d+)(?:\\|)?),?\\s*(?P<operands>(?:(?:(?:!|\\-\\||\\-|\\~|\\|))?R(?:Z|\\d+)(?:\\|)?|UR[0-9]+|c\\[0x[0-9]+\\]\\[(?:0x[0-9A-Fa-f]+|R(?:Z|\\d+)|UR[0-9]+)\\]|(?:-?\\d+)(?:\\.\\d*)?(?:[eE][-+]?\\d+)?))', flags=regex.V0)
- __init__() NoneView on GitHub
- class reprospect.test.sass.instruction.floating.Fp64AddMatcherView on GitHub
Bases:
PatternMatcherMatcher for 64-bit floating-point add (
DADD) instructions.- PATTERN: Final[Pattern[str]] = regex.Regex('(?P<opcode>DADD)(?:\\.(?P<modifiers>FTZ))?\\s*(?P<operands>(?P<dst>R[0-9]+)),?\\s*(?P<operands>(?:(?:!|\\-\\||\\-|\\~|\\|))?R(?:Z|\\d+)(?:\\|)?),?\\s*(?P<operands>(?:(?:(?:!|\\-\\||\\-|\\~|\\|))?R(?:Z|\\d+)(?:\\|)?|UR[0-9]+|c\\[0x[0-9]+\\]\\[(?:0x[0-9A-Fa-f]+|R(?:Z|\\d+)|UR[0-9]+)\\]|(?:-?\\d+)(?:\\.\\d*)?(?:[eE][-+]?\\d+)?))', flags=regex.V0)
- __init__() NoneView on GitHub
- reprospect.test.sass.instruction.floating.floating_point_add_pattern(*, ftype: Literal['F', 'D']) Pattern[str]View on GitHub
Helper for: