rust/compiler/rustc_codegen_cranelift/src
bors b0d45536ac Auto merge of #115580 - eduardosm:stdarch-intrinsics, r=davidtwco,bjorn3
Update stdarch submodule and remove special handling in cranelift codegen for some AVX and SSE2 LLVM intrinsics

https://github.com/rust-lang/stdarch/pull/1463 reimplemented some x86 intrinsics to avoid using some x86-specific LLVM intrinsics:

* Store unaligned (`_mm*_storeu_*`) use `<*mut _>::write_unaligned` instead of `llvm.x86.*.storeu.*`.
* Shift by immediate (`_mm*_s{ll,rl,ra}i_epi*`) use `if` (srl, sll) or `min` (sra) to simulate the behaviour when the RHS is out of range. RHS is constant, so the `if`/`min` will be optimized away.

This PR updates the stdarch submodule to pull these changes and removes special handling for those LLVM intrinsics from cranelift codegen. I left gcc codegen untouched because there are some autogenerated lists.
2023-09-06 22:26:37 +00:00
..
abi Use preserve_mostcc for extern "rust-cold" 2023-08-26 17:42:59 -07:00
debuginfo Use relative positions inside a SourceFile. 2023-09-03 12:56:10 +00:00
driver
intrinsics Remove special handling in codegen for some AVX and SSE2 shift by immediate intrinsics 2023-09-05 20:17:01 +02:00
optimize
allocator.rs
analyze.rs
archive.rs
base.rs when terminating during unwinding, show the reason why 2023-08-24 13:28:26 +02:00
cast.rs
codegen_i128.rs
common.rs Don't ICE on layout computation failure 2023-08-28 12:40:39 -07:00
compiler_builtins.rs
concurrency_limiter.rs
config.rs
constant.rs when terminating during unwinding, show the reason why 2023-08-24 13:28:26 +02:00
discriminant.rs
global_asm.rs
inline_asm.rs
lib.rs
linkage.rs
main_shim.rs
num.rs
pointer.rs
pretty_clif.rs
toolchain.rs
trap.rs
unsize.rs const_eval and codegen: audit uses of is_zst 2023-08-29 09:03:46 +02:00
value_and_place.rs
vtable.rs const_eval and codegen: audit uses of is_zst 2023-08-29 09:03:46 +02:00