]> git.lizzy.rs Git - rust.git/commitdiff
Implement log10f* intrinsics
authorbjorn3 <bjorn3@users.noreply.github.com>
Sun, 24 Nov 2019 14:30:28 +0000 (15:30 +0100)
committerbjorn3 <bjorn3@users.noreply.github.com>
Sun, 24 Nov 2019 14:30:28 +0000 (15:30 +0100)
src/intrinsics.rs

index 421160a34faf732503a5046505057b222f990371..bee22daef534982efe736107fd8071ea8def78e9 100644 (file)
@@ -387,6 +387,8 @@ pub fn codegen_intrinsic_call<'tcx>(
         logf64(flt) -> f64 => log,
         log2f32(flt) -> f32 => log2f,
         log2f64(flt) -> f64 => log2,
+        log10f32(flt) -> f32 => log10f,
+        log10f64(flt) -> f64 => log10,
         fabsf32(flt) -> f32 => fabsf,
         fabsf64(flt) -> f64 => fabs,
         fmaf32(x, y, z) -> f32 => fmaf,