-
Notifications
You must be signed in to change notification settings - Fork 249
Comparing changes
Open a pull request
base repository: rust-lang/compiler-builtins
base: libm-v0.2.13
head repository: rust-lang/compiler-builtins
compare: libm-v0.2.14
- 13 commits
- 39 files changed
- 2 contributors
Commits on Apr 22, 2025
-
Update the musl submodule to c47ad25ea3 ("iconv: harden UTF-8 output code path against input decoder bugs").Configuration menu - View commit details
-
Copy full SHA for 667ba28 - Browse repository at this point
Copy the full SHA 667ba28View commit details
Commits on Apr 23, 2025
-
libm-macros: Start tracking which functions are public
It would be nice to reuse some of the macro structure for internal functions, like `rem_pio2`. To facilitate this, add a `public` field and make it available in the macro's API.
Configuration menu - View commit details
-
Copy full SHA for 672ba57 - Browse repository at this point
Copy the full SHA 672ba57View commit details -
libm-macros: Allow a way to bulk match f16 and f128 functions
These are never available in musl, so introduce easier ways to skip them rather than needing to exclude f16/f128 functions in three different places.
Configuration menu - View commit details
-
Copy full SHA for bf79280 - Browse repository at this point
Copy the full SHA bf79280View commit details -
Warn on
unsafe_op_in_unsafe_fnby defaultEdition 2024 requires that we avoid this. There is a lot of code that will need to be adjusted, so start the process here with a warning that will show up in CI.
Configuration menu - View commit details
-
Copy full SHA for fdbefb3 - Browse repository at this point
Copy the full SHA fdbefb3View commit details
Commits on Apr 29, 2025
-
Resolve
unnecessary_transmuteslintsThese appeared in a later nightly. In compiler-builtins we can apply the suggestion, but in `libm` we need to ignore them since `fx::from_bits` is not `const` at the MSRV. `clippy::uninlined_format_args` also seems to have gotten stricter, so fix those here.
Configuration menu - View commit details
-
Copy full SHA for 99b4c19 - Browse repository at this point
Copy the full SHA 99b4c19View commit details -
Move
fmaimplementations tomod genericThis will not build correctly, the move is done as a separate step from the rest of refactoring so git's history is cleaner.
Configuration menu - View commit details
-
Copy full SHA for 91963f5 - Browse repository at this point
Copy the full SHA 91963f5View commit details -
Move implementations to `generic/` like the other functions. This also allows us to combine the `fma` and `fma_wide` modules.
Configuration menu - View commit details
-
Copy full SHA for f456aa8 - Browse repository at this point
Copy the full SHA f456aa8View commit details
Commits on May 1, 2025
-
builtins-test: Remove
no_manglefromeh_personalityRustc now mangles these symbols on its own, so `no_mangle` is rejected as an error.
Configuration menu - View commit details
-
Copy full SHA for 7ccb126 - Browse repository at this point
Copy the full SHA 7ccb126View commit details
Commits on May 2, 2025
-
fmaf: Add a test case from a MinGW failure
This is a known problem in the MinGW fmaf implementation, identified at [1]. Make sure our implementation passes this edge case. [1]: rust-lang/rust#140515
Configuration menu - View commit details
-
Copy full SHA for 725484e - Browse repository at this point
Copy the full SHA 725484eView commit details
Commits on May 3, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f83962e - Browse repository at this point
Copy the full SHA f83962eView commit details -
This module is used for both i686 and x86-64.
Configuration menu - View commit details
-
Copy full SHA for 6e4255a - Browse repository at this point
Copy the full SHA 6e4255aView commit details -
Use runtime feature detection for fma routines on x86
Get performance closer to the glibc implementations by adding assembly fma routines, with runtime feature detection so they are used even if not compiled with `+fma` (as the distributed standard library is often not). Glibc uses ifuncs, this implementation stores a function pointer in an atomic. Results of CPU flags are also cached in order to avoid repeating the startup time in calls to different functions. The feature detection code is a slightly simplified version of `std-detect`. Musl sources were used as a reference [1]. Fixes: rust-lang/rust#140452 once synced [1]: https://github.com/bminor/musl/blob/c47ad25ea3b484e10326f933e927c0bc8cded3da/src/math/x32/fma.c
Configuration menu - View commit details
-
Copy full SHA for a2f6440 - Browse repository at this point
Copy the full SHA a2f6440View commit details
Commits on May 4, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 257dd48 - Browse repository at this point
Copy the full SHA 257dd48View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff libm-v0.2.13...libm-v0.2.14