interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / backend / amd / gfx942 / fsum16.isa

134 lines · 2937 bytes Raw Blame History
1# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2# gfx942 fsum16: o[g] = (((x[16g]+x[16g+1])+x[16g+2])...+x[16g+15]), g < n.
3# The order is frozen, including the first load (there is no initial +0 addition).
4# K/A schema and field definitions: vadd.isa; LLVM 18.1.3 sources in PROVENANCE.md section 8.
5# K name size align group private sgprs vgprs agprs maxgroup wave rsrc3 rsrc1 rsrc2 properties
6K fsum16 20 8 0 0 18 9 0 64 64 2 0xaf0081 0x84 8
7A x 0 8 0
8A o 8 8 0
9A n 16 4 1
10
11F 1 2
12B 1 0 26 6 0x30
13D 1 0 0 0 6
14D 1 1 0 6 7
15D 1 2 0 16 1
16D 1 3 0 17 1
17D 1 4 0 18 8
18D 1 5 1 0 21
19F 2 1
20B 2 0 30 2 2
21D 2 0 0 0 8
22D 2 1 0 8 8
23D 2 2 0 16 7
24D 2 3 0 23 7
25F 3 1
26B 3 0 23 9 0x17d
27D 3 0 0 0 8
28D 3 1 0 8 8
29D 3 2 0 16 7
30F 4 1
31B 4 0 23 9 0x17f
32D 4 0 0 0 16
33D 4 1 0 16 7
34F 5 1
35B 5 0 31 1 0
36D 5 0 0 0 9
37D 5 1 0 9 8
38D 5 2 0 17 8
39D 5 3 0 25 6
40F 6 1
41B 6 0 25 7 0x3e
42D 6 0 0 0 9
43D 6 1 0 9 8
44D 6 2 0 17 8
45F 7 2
46B 7 0 26 6 0x37
47D 7 0 0 0 13
48D 7 1 0 13 1
49D 7 2 0 14 2
50D 7 3 0 16 1
51D 7 4 0 17 1
52D 7 5 0 18 7
53D 7 6 0 25 1
54D 7 7 1 0 8
55D 7 8 1 8 8
56D 7 9 1 16 7
57D 7 10 1 23 1
58D 7 11 1 24 8
59F 8 1
60B 8 0 25 7 0x3f
61D 8 0 0 0 9
62D 8 1 0 9 8
63D 8 2 0 17 8
64
65I 1 0 4 0 1 2 0 # s_load_dwordx4 s[4:7], s[0:1], 0
66I 1 0 8 0 1 0 16 # s_load_dword s8, s[0:1], 16
67I 5 255 0 0 0x13 # v_and_b32 v0, 0x3ff, v0
68L 0x3ff
69I 2 2 134 9 0x1c # s_lshl_b32 s9, s2, 6
70I 5 9 0 1 0x34 # v_add_u32 v1, s9, v0
71I 4 0xc07f 0x0c
72I 6 8 1 0xcc # v_cmp_gt_u32 vcc, s8, v1
73I 3 106 0x20 10 # s_and_saveexec_b64 s[10:11], vcc
74I 4 @1 0x08
75I 5 134 1 2 0x12 # v_lshlrev_b32 v2, 6, v1: row byte offset low
76I 5 154 1 3 0x10 # v_lshrrev_b32 v3, 26, v1: row byte offset high
77I 8 5 1 5
78I 5 4 2 6 0x19
79I 5 261 3 7 0x1c
80I 7 0 0 2 0 0 0x14 0 6 0 127 0 4
81I 4 0x0f70 0x0c
82I 7 4 0 2 0 0 0x14 0 6 0 127 0 8
83I 4 0x0f70 0x0c
84I 5 260 8 4 0x01
85I 7 8 0 2 0 0 0x14 0 6 0 127 0 8
86I 4 0x0f70 0x0c
87I 5 260 8 4 0x01
88I 7 12 0 2 0 0 0x14 0 6 0 127 0 8
89I 4 0x0f70 0x0c
90I 5 260 8 4 0x01
91I 7 16 0 2 0 0 0x14 0 6 0 127 0 8
92I 4 0x0f70 0x0c
93I 5 260 8 4 0x01
94I 7 20 0 2 0 0 0x14 0 6 0 127 0 8
95I 4 0x0f70 0x0c
96I 5 260 8 4 0x01
97I 7 24 0 2 0 0 0x14 0 6 0 127 0 8
98I 4 0x0f70 0x0c
99I 5 260 8 4 0x01
100I 7 28 0 2 0 0 0x14 0 6 0 127 0 8
101I 4 0x0f70 0x0c
102I 5 260 8 4 0x01
103I 7 32 0 2 0 0 0x14 0 6 0 127 0 8
104I 4 0x0f70 0x0c
105I 5 260 8 4 0x01
106I 7 36 0 2 0 0 0x14 0 6 0 127 0 8
107I 4 0x0f70 0x0c
108I 5 260 8 4 0x01
109I 7 40 0 2 0 0 0x14 0 6 0 127 0 8
110I 4 0x0f70 0x0c
111I 5 260 8 4 0x01
112I 7 44 0 2 0 0 0x14 0 6 0 127 0 8
113I 4 0x0f70 0x0c
114I 5 260 8 4 0x01
115I 7 48 0 2 0 0 0x14 0 6 0 127 0 8
116I 4 0x0f70 0x0c
117I 5 260 8 4 0x01
118I 7 52 0 2 0 0 0x14 0 6 0 127 0 8
119I 4 0x0f70 0x0c
120I 5 260 8 4 0x01
121I 7 56 0 2 0 0 0x14 0 6 0 127 0 8
122I 4 0x0f70 0x0c
123I 5 260 8 4 0x01
124I 7 60 0 2 0 0 0x14 0 6 0 127 0 8
125I 4 0x0f70 0x0c
126I 5 260 8 4 0x01
127I 5 130 1 2 0x12 # output byte offset low
128I 5 158 1 3 0x10 # output byte offset high
129I 8 7 1 5
130I 5 6 2 6 0x19
131I 5 261 3 7 0x1c
132I 7 0 0 2 0 0 0x1c 0 6 4 127 0 0
133T 1
134I 4 0 0x01