Add cast from f128 to non-native integer

This commit is contained in:
Antoni Boucher 2026-02-13 10:39:02 -05:00
parent e373b93b0b
commit ec2996cfba

View file

@ -955,6 +955,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {
// cSpell:disable // cSpell:disable
TypeKind::Float => "sfti", TypeKind::Float => "sfti",
TypeKind::Double => "dfti", TypeKind::Double => "dfti",
TypeKind::FP128 => "tfti",
// cSpell:enable // cSpell:enable
kind => panic!("cannot cast a {:?} to non-native integer", kind), kind => panic!("cannot cast a {:?} to non-native integer", kind),
}; };