Fix int_to_float_cast for f128
This commit is contained in:
parent
ec44cfdfb4
commit
bc0bc8d5e1
1 changed files with 1 additions and 0 deletions
|
@ -905,6 +905,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {
|
|||
let name_suffix = match self.type_kind(dest_typ) {
|
||||
TypeKind::Float => "tisf",
|
||||
TypeKind::Double => "tidf",
|
||||
TypeKind::FP128 => "tixf",
|
||||
kind => panic!("cannot cast a non-native integer to type {:?}", kind),
|
||||
};
|
||||
let sign = if signed { "" } else { "un" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue