rust/compiler/rustc_hir_analysis/src
Guillaume Gomez 66ad1f2abf
Rollup merge of #142078 - sayantn:more-intrinsics, r=workingjubilee
Add SIMD funnel shift and round-to-even intrinsics

This PR adds 3 new SIMD intrinsics

 - `simd_funnel_shl` - funnel shift left
 - `simd_funnel_shr` - funnel shift right
 - `simd_round_ties_even` (vector version of `round_ties_even_fN`)

TODO (future PR): implement `simd_fsh{l,r}` in miri, cg_gcc and cg_clif (it is surprisingly hard to implement without branches, the common tricks that rotate uses doesn't work because we have 2 elements now. e.g, the `-n&31` trick used by cg_gcc to implement rotate doesn't work with this because then `fshl(a, b, 0)` will be `a | b`)

[#t-compiler > More SIMD intrinsics](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/More.20SIMD.20intrinsics/with/522130286)

`@rustbot` label T-compiler T-libs A-intrinsics F-core_intrinsics
r? `@workingjubilee`
2025-06-29 12:29:53 +02:00
..
check Rollup merge of #142078 - sayantn:more-intrinsics, r=workingjubilee 2025-06-29 12:29:53 +02:00
coherence Remove some glob imports from the type system 2025-06-25 15:35:16 +00:00
collect Rollup merge of #143106 - yotamofek:pr/gce/non-local-ice, r=BoxyUwU 2025-06-27 22:13:07 +02:00
errors Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00:00
hir_ty_lowering Rollup merge of #143104 - davidtwco:issue-142652-dyn-pointeesized-deny, r=compiler-errors 2025-06-27 22:13:07 +02:00
impl_wf_check Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00:00
outlives Fix some var names 2025-05-27 11:14:47 +00:00
variance Fix some var names 2025-05-27 11:14:47 +00:00
autoderef.rs FIXME(-Znext-solver) triage 2025-06-03 14:23:56 +02:00
check_unused.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
collect.rs Report infer ty errors during hir ty lowering 2025-06-27 07:51:38 +00:00
constrained_generic_params.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
delegation.rs Use more slicing and slice interning over iterable interning 2025-06-13 01:16:01 +02:00
errors.rs hir_analysis: prohibit dyn PointeeSized 2025-06-27 17:01:47 +00:00
hir_wf_check.rs Merge unboxed trait object error suggestion into regular dyn incompat error 2025-06-13 13:54:06 +00:00
impl_wf_check.rs Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
lib.rs Remove unused feature gates 2025-06-28 23:36:46 +00:00