File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,10 @@ pub enum gcc_jit_types {
120
120
GCC_JIT_TYPE_INT128_T ,
121
121
122
122
GCC_JIT_TYPE_BFLOAT16 ,
123
+ GCC_JIT_TYPE_FLOAT16 ,
124
+ GCC_JIT_TYPE_FLOAT32 ,
125
+ GCC_JIT_TYPE_FLOAT64 ,
126
+ GCC_JIT_TYPE_FLOAT128 ,
123
127
}
124
128
125
129
#[ repr( C ) ]
Original file line number Diff line number Diff line change @@ -1320,6 +1320,10 @@ pub enum CType {
1320
1320
UInt128t ,
1321
1321
ConstCharPtr ,
1322
1322
BFloat16 ,
1323
+ Float16 ,
1324
+ Float32 ,
1325
+ Float64 ,
1326
+ Float128 ,
1323
1327
}
1324
1328
1325
1329
impl CType {
@@ -1353,6 +1357,10 @@ impl CType {
1353
1357
UInt128t => GCC_JIT_TYPE_UINT128_T ,
1354
1358
ConstCharPtr => GCC_JIT_TYPE_CONST_CHAR_PTR ,
1355
1359
BFloat16 => GCC_JIT_TYPE_BFLOAT16 ,
1360
+ Float16 => GCC_JIT_TYPE_FLOAT16 ,
1361
+ Float32 => GCC_JIT_TYPE_FLOAT32 ,
1362
+ Float64 => GCC_JIT_TYPE_FLOAT64 ,
1363
+ Float128 => GCC_JIT_TYPE_FLOAT128 ,
1356
1364
}
1357
1365
}
1358
1366
}
You can’t perform that action at this time.
0 commit comments