yum-mirror/glslang

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

Jeff BolzImplement GL_EXT_ocp_microscaling_types62f5430e

main
9.3 KiB194 linesraw
1spv.floate2m1.comp
2// Module Version 10600
3// Generated by (magic number): 8000b
4// Id's are bound by 116
5
6                              Capability Shader
7                              Capability Float16
8                              Capability Float64
9                              Capability Int16
10                              Capability Int8
11                              Capability Float8EXT
12                              Capability Float4EXT
13                              Capability BitcastExtractEXT
14                              Capability LongVectorEXT
15                              Extension  "SPV_EXT_float8"
16                              Extension  "SPV_EXT_long_vector"
17                              Extension  "SPV_EXT_ocp_microscaling_types"
18               1:             ExtInstImport  "GLSL.std.450"
19                              MemoryModel Logical GLSL450
20                              EntryPoint GLCompute 4  "main"
21                              ExecutionMode 4 LocalSize 1 1 1
22                              Source GLSL 450
23                              SourceExtension  "GL_EXT_float_e2m1"
24                              SourceExtension  "GL_EXT_float_e5m2"
25                              SourceExtension  "GL_EXT_long_vector"
26                              SourceExtension  "GL_EXT_scalar_block_layout"
27                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
28                              SourceExtension  "GL_KHR_memory_scope_semantics"
29                              Name 4  "main"
30                              Name 10  "funcfe2m1(fe2m11;"
31                              Name 9  "x"
32                              Name 17  "f"
33                              Name 19  "b"
34                              Name 23  "fe5m2"
35                              Name 27  "f16"
36                              Name 29  "f32"
37                              Name 33  "f64"
38                              Name 49  "param"
39                              Name 54  "u8"
40                              Name 57  "v2"
41                              Name 62  "u16"
42                              Name 65  "v4"
43                              Name 70  "u32"
44                              Name 73  "v8"
45                              Name 78  "u32v2"
46                              Name 81  "v16"
47                              Name 95  "v4_2"
48                              Name 101  "v7"
49                              Name 111  "bsc10"
50                              Name 112  "S"
51                              MemberName 112(S) 0  "b"
52                              Decorate 111(bsc10) SpecId 1
53               2:             TypeVoid
54               3:             TypeFunction 2
55               6:             TypeFloat 4 4225
56               7:             TypePointer Function 6(floate2m1_t)
57               8:             TypeFunction 6(floate2m1_t) 7(ptr)
58              15:             TypeFloat 32
59              16:             TypePointer Function 15(float)
60              18:   15(float) Constant 1073741824
61              20:6(floate2m1_t) Constant 2
62              21:             TypeFloat 8 4215
63              22:             TypePointer Function 21(floate5m2_t)
64              24:21(floate5m2_t) Constant 71
65              25:             TypeFloat 16
66              26:             TypePointer Function 25(float16_t)
67              28:25(float16_t) Constant 18176
68              30:   15(float) Constant 1088421888
69              31:             TypeFloat 64
70              32:             TypePointer Function 31(float64_t)
71              34:31(float64_t) Constant 0 1075576832
72              52:             TypeInt 8 0
73              53:             TypePointer Function 52(int8_t)
74              55:             TypeVector 6(floate2m1_t) 2
75              56:             TypePointer Function 55(fvec2)
76              60:             TypeInt 16 0
77              61:             TypePointer Function 60(int16_t)
78              63:             TypeVector 6(floate2m1_t) 4
79              64:             TypePointer Function 63(fvec4)
80              68:             TypeInt 32 0
81              69:             TypePointer Function 68(int)
82              71:             TypeVector 6(floate2m1_t) 8
83              72:             TypePointer Function 71(fvec8)
84              76:             TypeVector 68(int) 2
85              77:             TypePointer Function 76(ivec2)
86              79:             TypeVector 6(floate2m1_t) 16
87              80:             TypePointer Function 79(fvec16)
88              92:  52(int8_t) Constant 1
89              93:     68(int) Constant 2
90              96:             TypeVector 52(int8_t) 4
91              97:  96(i8vec4) ConstantComposite 92 92 92 92
92              99:             TypeVector 6(floate2m1_t) 7
93             100:             TypePointer Function 99(fvec)
94             102:             TypeVector 52(int8_t) 7
95             103:  102(i8vec) ConstantComposite 92 92 92 92 92 92 92
96             104:     68(int) Constant 3
97             106:             TypeVector 68(int) 3
98             107:     68(int) Constant 1
99             108:  106(ivec3) ConstantComposite 107 107 107
100             109:6(floate2m1_t) Constant 7
101             110:   55(fvec2) ConstantComposite 109 109
102      111(bsc10):6(floate2m1_t) SpecConstant 7
103          112(S):             TypeStruct 6(floate2m1_t)
104             113:      112(S) ConstantComposite 109
105             114:             TypeArray 6(floate2m1_t) 93
106             115:         114 ConstantComposite 109 109
107         4(main):           2 Function None 3
108               5:             Label
109           17(f):     16(ptr) Variable Function
110           19(b):      7(ptr) Variable Function
111       23(fe5m2):     22(ptr) Variable Function
112         27(f16):     26(ptr) Variable Function
113         29(f32):     16(ptr) Variable Function
114         33(f64):     32(ptr) Variable Function
115       49(param):      7(ptr) Variable Function
116          54(u8):     53(ptr) Variable Function
117          57(v2):     56(ptr) Variable Function
118         62(u16):     61(ptr) Variable Function
119          65(v4):     64(ptr) Variable Function
120         70(u32):     69(ptr) Variable Function
121          73(v8):     72(ptr) Variable Function
122       78(u32v2):     77(ptr) Variable Function
123         81(v16):     80(ptr) Variable Function
124        95(v4_2):     64(ptr) Variable Function
125         101(v7):    100(ptr) Variable Function
126                              Store 17(f) 18
127                              Store 19(b) 20
128                              Store 23(fe5m2) 24
129                              Store 27(f16) 28
130                              Store 29(f32) 30
131                              Store 33(f64) 34
132              35:6(floate2m1_t) Load 19(b)
133              36:21(floate5m2_t) FConvert 35
134                              Store 23(fe5m2) 36
135              37:6(floate2m1_t) Load 19(b)
136              38:25(float16_t) FConvert 37
137                              Store 27(f16) 38
138              39:6(floate2m1_t) Load 19(b)
139              40:   15(float) FConvert 39
140                              Store 29(f32) 40
141              41:6(floate2m1_t) Load 19(b)
142              42:31(float64_t) FConvert 41
143                              Store 33(f64) 42
144              43:6(floate2m1_t) Load 19(b)
145              44:25(float16_t) FConvert 43
146                              Store 27(f16) 44
147              45:6(floate2m1_t) Load 19(b)
148              46:   15(float) FConvert 45
149                              Store 29(f32) 46
150              47:6(floate2m1_t) Load 19(b)
151              48:31(float64_t) FConvert 47
152                              Store 33(f64) 48
153              50:6(floate2m1_t) Load 19(b)
154                              Store 49(param) 50
155              51:6(floate2m1_t) FunctionCall 10(funcfe2m1(fe2m11;) 49(param)
156                              Store 19(b) 51
157              58:   55(fvec2) Load 57(v2)
158              59:  52(int8_t) Bitcast 58
159                              Store 54(u8) 59
160              66:   63(fvec4) Load 65(v4)
161              67: 60(int16_t) Bitcast 66
162                              Store 62(u16) 67
163              74:   71(fvec8) Load 73(v8)
164              75:     68(int) Bitcast 74
165                              Store 70(u32) 75
166              82:  79(fvec16) Load 81(v16)
167              83:   76(ivec2) Bitcast 82
168                              Store 78(u32v2) 83
169              84:  52(int8_t) Load 54(u8)
170              85:   55(fvec2) Bitcast 84
171                              Store 57(v2) 85
172              86: 60(int16_t) Load 62(u16)
173              87:   63(fvec4) Bitcast 86
174                              Store 65(v4) 87
175              88:     68(int) Load 70(u32)
176              89:   71(fvec8) Bitcast 88
177                              Store 73(v8) 89
178              90:   76(ivec2) Load 78(u32v2)
179              91:  79(fvec16) Bitcast 90
180                              Store 81(v16) 91
181              94:6(floate2m1_t) BitcastExtractEXT 92 93
182                              Store 19(b) 94
183              98:   63(fvec4) BitcastExtractEXT 97 93
184                              Store 95(v4_2) 98
185             105:    99(fvec) BitcastExtractEXT 103 104
186                              Store 101(v7) 105
187                              Return
188                              FunctionEnd
18910(funcfe2m1(fe2m11;):6(floate2m1_t) Function None 8
190            9(x):      7(ptr) FunctionParameter
191              11:             Label
192              12:6(floate2m1_t) Load 9(x)
193                              ReturnValue 12
194                              FunctionEnd