The complete ASL owner is shown directly below.
12type FloatingBinaryOperation of enumeration {3 FloatingBinary_ADD,4 FloatingBinary_SUB,5 FloatingBinary_MUL,6 FloatingBinary_DIV,7 FloatingBinary_MIN,8 FloatingBinary_MAX9};10
11type FloatingCompareOperation of enumeration {12 FloatingCompare_EQ,13 FloatingCompare_NE,14 FloatingCompare_LT,15 FloatingCompare_LE,16 FloatingCompare_GT,17 FloatingCompare_GE18};19
20type FloatingUnaryOperation of enumeration {21 FloatingUnary_ABS,22 FloatingUnary_SQRT,23 FloatingUnary_EXP,24 FloatingUnary_RECIP25};26
27type FloatingFusedOperation of enumeration {28 FloatingFused_MADD,29 FloatingFused_MSUB,30 FloatingFused_NMADD,31 FloatingFused_NMSUB32};33
purpose scope
Purpose and scope
This unit gives PTO ASL a closed vocabulary for selecting floating-point operation families. It defines operation selectors only; operand formats, rounding, exceptions, result values, and state effects remain owned by the ASL functions that consume these selectors.
concepts state
Operation families
FloatingBinaryOperation covers ADD, SUB, MUL, DIV, MIN, and MAX. FloatingCompareOperation covers EQ, NE, LT, LE, GT, and GE.
FloatingUnaryOperation covers ABS, SQRT, EXP, and RECIP; FloatingFusedOperation covers MADD, MSUB, NMADD, and NMSUB.
rules interactions
Selection and interpretation
A caller passes one member of the appropriate enumeration to a numeric semantic owner. That owner, not this enumeration, determines the chosen data format and the exact arithmetic behavior.
The four enumeration types prevent a compare selector from being silently used as a binary, unary, or fused selector.
boundaries
Boundaries
The presence of MIN, MAX, RECIP, or a fused selector does not by itself define NaN selection, rounding, overflow, underflow, flags, or contraction behavior. Those questions must be answered by a reachable numeric-format or profile ASL contract.
The static AVS for this unit checks that the selector declarations compile in the complete model; this evidence statement does not define arithmetic results.
example usage
illustrative reading example
This example illustrates selector lookup and is not an arithmetic definition.
On seeing FloatingFused_NMSUB, first identify the consuming ASL function, then read that owner's operand ordering, format, rounding, and exceptional-value rules before reasoning about a result.
related owners navigation
Related owners
- Rounding defines the architecture's rounding vocabulary.
- Numeric formats connects Tile data types to their exact format helpers.