Skip to content

Commit ba53d97

Browse files
committed
Fix cast from u128 to f128
1 parent ac69f1e commit ba53d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/int.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {
915915
let name_suffix = match self.type_kind(dest_typ) {
916916
TypeKind::Float => "tisf",
917917
TypeKind::Double => "tidf",
918-
TypeKind::FP128 => "tixf",
918+
TypeKind::FP128 => "titf",
919919
kind => panic!("cannot cast a non-native integer to type {:?}", kind),
920920
};
921921
let sign = if signed { "" } else { "un" };

0 commit comments

Comments
 (0)