Skip to content

Commit 8be8b73

Browse files
committed
Fix int_to_float_cast for f128
1 parent 1a5964f commit 8be8b73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/int.rs

+1
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {
905905
let name_suffix = match self.type_kind(dest_typ) {
906906
TypeKind::Float => "tisf",
907907
TypeKind::Double => "tidf",
908+
TypeKind::FP128 => "tixf",
908909
kind => panic!("cannot cast a non-native integer to type {:?}", kind),
909910
};
910911
let sign = if signed { "" } else { "un" };

0 commit comments

Comments
 (0)