Text file src/simd/archsimd/_gen/simdgen/ops/NegAbs/go_sve.yaml

     1  !sum
     2  # Neg — signed integer negate. ZNEG is predicated-only, like ZABS: the
     3  # governing predicate is implicit-all-true and the merging qualifier becomes
     4  # the predicated machine op.
     5  - go: Neg
     6    asm: "ZNEG"
     7    in:
     8    - &int
     9      go: $t
    10      base: int
    11    - class: mask # governing predicate
    12    out:
    13    - *int
    14  
    15  # Neg — floating-point negate, ZFNEG. Same shape as ZNEG.
    16  - go: Neg
    17    asm: "ZFNEG"
    18    in:
    19    - &float
    20      go: $t
    21      base: float
    22    - class: mask # governing predicate
    23    out:
    24    - *float
    25  
    26  # Abs — floating-point absolute value, ZFABS. Predicated-only, same shape as
    27  # ZFNEG; the integer ZABS lives in IntOnlyArith.
    28  - go: Abs
    29    asm: "ZFABS"
    30    in:
    31    - *float
    32    - class: mask # governing predicate
    33    out:
    34    - *float
    35  

View as plain text