1 !sum
2 # Sqrt — floating-point square root, ZFSQRT. Predicated-only: the governing
3 # predicate is implicit-all-true and the merging qualifier becomes the
4 # predicated machine op.
5 - go: Sqrt
6 asm: "ZFSQRT"
7 in:
8 - &float
9 go: $t
10 base: float
11 - class: mask # governing predicate
12 out:
13 - *float
14
15 # Ceil — floating-point round (ZFRINTP). Predicated-only, same shape as Sqrt.
16 - go: Ceil
17 asm: "ZFRINTP"
18 in:
19 - *float
20 - class: mask # governing predicate
21 out:
22 - *float
23
24 # Floor — floating-point round (ZFRINTM). Predicated-only, same shape as Sqrt.
25 - go: Floor
26 asm: "ZFRINTM"
27 in:
28 - *float
29 - class: mask # governing predicate
30 out:
31 - *float
32
33 # Trunc — floating-point round (ZFRINTZ). Predicated-only, same shape as Sqrt.
34 - go: Trunc
35 asm: "ZFRINTZ"
36 in:
37 - *float
38 - class: mask # governing predicate
39 out:
40 - *float
41
42 # Round — floating-point round to nearest, ties to even (ZFRINTN).
43 # Predicated-only, same shape as Sqrt.
44 - go: Round
45 asm: "ZFRINTN"
46 in:
47 - *float
48 - class: mask # governing predicate
49 out:
50 - *float
51
View as plain text