| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-07-03 | setup CI and tidy to use typos for spellchecking and fix few typos | klensy | -2/+2 | |
| 2025-06-15 | Add `simd_funnel_sh{l,r}` and `simd_round_ties_even` | sayantn | -0/+42 | |
| 2025-05-12 | update cfg(bootstrap) | Pietro Albini | -2/+2 | |
| 2025-05-01 | Rollup merge of #140034 - RalfJung:simd_select_bitmask-padding, r=workingjubilee | Guillaume Gomez | -3/+1 | |
| simd_select_bitmask: the 'padding' bits in the mask are just ignored Fixes https://github.com/rust-lang/rust/issues/137942: we documented simd_select_bitmask to require the 'padding' bits in the mask (the mask can sometimes be longer than the vector; I am referring to these extra bits as 'padding' here) to be zero, mostly because nobody felt like doing the research for what should be done when they are non-zero. However, codegen is already perfectly happy just ignoring them, so in practice they can have any value. Some of the intrinsic wrappers in stdarch have trouble ensuring that they are zero. So let's just adjust the docs and Miri to permit non-zero 'padding' bits. Cc ````@Amanieu```` ````@workingjubilee```` | ||||
| 2025-04-20 | Rollup merge of #137953 - RalfJung:simd-intrinsic-masks, r=WaffleLapkin | Chris Denton | -5/+5 | |
| simd intrinsics with mask: accept unsigned integer masks, and fix some of the errors It's not clear at all why the mask would have to be signed, it is anyway interpreted bitwise. The backend should just make sure that works no matter the surface-level type; our LLVM backend already does this correctly. The note of "the mask may be widened, which only has the correct behavior for signed integers" explains... nothing? Why can't the code do the widening correctly? If necessary, just cast to the signed type first... Also while we are at it, fix the errors. For simd_masked_load/store, the errors talked about the "third argument" but they meant the first argument (the mask is the first argument there). They also used the wrong type for `expected_element`. I have extremely low confidence in the GCC part of this PR. See [discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/channel/257879-project-portable-simd/topic/On.20the.20sign.20of.20masks) | ||||
| 2025-04-20 | simd intrinsics with mask: accept unsigned integer masks | Ralf Jung | -5/+5 | |
| 2025-04-19 | simd_select_bitmask: the 'padding' bits in the mask are just ignored | Ralf Jung | -3/+1 | |
| 2025-04-10 | add `simd_insert_dyn` and `simd_extract_dyn` | Folkert de Vries | -3/+36 | |
| 2025-03-12 | intrinsics: remove unnecessary leading underscore from argument names | Ralf Jung | -68/+68 | |
| 2025-03-01 | Rollup merge of #137828 - folkertdev:simd-intrinsic-doc-fixes, r=workingjubilee | Matthias Krüger | -36/+34 | |
| Fix inaccurate `std::intrinsics::simd` documentation This addresses two issues: - the docs on comparison operators (`simd_gt` etc.) said they only work for floating-point vectors, but they work for integer vectors too. - the docs on various functions that use a mask did not document that the mask must be a signed integer vector. Unsigned integer vectors would cause invalid behavior when the mask vector is widened (unsigned integers would use zero extension, producing incorrect results). r? ``@workingjubilee`` | ||||
| 2025-03-01 | intrinsics::simd: document that masks must be signed integer vectors | Folkert de Vries | -27/+27 | |
| this is because they may be widened, and that only works when sign extension is used: zero extension would produce invalid results | ||||
| 2025-03-01 | correct the docs on `simd_` comparison operators | Folkert de Vries | -15/+13 | |
| these all also accept integer vectors as arguments | ||||
| 2025-02-27 | make `simd_insert` and `simd_extract` `const fn`s | Folkert de Vries | -2/+2 | |
| 2025-02-24 | remove uses of rustc_intrinsic_must_be_overridden from standard library | Ralf Jung | -272/+68 | |
| 2025-01-24 | ports last few library files to new intrinsic style | aaishwarymishra@gmail.com | -665/+935 | |
| 2025-01-08 | update cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2024-12-04 | clarify simd_relaxed_fma non-determinism | Ralf Jung | -1/+2 | |
| 2024-11-23 | Match simd_relaxed_fma documentation to fmuladd intrinsic | Caleb Zulawski | -4/+8 | |
| 2024-11-23 | Add simd_relaxed_fma intrinsic | Caleb Zulawski | -0/+10 | |
| 2024-09-14 | simd_shuffle: require index argument to be a vector | Ralf Jung | -1/+1 | |
| 2024-08-13 | simd_shuffle intrinsic: allow argument to be passed as vector (not just as ↵ | Ralf Jung | -1/+1 | |
| array) | ||||
| 2024-07-26 | Fix doc nits | John Arundel | -54/+55 | |
| Many tiny changes to stdlib doc comments to make them consistent (for example "Returns foo", rather than "Return foo", per RFC1574), adding missing periods, paragraph breaks, backticks for monospace style, and other minor nits. https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md#appendix-a-full-conventions-text | ||||
| 2024-07-25 | Stop using `unsized_const_parameters` in core/std | Boxy | -12/+0 | |
| 2024-07-05 | Auto merge of #126171 - RalfJung:simd_bitmask_multibyte, r=workingjubilee | bors | -6/+13 | |
| simd_bitmask intrinsic: add a non-power-of-2 multi-byte example r? `@calebzulawski` `@workingjubilee` | ||||
| 2024-06-25 | simd_bitmask intrinsic: add a non-power-of-2 multi-byte example | Ralf Jung | -6/+13 | |
| 2024-06-24 | Fix simd_gather documentation | Petteri Räty | -3/+0 | |
| There is no idx in the function signature. | ||||
| 2024-06-11 | remove cfg(bootstrap) | Pietro Albini | -1/+0 | |
| 2024-05-24 | Fix some SIMD intrinsics documentation | Mees Frensel | -4/+4 | |
| 2024-05-18 | compiler: add simd_ctpop intrinsic | Jubilee Young | -0/+7 | |
| 2024-05-01 | Step bootstrap cfgs | Mark Rousskov | -13/+0 | |
| 2024-04-03 | rename `expose_addr` to `expose_provenance` | joboet | -0/+6 | |
| 2024-04-02 | Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=Amanieu | Jacob Pratt | -0/+7 | |
| rename ptr::from_exposed_addr -> ptr::with_exposed_provenance As discussed on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/To.20expose.20or.20not.20to.20expose/near/427757066). The old name, `from_exposed_addr`, makes little sense as it's not the address that is exposed, it's the provenance. (`ptr.expose_addr()` stays unchanged as we haven't found a better option yet. The intended interpretation is "expose the provenance and return the address".) The new name nicely matches `ptr::without_provenance`. | ||||
| 2024-03-23 | Rollup merge of #122762 - RoboSchmied:RoboSchmied-typo, r=workingjubilee | Jubilee | -1/+1 | |
| fix typo of endianness fix typo endianess -> endianness | ||||
| 2024-03-23 | also rename the SIMD intrinsic | Ralf Jung | -0/+7 | |
| 2024-03-20 | Update target.rs alloc.rs event.rs simd.rs | RoboSchmied | -1/+1 | |
| fix typos | ||||
| 2024-03-20 | step cfgs | Mark Rousskov | -12/+1 | |
| 2024-02-25 | remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsics | Ralf Jung | -1/+79 | |
| 2024-02-21 | remove simd_reduce_{min,max}_nanless | Ralf Jung | -26/+0 | |
| 2024-02-21 | make simd_reduce_{mul,add}_unordered use only the 'reassoc' flag, not all ↵ | Ralf Jung | -12/+4 | |
| fast-math flags | ||||
| 2024-02-21 | intrinsics::simd: add missing functions | Ralf Jung | -0/+103 | |
| 2024-02-20 | Rollup merge of #119203 - farnoy:simd-masked-intrinsic-docfix, r=RalfJung | Matthias Krüger | -4/+6 | |
| Correct the simd_masked_{load,store} intrinsic docs Explains the uniform pointer being used for these two operations and how elements are offset from it. | ||||
| 2024-02-20 | Correct the simd_masked_{load,store} intrinsic docs | Jakub Okoński | -4/+6 | |
| 2024-02-10 | various docs tweaks | Ralf Jung | -7/+7 | |
| 2024-02-10 | simd_scatter: mention left-to-right order | Ralf Jung | -0/+3 | |
| 2024-02-10 | add more missing simd intrinsics | Ralf Jung | -0/+32 | |
| 2024-02-10 | simd intrinsics: add simd_shuffle_generic | Ralf Jung | -3/+16 | |
| 2023-12-22 | update cfg(bootstrap)s | Pietro Albini | -2/+0 | |
| 2023-12-18 | Disable new intrinsics for bootstrap | Caleb Zulawski | -0/+2 | |
| 2023-12-17 | Add new intrinsics | Caleb Zulawski | -0/+39 | |
| 2023-12-17 | Further explain semantics | Caleb Zulawski | -2/+13 | |
