about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAntoni Boucher <bouanto@zoho.com>2025-06-02 12:44:42 -0400
committerAntoni Boucher <bouanto@zoho.com>2025-06-02 12:44:42 -0400
commitba53d9749798a32a9ce3a2db4123942ed81252a7 (patch)
tree28385f1f94b5371b2e88440dc59998d4411e33c8
parentac69f1eecb698f14ed2df060cca99af8ba8f658d (diff)
downloadrust-ba53d9749798a32a9ce3a2db4123942ed81252a7.tar.gz
rust-ba53d9749798a32a9ce3a2db4123942ed81252a7.zip
Fix cast from u128 to f128
-rw-r--r--src/int.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/int.rs b/src/int.rs
index 9b5b0fde6e2..fed96e5eb8c 100644
--- a/src/int.rs
+++ b/src/int.rs
@@ -915,7 +915,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",
+            TypeKind::FP128 => "titf",
             kind => panic!("cannot cast a non-native integer to type {:?}", kind),
         };
         let sign = if signed { "" } else { "un" };