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

Stabilize inline asm usage with rustc_codegen_cranelift #117365

Merged
merged 15 commits into from
Oct 30, 2023

Commits on Oct 12, 2023

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

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    a302610 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'sync_from_rust'

    bjorn3 committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    6d30a7d View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Update Cranelift to 0.101.2 and disable host-arch feature of cranelif…

    …t-codegen
    
    This ensures that cg_clif can be built for targets that aren't natively
    supported by Cranelift. It will not be possible to compile for the host
    in this case, but cross-compilation will still be possible.
    
    We won't distribute cg_clif as rustup component for any targets that
    aren't natively supported by Cranelift, but will still build it if
    codegen-backends lists "cranelift".
    bjorn3 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1e39bbf View commit details
    Browse the repository at this point in the history
  2. Update target-lexicon to 0.12.12

    This adds support for loongarch and a bunch of other targets
    bjorn3 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1cb7bdb View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Auto merge of rust-lang#116609 - eduardosm:bump-stdarch, r=workingjub…

    …ilee
    
    Bump stdarch submodule and remove special handling for LLVM intrinsics that are no longer needed
    
    Bumps stdarch to pull rust-lang/stdarch#1477, which reimplemented some functions with portable SIMD intrinsics instead of arch specific LLVM intrinsics.
    
    Handling of those LLVM intrinsics is removed from cranelift codegen and miri.
    
    cc `@RalfJung` `@bjorn3`
    bors committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    9e20870 View commit details
    Browse the repository at this point in the history
  2. Auto merge of rust-lang#81746 - bjorn3:cg_clif_rustup_component, r=Ma…

    …rk-Simulacrum
    
    Distribute cg_clif as rustup component on the nightly channel
    
    This makes it possible to use cg_clif using:
    
    ```bash
    $ rustup component add rustc-codegen-cranelift-preview --toolchain nightly
    $ RUSTFLAGS="-Zcodegen-backend=cranelift" cargo +nightly build
    ```
    
    cc rust-lang/compiler-team#405.
    r? `@Mark-Simulacrum`
    bors committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    da1ed4d View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Use the LLVM rustc backend as external assembler

    The LLVM backend is generally available, while the gnu assembler is not
    on Windows and many other platforms by default.
    bjorn3 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    827a6d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1e7051 View commit details
    Browse the repository at this point in the history
  3. Stabilize inline asm usage on all platforms

    But exclude sym operands for now as they are somewhat broken.
    bjorn3 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    35453ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    69c6aa5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request rust-lang#1403 from rust-lang/use_llvm_backend_as_…

    …assembler
    
    Support and stabilize inline asm on all platforms
    bjorn3 authored Oct 29, 2023
    Configuration menu
    Copy the full SHA
    9436eae View commit details
    Browse the repository at this point in the history
  6. Sync from rust e5cfc55

    bjorn3 committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    e281e6f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dde5880 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a9b21bb View commit details
    Browse the repository at this point in the history