Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 7 pull requests #128439

Closed
wants to merge 25 commits into from

Commits on Jul 28, 2024

  1. Configuration menu
    Copy the full SHA
    b4e1a53 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Small simplification

    Nadrieril committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    9e05fb6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2fd9aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbdacec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c747166 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08bcc01 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    a75d2f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9169622 View commit details
    Browse the repository at this point in the history
  3. Specify the integer type of the powi LLVM intrinsic

    Since LLVM <https://reviews.llvm.org/D99439> (4c7f820, "Update
    @llvm.powi to handle different int sizes for the exponent"), the size of
    the integer can be specified for the `powi` intrinsic. Make use of this
    so it is more obvious that integer size is consistent across all float
    types.
    
    This feature is available since LLVM 13 (October 2021). Based on
    bootstrap we currently support >= 17.0, so there should be no support
    problems.
    tgross35 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    c586eb6 View commit details
    Browse the repository at this point in the history
  4. Add math intrinsics for f16 and f128

    These already exist in the compiler. Expose them in core so we can add
    their library functions.
    tgross35 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    b6d0517 View commit details
    Browse the repository at this point in the history
  5. Add math functions for f16 and f128

    This adds missing functions for math operations on the new float types.
    
    Platform support is pretty spotty at this point, since even platforms
    with generally good support can be missing math functions.
    `std/build.rs` is updated to reflect this.
    tgross35 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    90e63dd View commit details
    Browse the repository at this point in the history
  6. Add core functions for f16 and f128 that require math routines

    `min`, `max`, and similar functions require external math routines. Add
    these under the same gates as `std` math functions (`reliable_f16_math`
    and `reliable_f128_math`).
    tgross35 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    a4657dd View commit details
    Browse the repository at this point in the history
  7. Update comments for {f16, f32, f64, f128}::midpoint

    Clarify what makes some operations not safe, and correct comment in the
    default branch ("not safe" -> "safe").
    tgross35 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    e1d23c9 View commit details
    Browse the repository at this point in the history
  8. Add a disclaimer about x86 f128 math functions

    Due to a LLVM bug, `f128` math functions link successfully but LLVM
    chooses the wrong symbols (`long double` symbols rather than those for
    binary128).
    
    Since this is a notable problem that may surprise a number of users, add
    a note about it.
    
    Link: llvm/llvm-project#44744
    tgross35 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    d64bbb1 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    f6f587e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e84a7d9 View commit details
    Browse the repository at this point in the history
  3. Add VxWorks platfrom support documents

    B I Mohammed Abbas committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    62d4998 View commit details
    Browse the repository at this point in the history
  4. improve bootstrap to allow selecting llvm tools individually

    Everything works as before, + now bootstrap allows for individually selecting LLVM
    tools (e.g., `x dist opt llvm-dis`) to include in the dist artifact.
    
    Signed-off-by: onur-ozkan <work@onurozkan.dev>
    onur-ozkan committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    f6c4110 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#123813 - compiler-errors:redundant-lint, r=…

    …petrochenkov
    
    Add `REDUNDANT_IMPORTS` lint for new redundant import detection
    
    Defaults to Allow for now. Stacked on rust-lang#123744 to avoid merge conflict, but much easier to review all as one.
    
    r? petrochenkov
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    82bcc42 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#127159 - Nadrieril:hide-candidate, r=matthe…

    …wjasper
    
    match lowering: Hide `Candidate` from outside the lowering algorithm
    
    The internals of `Candidate` are tricky and a source of confusion. This PR makes it so we don't expose `Candidate`s outside the lowering algorithm. Now:
    - false edges are handled in `lower_match_tree`;
    - `lower_match_tree` takes a list of patterns as input;
    - `lower_match_tree` returns a flat datastructure that contains only the necessary information.
    
    r? `@matthewjasper`
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    10f2ff2 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#128162 - ChrisDenton:cleanup, r=joboet

    Cleanup sys module to match house style
    
    This moves a test file out of sys as it's just testing std types. Also cleans up some assorted bits including making the `use` statements match the house style.
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    28cddd7 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#128296 - heiher:update-metadata, r=Urgau

    Update target-spec metadata for loongarch64 targets
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    723bd6b View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#128417 - tgross35:f16-f128-math, r=dtolnay

    Add `f16` and `f128` math functions
    
    This adds intrinsics and math functions for `f16` and `f128` floating point types. Support is quite limited and some things are broken so tests don't run on many platforms, but this provides a starting point.
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    ee5a829 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#128431 - biabbas:master, r=Urgau

    Add myself as VxWorks target maintainer for reference
    
    Hi, would be working on VxWorks regularly, thus adding myself as a target maintainer.
    r? `@workingjubilee`
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    113ca15 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#128437 - onur-ozkan:handle-llvm-tools-prope…

    …rly, r=albertlarsan68,Kobzol
    
    improve bootstrap to allow selecting llvm tools individually
    
    Everything works as before, + now bootstrap allows for individually selecting LLVM tools (e.g., `x dist opt llvm-dis`) to include in the dist artifact.
    matthiaskrgr committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    91869da View commit details
    Browse the repository at this point in the history