diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-03-27 15:36:15 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-04-17 08:49:49 -0400 |
| commit | bc0bc8d5e1a1a38ee5a342e614e490e490bc5604 (patch) | |
| tree | 7fd60c1038bea5af4d84c5687a03e342d2d42606 /src | |
| parent | ec44cfdfb4a74d19f522984e2e2e226a3b76df9a (diff) | |
| download | rust-bc0bc8d5e1a1a38ee5a342e614e490e490bc5604.tar.gz rust-bc0bc8d5e1a1a38ee5a342e614e490e490bc5604.zip | |
Fix int_to_float_cast for f128
Diffstat (limited to 'src')
| -rw-r--r-- | src/int.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/int.rs b/src/int.rs index f3552d9b12f..b5fcb534747 100644 --- a/src/int.rs +++ b/src/int.rs @@ -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" }; |
