blob: c46779ba3c19bdfa70248e6d8acef52ba9f194ee [file]
!sum
# Signed integer Neg — VNEG
- go: Neg
asm: "VNEG"
in:
- &int
go: $t
base: int
out:
- *int
# Float Neg — VFNEG
- go: Neg
asm: "VFNEG"
in:
- &float
go: $t
base: float
out:
- *float
# Signed integer Abs — VABS
- go: Abs
asm: "VABS"
in:
- *int
out:
# VABS "wraps" in the signed domain for MinIntN, which is equivalent to just
# producing the full range in the unsigned domain.
- base: int
overwriteBase: uint
# Float Abs — VFABS
- go: Abs
asm: "VFABS"
in:
- *float
out:
- *float