blob: 3d51bd58760ada59ca6cbf385cde3c3d9a8ecf40 [file] [edit]
spv.longVectorBuiltinsBitcast.comp
// Module Version 10300
// Generated by (magic number): 8000b
// Id's are bound by 126
Capability Shader
Capability Float16
Capability Float64
Capability Int64
Capability Int16
Capability Int8
Capability Float8EXT
Capability BFloat16TypeKHR
Capability LongVectorEXT
Extension "SPV_EXT_float8"
Extension "SPV_EXT_long_vector"
Extension "SPV_KHR_bfloat16"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint GLCompute 4 "main"
ExecutionMode 4 LocalSize 64 1 1
Source GLSL 450
SourceExtension "GL_EXT_bfloat16"
SourceExtension "GL_EXT_buffer_reference"
SourceExtension "GL_EXT_expect_assume"
SourceExtension "GL_EXT_float_e4m3"
SourceExtension "GL_EXT_float_e5m2"
SourceExtension "GL_EXT_long_vector"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_KHR_memory_scope_semantics"
Name 4 "main"
Name 9 "vi16"
Name 13 "vf16"
Name 19 "vu16"
Name 37 "vbf16"
Name 49 "vi32"
Name 53 "vf32"
Name 59 "vu32"
Name 69 "vi64"
Name 73 "vf64"
Name 79 "vu64"
Name 89 "vi8"
Name 93 "vfe5m2"
Name 99 "vu8"
Name 109 "vfe4m3"
Decorate 119 DecorationSaturatedToLargestFloat8NormalConversionEXT
Decorate 121 DecorationSaturatedToLargestFloat8NormalConversionEXT
Decorate 125 BuiltIn WorkgroupSize
2: TypeVoid
3: TypeFunction 2
6: TypeInt 16 1
7: TypeVector 6(int16_t) 5
8: TypePointer Function 7(i16vec)
10: TypeFloat 16
11: TypeVector 10(float16_t) 5
12: TypePointer Function 11(f16vec)
16: TypeInt 16 0
17: TypeVector 16(int16_t) 5
18: TypePointer Function 17(i16vec)
34: TypeFloat 16 0
35: TypeVector 34(bfloat16_t) 5
36: TypePointer Function 35(bf16vec)
46: TypeInt 32 1
47: TypeVector 46(int) 5
48: TypePointer Function 47(ivec)
50: TypeFloat 32
51: TypeVector 50(float) 5
52: TypePointer Function 51(fvec)
56: TypeInt 32 0
57: TypeVector 56(int) 5
58: TypePointer Function 57(ivec)
66: TypeInt 64 1
67: TypeVector 66(int64_t) 5
68: TypePointer Function 67(i64vec)
70: TypeFloat 64
71: TypeVector 70(float64_t) 5
72: TypePointer Function 71(f64vec)
76: TypeInt 64 0
77: TypeVector 76(int64_t) 5
78: TypePointer Function 77(i64vec)
86: TypeInt 8 1
87: TypeVector 86(int8_t) 5
88: TypePointer Function 87(i8vec)
90: TypeFloat 8 4215
91: TypeVector 90(floate5m2_t) 5
92: TypePointer Function 91(fvec)
96: TypeInt 8 0
97: TypeVector 96(int8_t) 5
98: TypePointer Function 97(i8vec)
106: TypeFloat 8 4214
107: TypeVector 106(floate4m3_t) 5
108: TypePointer Function 107(fvec)
122: TypeVector 56(int) 3
123: 56(int) Constant 64
124: 56(int) Constant 1
125: 122(ivec3) ConstantComposite 123 124 124
4(main): 2 Function None 3
5: Label
9(vi16): 8(ptr) Variable Function
13(vf16): 12(ptr) Variable Function
19(vu16): 18(ptr) Variable Function
37(vbf16): 36(ptr) Variable Function
49(vi32): 48(ptr) Variable Function
53(vf32): 52(ptr) Variable Function
59(vu32): 58(ptr) Variable Function
69(vi64): 68(ptr) Variable Function
73(vf64): 72(ptr) Variable Function
79(vu64): 78(ptr) Variable Function
89(vi8): 88(ptr) Variable Function
93(vfe5m2): 92(ptr) Variable Function
99(vu8): 98(ptr) Variable Function
109(vfe4m3): 108(ptr) Variable Function
14: 11(f16vec) Load 13(vf16)
15: 7(i16vec) Bitcast 14
Store 9(vi16) 15
20: 11(f16vec) Load 13(vf16)
21: 17(i16vec) Bitcast 20
Store 19(vu16) 21
22: 7(i16vec) Load 9(vi16)
23: 11(f16vec) Bitcast 22
Store 13(vf16) 23
24: 17(i16vec) Load 19(vu16)
25: 11(f16vec) Bitcast 24
Store 13(vf16) 25
26: 11(f16vec) Load 13(vf16)
27: 7(i16vec) Bitcast 26
Store 9(vi16) 27
28: 11(f16vec) Load 13(vf16)
29: 17(i16vec) Bitcast 28
Store 19(vu16) 29
30: 7(i16vec) Load 9(vi16)
31: 11(f16vec) Bitcast 30
Store 13(vf16) 31
32: 17(i16vec) Load 19(vu16)
33: 11(f16vec) Bitcast 32
Store 13(vf16) 33
38: 35(bf16vec) Load 37(vbf16)
39: 7(i16vec) Bitcast 38
Store 9(vi16) 39
40: 35(bf16vec) Load 37(vbf16)
41: 17(i16vec) Bitcast 40
Store 19(vu16) 41
42: 7(i16vec) Load 9(vi16)
43: 35(bf16vec) Bitcast 42
Store 37(vbf16) 43
44: 17(i16vec) Load 19(vu16)
45: 35(bf16vec) Bitcast 44
Store 37(vbf16) 45
54: 51(fvec) Load 53(vf32)
55: 47(ivec) Bitcast 54
Store 49(vi32) 55
60: 51(fvec) Load 53(vf32)
61: 57(ivec) Bitcast 60
Store 59(vu32) 61
62: 47(ivec) Load 49(vi32)
63: 51(fvec) Bitcast 62
Store 53(vf32) 63
64: 57(ivec) Load 59(vu32)
65: 51(fvec) Bitcast 64
Store 53(vf32) 65
74: 71(f64vec) Load 73(vf64)
75: 67(i64vec) Bitcast 74
Store 69(vi64) 75
80: 71(f64vec) Load 73(vf64)
81: 77(i64vec) Bitcast 80
Store 79(vu64) 81
82: 67(i64vec) Load 69(vi64)
83: 71(f64vec) Bitcast 82
Store 73(vf64) 83
84: 77(i64vec) Load 79(vu64)
85: 71(f64vec) Bitcast 84
Store 73(vf64) 85
94: 91(fvec) Load 93(vfe5m2)
95: 87(i8vec) Bitcast 94
Store 89(vi8) 95
100: 91(fvec) Load 93(vfe5m2)
101: 97(i8vec) Bitcast 100
Store 99(vu8) 101
102: 87(i8vec) Load 89(vi8)
103: 91(fvec) Bitcast 102
Store 93(vfe5m2) 103
104: 97(i8vec) Load 99(vu8)
105: 91(fvec) Bitcast 104
Store 93(vfe5m2) 105
110: 107(fvec) Load 109(vfe4m3)
111: 87(i8vec) Bitcast 110
Store 89(vi8) 111
112: 107(fvec) Load 109(vfe4m3)
113: 97(i8vec) Bitcast 112
Store 99(vu8) 113
114: 87(i8vec) Load 89(vi8)
115: 107(fvec) Bitcast 114
Store 109(vfe4m3) 115
116: 97(i8vec) Load 99(vu8)
117: 107(fvec) Bitcast 116
Store 109(vfe4m3) 117
118: 11(f16vec) Load 13(vf16)
119: 91(fvec) FConvert 118
Store 93(vfe5m2) 119
120: 51(fvec) Load 53(vf32)
121: 107(fvec) FConvert 120
Store 109(vfe4m3) 121
Return
FunctionEnd