yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Jeff BolzImplement GL_EXT_ocp_microscaling_types62f5430e

main
14.2 KiB289 linesraw
1spv.floatue8m0.comp
2// Module Version 10600
3// Generated by (magic number): 8000b
4// Id's are bound by 188
5
6                              Capability Shader
7                              Capability Float16
8                              Capability Float64
9                              Capability Int8
10                              Capability Float8UnsignedE8M0EXT
11                              Capability LongVectorEXT
12                              Extension  "SPV_EXT_long_vector"
13                              Extension  "SPV_EXT_ocp_microscaling_types"
14               1:             ExtInstImport  "GLSL.std.450"
15                              MemoryModel Logical GLSL450
16                              EntryPoint GLCompute 4  "main" 44 187
17                              ExecutionMode 4 LocalSize 1 1 1
18                              Source GLSL 450
19                              SourceExtension  "GL_EXT_bfloat16"
20                              SourceExtension  "GL_EXT_float_ue8m0"
21                              SourceExtension  "GL_EXT_long_vector"
22                              SourceExtension  "GL_EXT_scalar_block_layout"
23                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
24                              SourceExtension  "GL_KHR_cooperative_matrix"
25                              SourceExtension  "GL_KHR_memory_scope_semantics"
26                              SourceExtension  "GL_NV_cooperative_matrix2"
27                              Name 4  "main"
28                              Name 10  "funcfue8m0(fue8m01;"
29                              Name 9  "x"
30                              Name 17  "f"
31                              Name 19  "b"
32                              Name 23  "f16"
33                              Name 25  "f32"
34                              Name 29  "f64"
35                              Name 37  "param"
36                              Name 42  "B"
37                              MemberName 42(B) 0  "b3"
38                              MemberName 42(B) 1  "b2"
39                              MemberName 42(B) 2  "b1"
40                              Name 44  "buf"
41                              Name 51  "b2"
42                              Name 57  "b3"
43                              Name 64  "i8_1"
44                              Name 69  "i8_2"
45                              Name 74  "i8_3"
46                              Name 83  "i8_4"
47                              Name 94  "i8_5"
48                              Name 106  "u8_1"
49                              Name 111  "u8_2"
50                              Name 116  "u8_3"
51                              Name 125  "u8_4"
52                              Name 135  "u8_5"
53                              Name 144  "f8_1"
54                              Name 147  "f8_2"
55                              Name 150  "f8_3"
56                              Name 154  "f8_4"
57                              Name 158  "f8_5"
58                              Name 178  "bsc10"
59                              Name 179  "S"
60                              MemberName 179(S) 0  "b"
61                              Name 187  "bfs"
62                              Decorate 42(B) Block
63                              MemberDecorate 42(B) 0 Offset 0
64                              MemberDecorate 42(B) 1 Offset 3
65                              MemberDecorate 42(B) 2 Offset 5
66                              Decorate 44(buf) Binding 0
67                              Decorate 44(buf) DescriptorSet 0
68                              Decorate 178(bsc10) SpecId 1
69               2:             TypeVoid
70               3:             TypeFunction 2
71               6:             TypeFloat 8 4226
72               7:             TypePointer Function 6(floatue8m0_t)
73               8:             TypeFunction 6(floatue8m0_t) 7(ptr)
74              15:             TypeFloat 32
75              16:             TypePointer Function 15(float)
76              18:   15(float) Constant 1073741824
77              20:6(floatue8m0_t) Constant 127
78              21:             TypeFloat 16
79              22:             TypePointer Function 21(float16_t)
80              24:21(float16_t) Constant 18176
81              26:   15(float) Constant 1088421888
82              27:             TypeFloat 64
83              28:             TypePointer Function 27(float64_t)
84              30:27(float64_t) Constant 0 1075576832
85              40:             TypeVector 6(floatue8m0_t) 3
86              41:             TypeVector 6(floatue8m0_t) 2
87           42(B):             TypeStruct 40(f8vec3) 41(f8vec2) 6(floatue8m0_t)
88              43:             TypePointer StorageBuffer 42(B)
89         44(buf):     43(ptr) Variable StorageBuffer
90              45:             TypeInt 32 1
91              46:     45(int) Constant 2
92              47:             TypePointer StorageBuffer 6(floatue8m0_t)
93              50:             TypePointer Function 41(f8vec2)
94              52:     45(int) Constant 1
95              53:             TypePointer StorageBuffer 41(f8vec2)
96              56:             TypePointer Function 40(f8vec3)
97              58:     45(int) Constant 0
98              59:             TypePointer StorageBuffer 40(f8vec3)
99              62:             TypeInt 8 1
100              63:             TypePointer Function 62(int8_t)
101              67:             TypeVector 62(int8_t) 2
102              68:             TypePointer Function 67(i8vec2)
103              72:             TypeVector 62(int8_t) 3
104              73:             TypePointer Function 72(i8vec3)
105              81:             TypeVector 62(int8_t) 4
106              82:             TypePointer Function 81(i8vec4)
107              85:             TypeVector 6(floatue8m0_t) 4
108              92:             TypeVector 62(int8_t) 5
109              93:             TypePointer Function 92(i8vec)
110              97:             TypeVector 6(floatue8m0_t) 5
111             104:             TypeInt 8 0
112             105:             TypePointer Function 104(int8_t)
113             109:             TypeVector 104(int8_t) 2
114             110:             TypePointer Function 109(i8vec2)
115             114:             TypeVector 104(int8_t) 3
116             115:             TypePointer Function 114(i8vec3)
117             123:             TypeVector 104(int8_t) 4
118             124:             TypePointer Function 123(i8vec4)
119             133:             TypeVector 104(int8_t) 5
120             134:             TypePointer Function 133(i8vec)
121             153:             TypePointer Function 85(f8vec4)
122             157:             TypePointer Function 97(f8vec)
123             171:             TypeInt 32 0
124             172:             TypeVector 171(int) 3
125             173:    171(int) Constant 1
126             174:  172(ivec3) ConstantComposite 173 173 173
127             175:6(floatue8m0_t) Constant 130
128             176:6(floatue8m0_t) Constant 131
129             177:  41(f8vec2) ConstantComposite 176 176
130      178(bsc10):6(floatue8m0_t) SpecConstant 130
131          179(S):             TypeStruct 6(floatue8m0_t)
132             180:      179(S) ConstantComposite 175
133             181:    171(int) Constant 2
134             182:             TypeArray 6(floatue8m0_t) 181
135             183:         182 ConstantComposite 175 175
136             184:    171(int) Constant 10
137             185:             TypeArray 6(floatue8m0_t) 184
138             186:             TypePointer Workgroup 185
139        187(bfs):    186(ptr) Variable Workgroup
140         4(main):           2 Function None 3
141               5:             Label
142           17(f):     16(ptr) Variable Function
143           19(b):      7(ptr) Variable Function
144         23(f16):     22(ptr) Variable Function
145         25(f32):     16(ptr) Variable Function
146         29(f64):     28(ptr) Variable Function
147       37(param):      7(ptr) Variable Function
148          51(b2):     50(ptr) Variable Function
149          57(b3):     56(ptr) Variable Function
150        64(i8_1):     63(ptr) Variable Function
151        69(i8_2):     68(ptr) Variable Function
152        74(i8_3):     73(ptr) Variable Function
153        83(i8_4):     82(ptr) Variable Function
154        94(i8_5):     93(ptr) Variable Function
155       106(u8_1):    105(ptr) Variable Function
156       111(u8_2):    110(ptr) Variable Function
157       116(u8_3):    115(ptr) Variable Function
158       125(u8_4):    124(ptr) Variable Function
159       135(u8_5):    134(ptr) Variable Function
160       144(f8_1):      7(ptr) Variable Function
161       147(f8_2):     50(ptr) Variable Function
162       150(f8_3):     56(ptr) Variable Function
163       154(f8_4):    153(ptr) Variable Function
164       158(f8_5):    157(ptr) Variable Function
165                              Store 17(f) 18
166                              Store 19(b) 20
167                              Store 23(f16) 24
168                              Store 25(f32) 26
169                              Store 29(f64) 30
170              31:6(floatue8m0_t) Load 19(b)
171              32:21(float16_t) FConvert 31
172                              Store 23(f16) 32
173              33:6(floatue8m0_t) Load 19(b)
174              34:   15(float) FConvert 33
175                              Store 25(f32) 34
176              35:6(floatue8m0_t) Load 19(b)
177              36:27(float64_t) FConvert 35
178                              Store 29(f64) 36
179              38:6(floatue8m0_t) Load 19(b)
180                              Store 37(param) 38
181              39:6(floatue8m0_t) FunctionCall 10(funcfue8m0(fue8m01;) 37(param)
182                              Store 19(b) 39
183              48:     47(ptr) AccessChain 44(buf) 46
184              49:6(floatue8m0_t) Load 48
185                              Store 19(b) 49
186              54:     53(ptr) AccessChain 44(buf) 52
187              55:  41(f8vec2) Load 54
188                              Store 51(b2) 55
189              60:     59(ptr) AccessChain 44(buf) 58
190              61:  40(f8vec3) Load 60
191                              Store 57(b3) 61
192              65:6(floatue8m0_t) Load 19(b)
193              66:  62(int8_t) Bitcast 65
194                              Store 64(i8_1) 66
195              70:  41(f8vec2) Load 51(b2)
196              71:  67(i8vec2) Bitcast 70
197                              Store 69(i8_2) 71
198              75:  41(f8vec2) Load 51(b2)
199              76:6(floatue8m0_t) Load 19(b)
200              77:6(floatue8m0_t) CompositeExtract 75 0
201              78:6(floatue8m0_t) CompositeExtract 75 1
202              79:  40(f8vec3) CompositeConstruct 77 78 76
203              80:  72(i8vec3) Bitcast 79
204                              Store 74(i8_3) 80
205              84:  41(f8vec2) Load 51(b2)
206              86:6(floatue8m0_t) CompositeExtract 84 0
207              87:6(floatue8m0_t) CompositeExtract 84 1
208              88:6(floatue8m0_t) CompositeExtract 84 0
209              89:6(floatue8m0_t) CompositeExtract 84 1
210              90:  85(f8vec4) CompositeConstruct 86 87 88 89
211              91:  81(i8vec4) Bitcast 90
212                              Store 83(i8_4) 91
213              95:  41(f8vec2) Load 51(b2)
214              96:6(floatue8m0_t) Load 19(b)
215              98:6(floatue8m0_t) CompositeExtract 95 0
216              99:6(floatue8m0_t) CompositeExtract 95 1
217             100:6(floatue8m0_t) CompositeExtract 95 0
218             101:6(floatue8m0_t) CompositeExtract 95 1
219             102:   97(f8vec) CompositeConstruct 98 99 100 101 96
220             103:   92(i8vec) Bitcast 102
221                              Store 94(i8_5) 103
222             107:6(floatue8m0_t) Load 19(b)
223             108: 104(int8_t) Bitcast 107
224                              Store 106(u8_1) 108
225             112:  41(f8vec2) Load 51(b2)
226             113: 109(i8vec2) Bitcast 112
227                              Store 111(u8_2) 113
228             117:  41(f8vec2) Load 51(b2)
229             118:6(floatue8m0_t) Load 19(b)
230             119:6(floatue8m0_t) CompositeExtract 117 0
231             120:6(floatue8m0_t) CompositeExtract 117 1
232             121:  40(f8vec3) CompositeConstruct 119 120 118
233             122: 114(i8vec3) Bitcast 121
234                              Store 116(u8_3) 122
235             126:  41(f8vec2) Load 51(b2)
236             127:6(floatue8m0_t) CompositeExtract 126 0
237             128:6(floatue8m0_t) CompositeExtract 126 1
238             129:6(floatue8m0_t) CompositeExtract 126 0
239             130:6(floatue8m0_t) CompositeExtract 126 1
240             131:  85(f8vec4) CompositeConstruct 127 128 129 130
241             132: 123(i8vec4) Bitcast 131
242                              Store 125(u8_4) 132
243             136:  41(f8vec2) Load 51(b2)
244             137:6(floatue8m0_t) Load 19(b)
245             138:6(floatue8m0_t) CompositeExtract 136 0
246             139:6(floatue8m0_t) CompositeExtract 136 1
247             140:6(floatue8m0_t) CompositeExtract 136 0
248             141:6(floatue8m0_t) CompositeExtract 136 1
249             142:   97(f8vec) CompositeConstruct 138 139 140 141 137
250             143:  133(i8vec) Bitcast 142
251                              Store 135(u8_5) 143
252             145:  62(int8_t) Load 64(i8_1)
253             146:6(floatue8m0_t) Bitcast 145
254                              Store 144(f8_1) 146
255             148:  67(i8vec2) Load 69(i8_2)
256             149:  41(f8vec2) Bitcast 148
257                              Store 147(f8_2) 149
258             151:  72(i8vec3) Load 74(i8_3)
259             152:  40(f8vec3) Bitcast 151
260                              Store 150(f8_3) 152
261             155:  81(i8vec4) Load 83(i8_4)
262             156:  85(f8vec4) Bitcast 155
263                              Store 154(f8_4) 156
264             159:   92(i8vec) Load 94(i8_5)
265             160:   97(f8vec) Bitcast 159
266                              Store 158(f8_5) 160
267             161: 104(int8_t) Load 106(u8_1)
268             162:6(floatue8m0_t) Bitcast 161
269                              Store 144(f8_1) 162
270             163: 109(i8vec2) Load 111(u8_2)
271             164:  41(f8vec2) Bitcast 163
272                              Store 147(f8_2) 164
273             165: 114(i8vec3) Load 116(u8_3)
274             166:  40(f8vec3) Bitcast 165
275                              Store 150(f8_3) 166
276             167: 123(i8vec4) Load 125(u8_4)
277             168:  85(f8vec4) Bitcast 167
278                              Store 154(f8_4) 168
279             169:  133(i8vec) Load 135(u8_5)
280             170:   97(f8vec) Bitcast 169
281                              Store 158(f8_5) 170
282                              Return
283                              FunctionEnd
28410(funcfue8m0(fue8m01;):6(floatue8m0_t) Function None 8
285            9(x):      7(ptr) FunctionParameter
286              11:             Label
287              12:6(floatue8m0_t) Load 9(x)
288                              ReturnValue 12
289                              FunctionEnd