Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/compiler-builtins
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: compiler_builtins-v0.1.139
Choose a base ref
...
head repository: rust-lang/compiler-builtins
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: compiler_builtins-v0.1.140
Choose a head ref
  • 7 commits
  • 4 files changed
  • 3 contributors

Commits on Nov 3, 2024

  1. Merge pull request #728 from rust-lang/release-plz-2024-11-03T23-08-40Z

    chore: release v0.1.139
    tgross35 authored Nov 3, 2024
    Configuration menu
    Copy the full SHA
    e344295 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Disable f16 on platforms that have recursion problems

    CI in [1] seems to indicate that there are cases where the `f16`
    infinite recursion bug ([2], [3]) can make its way into what gets called
    during tests, even though this doesn't seem to be the usual case. In
    order to make sure that we avoid these completely, just unset
    `f16_enabled` on any platforms that have the recursion problem.
    
    This also refactors the `match` statement to be more in line with
    `library/std/build.rs`.
    
    [1]: #729
    [2]: llvm/llvm-project#97981
    [3]: #651
    tgross35 committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    077f018 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #730 from tgross35/f16-f128-config-update

    Disable `f16` on platforms that have recursion problems
    tgross35 authored Nov 5, 2024
    Configuration menu
    Copy the full SHA
    a09218f View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2024

  1. Fix a bug in abs_diff

    These implementations of `abs_diff` were added in c2ff1b3
    ("Completely overhaul fuzz testing"), but the signed implementation is
    wrong when |x| + |y| exceeds the integer's limits (e.g.
    `(-128).abs_diff(1)` should be 128 but currently these return 127.
    
    Resolve this by just using `std`'s implementation since that is stable
    now. This isn't used anywhere critical, we probably just weren't hitting
    the edge case.
    tgross35 committed Dec 22, 2024
    Configuration menu
    Copy the full SHA
    36deaed View commit details
    Browse the repository at this point in the history
  2. Merge pull request #736 from tgross35/fix-abs-diff

    Fix a bug in `abs_diff`
    tgross35 authored Dec 22, 2024
    Configuration menu
    Copy the full SHA
    3e0fe12 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2024

  1. Disable f128 for amdgpu (#737)

    `compiler_builtins` fails to compile to amdgpu if f128 is enabled.
    The reason seems to be that compiler_builtins uses libcalls in the
    implementation. I’m not really familiar with what libcalls are, but the
    LLVM amdgpu backend explicitly does not support them.
    
    Error message:
    ```
    LLVM ERROR: unsupported libcall legalization
    ```
    Flakebi authored Dec 26, 2024
    Configuration menu
    Copy the full SHA
    fe6b093 View commit details
    Browse the repository at this point in the history
  2. chore: release v0.1.140

    github-actions[bot] authored and tgross35 committed Dec 26, 2024
    Configuration menu
    Copy the full SHA
    ff0ca1f View commit details
    Browse the repository at this point in the history
Loading