diff options
| author | beetrees <b@beetr.ee> | 2025-05-21 18:11:11 +0100 |
|---|---|---|
| committer | Trevor Gross <t.gross35@gmail.com> | 2025-05-21 19:24:24 +0200 |
| commit | 11c15229557cb489a5604f13e26a51099cc05314 (patch) | |
| tree | d58d656da822e49b6597057376f4ce1b6f6de347 | |
| parent | d655ff0806623fb00ca518eae88655ccbfda76df (diff) | |
| download | rust-11c15229557cb489a5604f13e26a51099cc05314.tar.gz rust-11c15229557cb489a5604f13e26a51099cc05314.zip | |
Enable `__powitf2` on MSVC
| -rw-r--r-- | library/compiler-builtins/builtins-test/tests/float_pow.rs | 2 | ||||
| -rw-r--r-- | library/compiler-builtins/compiler-builtins/src/float/pow.rs | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/library/compiler-builtins/builtins-test/tests/float_pow.rs b/library/compiler-builtins/builtins-test/tests/float_pow.rs index 8209543e666..0e8ae88e83e 100644 --- a/library/compiler-builtins/builtins-test/tests/float_pow.rs +++ b/library/compiler-builtins/builtins-test/tests/float_pow.rs @@ -58,8 +58,6 @@ pow! { } #[cfg(f128_enabled)] -// FIXME(f16_f128): MSVC cannot build these until `__divtf3` is available in nightly. -#[cfg(not(target_env = "msvc"))] #[cfg(not(any(target_arch = "powerpc", target_arch = "powerpc64")))] pow! { f128, 1e-36, __powitf2, not(feature = "no-sys-f128"); diff --git a/library/compiler-builtins/compiler-builtins/src/float/pow.rs b/library/compiler-builtins/compiler-builtins/src/float/pow.rs index 45a4ad9049d..6997a9c213c 100644 --- a/library/compiler-builtins/compiler-builtins/src/float/pow.rs +++ b/library/compiler-builtins/compiler-builtins/src/float/pow.rs @@ -32,8 +32,6 @@ intrinsics! { #[ppc_alias = __powikf2] #[cfg(f128_enabled)] - // FIXME(f16_f128): MSVC cannot build these until `__divtf3` is available in nightly. - #[cfg(not(target_env = "msvc"))] pub extern "C" fn __powitf2(a: f128, b: i32) -> f128 { pow(a, b) } |
