rust-lang / rustc_codegen_cranelift

Cranelift based backend for rustc
Apache License 2.0
1.64k stars 101 forks source link

Unsupported AArch64 llvm intrinsics `llvm.aarch64.neon.XXX.v4f32` #1531

Closed tjamaan closed 2 months ago

tjamaan commented 2 months ago

I tried compiling a Bevy project on macOS Sonoma 14.6.1 and ran into the following unsupported AArch64 llvm intrinsics:

warning: unsupported AArch64 llvm intrinsic llvm.aarch64.neon.fmax.v4f32; replacing with trap
warning: unsupported AArch64 llvm intrinsic llvm.aarch64.neon.fmin.v4f32; replacing with trap
warning: unsupported AArch64 llvm intrinsic llvm.aarch64.neon.faddv.f32.v4f32; replacing with trap
warning: unsupported AArch64 llvm intrinsic llvm.aarch64.neon.frintn.v4f32; replacing with trap

Let me know what I can do to help :)

tjamaan commented 2 months ago

Just FYI I'm working on a patch for this.