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 @@ -1332,6 +1332,10 @@ pub enum CType {
1332
1332
UInt128t ,
1333
1333
ConstCharPtr ,
1334
1334
BFloat16 ,
1335
+ Float16 ,
1336
+ Float32 ,
1337
+ Float64 ,
1338
+ Float128 ,
1335
1339
}
1336
1340
1337
1341
impl CType {
@@ -1365,6 +1369,10 @@ impl CType {
1365
1369
UInt128t => GCC_JIT_TYPE_UINT128_T ,
1366
1370
ConstCharPtr => GCC_JIT_TYPE_CONST_CHAR_PTR ,
1367
1371
BFloat16 => GCC_JIT_TYPE_BFLOAT16 ,
1372
+ Float16 => GCC_JIT_TYPE_FLOAT16 ,
1373
+ Float32 => GCC_JIT_TYPE_FLOAT32 ,
1374
+ Float64 => GCC_JIT_TYPE_FLOAT64 ,
1375
+ Float128 => GCC_JIT_TYPE_FLOAT128 ,
1368
1376
}
1369
1377
}
1370
1378
}
You can’t perform that action at this time.
0 commit comments