Skip to content

Commit 5fb4475

Browse files
committed
Auto merge of rust-lang#115580 - eduardosm:stdarch-intrinsics, r=davidtwco,bjorn3
Update stdarch submodule and remove special handling in cranelift codegen for some AVX and SSE2 LLVM intrinsics rust-lang/stdarch#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.
2 parents 21d1ca1 + b1311f6 commit 5fb4475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdarch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit d77878b7299dd7e286799a6e8447048b65d2a861
1+
Subproject commit 6100854c4b360f84da5ab25e7c75cb2080667ddc

0 commit comments

Comments
 (0)