yum-mirror/glslang

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

Jeff BolzImplement GL_EXT_ocp_microscaling_types62f5430e

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