diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-10-23 22:11:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-23 22:11:02 +0200 |
| commit | af2c7dffda76492ff677e3c0a43774edac5eaa6e (patch) | |
| tree | 61f55d5f0ebdda2595f32adac060bdf8367088de /compiler/rustc_codegen_llvm/src | |
| parent | be01dabfefd2daa4574b974f571c7852085d60cb (diff) | |
| parent | c11bfd828ee4bace0b547c361c1088e03844af83 (diff) | |
| download | rust-af2c7dffda76492ff677e3c0a43774edac5eaa6e.tar.gz rust-af2c7dffda76492ff677e3c0a43774edac5eaa6e.zip | |
Rollup merge of #130991 - LaihoE:vectorized_slice_contains, r=Noratrieb
Vectorized SliceContains Godbolt for the u32 case: https://rust.godbolt.org/z/exT9xYWGs Unsure about: - Should align_to be used? It didn't seem to matter in my benchmark but maybe I was lucky with alignment? - Should u8/i8 also be implemented? Currently uses memchr (SWAR) Some benchmarks on x86 (contains called on an array with no matches, worst case may be slightly worse): ## Large N  ## Small N 
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
