rustc_codegen_cranelift icon indicating copy to clipboard operation
rustc_codegen_cranelift copied to clipboard

Cranelift based backend for rustc

Results 147 rustc_codegen_cranelift issues
Sort by recently updated
recently updated
newest added

On pretty much every target variadic functions almost the exact same ABI (on x86 you need to set `%al` to the upper bound of the amount of float args, so...

C-enhancement
S-blocked
O-macos
A-abi
O-arm

Implements #1345. Currently succeeds building and running the [`windows-sys` crates `enum-windows` example](https://github.com/microsoft/windows-rs/blob/master/crates/samples/windows-sys/enum_windows/src/main.rs) with `RUSTFLAGS=--cfg windows_raw_dylib`. TODO (in no particular order): - [x] Get her running! - [x] Replace archive writing...

7 mo ago I tried to build this project for android and being successfully able to compile rust project on android, however I was unable to link it (missing libc.so.6...

``` git clone https://github.com/qarmin/czkawka.git cd czkawka git checkout 922502515776437a9add23fdb2c524ec7ab42b6c cd krokiet CARGO_PROFILE_DEV_CODEGEN_BACKEND=cranelift cargo +nightly build -Zcodegen-backend # I used precompiled binaries valgrind ../target/debug/krokiet ``` valgrind 3.21.0 - from snap ```...

``` Compiling portable-atomic v0.3.19 {standard input}: Assembler messages: {standard input}:80: Error: selected processor does not support `casp x6,x7,x4,x5,[x0]' {standard input}:103: Error: selected processor does not support `caspa x6,x7,x4,x5,[x0]' {standard input}:126:...

Current rav1e master shows: ``` warning: unsupported x86 llvm intrinsic llvm.x86.avx2.pabs.w; replacing with trap warning: unsupported x86 llvm intrinsic llvm.x86.avx2.pmadd.wd; replacing with trap warning: unsupported x86 llvm intrinsic llvm.x86.avx2.psign.w; replacing...

A-core-arch

auto-reduced (treereduce-rust): ````rust #![crate_type = "rlib"] use std::arch::asm; use std::mem::MaybeUninit; pub unsafe fn inout(mut x: i32) -> MaybeUninit { let y: MaybeUninit; asm!("/*{}{}*/", in(reg) x, out(reg) y); y } ````...

C-bug

Just a simple question out of curiosity. Is https://blog.rust-lang.org/2023/11/09/parallel-rustc.html already usable with cg_clif?

C-enhancement
compile-time

This issue will be used to communicate changes to the way cg_clif is built or used as well as to notify about the implementation of major features.

Many platforms have some symbol mangling even for "unmangled" C symbols. For example adding a leading `_` or trailing `@argcount`. LLVM supports suppressing this by prefixing the symbol name with...

C-enhancement
A-abi