Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
e3d7f45
Merge ref '139651428df8' from rust-lang/rust
invalid-email-address Feb 16, 2026
05a7dc7
Merge pull request #2777 from rust-lang/rustc-pull
tshepang Feb 16, 2026
c493613
Merge ref 'c78a29473a68' from rust-lang/rust
invalid-email-address Feb 23, 2026
c580492
Merge pull request #2783 from rust-lang/rustc-pull
reddevilmidzy Feb 23, 2026
c47848a
Merge pull request #2749 from rust-lang/date-check-compiletest
tshepang Feb 23, 2026
c7fe0cd
Merge ref 'eda4fc7733ee' from rust-lang/rust
invalid-email-address Mar 9, 2026
587288e
Merge pull request #2792 from rust-lang/rustc-pull
tshepang Mar 9, 2026
6160650
Merge pull request #2788 from rust-lang/update-autodiff-installation
ZuseZ4 Mar 10, 2026
f802809
Merge ref '91021ccc7904' from rust-lang/rust
invalid-email-address Mar 18, 2026
bd04c84
Merge pull request #2799 from rust-lang/rustc-pull
tshepang Mar 18, 2026
2d69c93
Merge pull request #2796 from Ko496-glitch/update-date-check-march-2026
jyn514 Mar 23, 2026
d2c4fb8
Merge pull request #2812 from lcnr/main
lcnr Mar 30, 2026
3c32faf
Merge pull request #2813 from lcnr/main
lcnr Mar 30, 2026
627ae22
Merge ref '9602bda1dd0c' from rust-lang/rust
invalid-email-address Apr 6, 2026
08704a6
Merge pull request #2823 from rust-lang/rustc-pull
reddevilmidzy Apr 6, 2026
74a5403
Merge pull request #2801 from malezjaa/new-on-unimplemented-match-values
tshepang Apr 8, 2026
b8d50d3
Merge pull request #2800 from reddevilmidzy/ast-low
tshepang Apr 8, 2026
b91dea9
Merge pull request rust-lang/rustc-dev-guide#2821 from apiraino/fix-n…
reddevilmidzy Apr 13, 2026
cea668f
Merge pull request rust/rustc-dev-guide#2814 from erfanio/main
reddevilmidzy Apr 17, 2026
11b53e2
Merge ref 'e22c616e4e87' from rust-lang/rust
invalid-email-address Apr 20, 2026
154f9c7
Merge pull request #2840 from rust-lang/rustc-pull
tshepang Apr 20, 2026
5126b37
Merge pull request rust-lang/rustc-dev-guide#2830 from DanielEScherze…
reddevilmidzy Apr 21, 2026
ef077c9
Merge pull request #2844 from rust-lang/aj/rustc-internals-docs-clarity
tshepang Apr 22, 2026
8ddb0d5
Merge ref '045b17737dab' from rust-lang/rust
invalid-email-address May 4, 2026
caf5c74
Merge pull request rust-lang/rustc-dev-guide#2863 from rust-lang/rust…
reddevilmidzy May 4, 2026
4c240ea
Merge pull request #2857 from xkevio/patch-1
jyn514 May 7, 2026
ae3f025
Merge ref 'f2b291d902bf' from rust-lang/rust
invalid-email-address May 8, 2026
8a33be3
Merge pull request #2866 from rust-lang/rustc-pull
tshepang May 8, 2026
947934c
Merge pull request rust-lang/rustc-dev-guide#2864 from cammeresi/2026…
reddevilmidzy May 10, 2026
94b242b
Merge pull request #2736 from xonx4l/non-def-vs-def
jyn514 May 21, 2026
1182dfa
Merge ref 'c58275e0369d' from rust-lang/rust
invalid-email-address May 30, 2026
7cb2ac0
Merge pull request #2885 from rust-lang/rustc-pull
tshepang May 30, 2026
fe1b02e
Merge pull request rust-lang/rustc-dev-guide#2884 from Herrtian/windo…
reddevilmidzy Jun 1, 2026
7aba0d1
Merge ref '8c75e93c5c76' from rust-lang/rust
invalid-email-address Jun 20, 2026
4f54f90
Merge pull request #2905 from rust-lang/rustc-pull
tshepang Jun 20, 2026
36aee58
Merge ref '7fb284d9037f' from rust-lang/rust
invalid-email-address Jun 29, 2026
cf95a9c
Merge ref '7fb284d9037f' from rust-lang/rust
invalid-email-address Jun 29, 2026
03e7e0e
Merge pull request #2912 from rust-lang/rustc-pull
tshepang Jun 29, 2026
ab02de1
Add Well-formedness dev guide page
BoxyUwU Jun 29, 2026
c3a7346
Merge pull request #2910 from activexray/main
ZuseZ4 Jun 29, 2026
158cd10
Merge ref '9e71b3bc704e' from rust-lang/rust
invalid-email-address Jul 20, 2026
b87cc2c
Merge pull request #2934 from rust-lang/rustc-pull
tshepang Jul 22, 2026
d781f13
Merge pull request #2940 from rust-lang/tshepang/misc
tshepang Jul 23, 2026
9f50a9f
Merge pull request #2835 from jyn514/llm-policy
jyn514 Aug 5, 2026
7db4a31
Merge ref 'f73951df0a55' from rust-lang/rust
invalid-email-address Aug 6, 2026
abef3fb
Merge ref '969b803cbe1d' from rust-lang/rust
invalid-email-address Aug 10, 2026
af79d55
Merge pull request #2952 from rust-lang/rustc-pull
tshepang Aug 11, 2026
e21d648
Merge pull request #2955 from RalfJung/derive-diagnostic
tshepang Aug 11, 2026
6e89392
Merge ref 'e64c8a664d9d' from rust-lang/rust
invalid-email-address Aug 11, 2026
785769e
Merge pull request #2960 from rust-lang/rustc-pull
tshepang Aug 11, 2026
443ffd0
Merge pull request #2959 from mejrs/attrs
tshepang Aug 13, 2026
0652cf6
Merge pull request #2942 from blyxyas/feedable-query-mod
tshepang Aug 13, 2026
cf8bda0
Merge pull request #2964 from jyn514/x-fixups
jyn514 Aug 14, 2026
12f7f8f
Merge pull request #2939 from Jamesbarford/chore/rustc_type_ir-macro-…
lcnr Aug 14, 2026
5abf57c
Merge ref '2c39ff499469' from rust-lang/rust
invalid-email-address Aug 17, 2026
9176b2b
Merge ref '2c39ff499469' from rust-lang/rust
tgross35 Aug 17, 2026
441030f
Merge pull request #2970 from rust-lang/rustc-pull
tshepang Aug 17, 2026
665d65c
Merge pull request #2947 from Walnut356/di_test
jyn514 Aug 17, 2026
d0443fc
Merge pull request #2938 from aland-omed/docs/neovim-workspace-folder…
jyn514 Aug 17, 2026
793d3b1
Merge ref 'da5114692c9e' from rust-lang/rust
invalid-email-address Aug 24, 2026
540cf81
Merge pull request #2981 from rust-lang/rustc-pull
tshepang Aug 24, 2026
2c7acc4
Merge pull request #2985 from rust-lang/tshepang-patch-1
tshepang Aug 27, 2026
adcab48
Merge pull request #2987 from jyn514/query-touchups
jyn514 Aug 29, 2026
167f10b
Merge pull request #2988 from jyn514/reading-club
jieyouxu Aug 29, 2026
a7706a8
Merge ref '45f215f136e0' from rust-lang/rust
folkertdev Aug 31, 2026
650e123
Merge ref '71238e21fc55' from rust-lang/rust
invalid-email-address Sep 4, 2026
6d92b93
Merge pull request #3003 from rust-lang/rustc-pull
tshepang Sep 4, 2026
78fbfc0
Merge pull request #2993 from jyn514/track-broken-links
jyn514 Sep 10, 2026
03d74df
Merge ref '56fad885ebfb' from rust-lang/rust
invalid-email-address Sep 21, 2026
d5ffae9
Merge pull request #3030 from rust-lang/rustc-pull
tshepang Sep 21, 2026
598a1e4
Merge pull request #3016 from Walnut356/gdb_di_test
jieyouxu Sep 27, 2026
55a7fe0
Merge ref '5d8937173e7c' from rust-lang/rust
invalid-email-address Sep 29, 2026
180845f
Merge ref '7d2cd0fbc092' from rust-lang/rust
tshepang Sep 30, 2026
0a94d32
Merge pull request #3038 from rust-lang/tshepang/pull
tshepang Sep 30, 2026
8048354
Merge ref '260f1acad9d7' from rust-lang/rust
invalid-email-address Oct 5, 2026
812e4cf
Merge pull request #3043 from rust-lang/rustc-pull
tshepang Oct 5, 2026
972a1f4
Run the generator from source root
Kobzol Oct 6, 2026
9722075
remove redundant unsafe
yilin0518 Oct 7, 2026
316c32a
add `core::arch::powerpc::ppcf128`
folkertdev Aug 14, 2026
44465b3
Rollup merge of #162156 - folkertdev:ppcf128, r=beetrees,tgross35
JonathanBrouwer Oct 7, 2026
a48d73c
Rollup merge of #163925 - Kobzol:rustc-perf-update, r=lqd
JonathanBrouwer Oct 7, 2026
a7e4208
Rollup merge of #163658 - jchlanda:jakub/key_disc_fix, r=nnethercote
JonathanBrouwer Oct 7, 2026
72ee40b
Rollup merge of #163854 - saethlin:gvn-intern-alignment, r=oli-obk
JonathanBrouwer Oct 7, 2026
d96445c
Rollup merge of #163874 - lcnr:ice-on-fresh-vars, r=oli-obk
JonathanBrouwer Oct 7, 2026
c4fba26
Rollup merge of #163880 - maxdexh:dont-pollute-path, r=clubby789
JonathanBrouwer Oct 7, 2026
87f7e1d
Rollup merge of #163893 - joshtriplett:ast-path-hash-args, r=nnethercote
JonathanBrouwer Oct 7, 2026
5940b14
Rollup merge of #163894 - lcnr:tait-in-env-bug, r=lqd
JonathanBrouwer Oct 7, 2026
04a23b9
Rollup merge of #163902 - traviscross:TC/add-reference-annotations_cl…
JonathanBrouwer Oct 7, 2026
8c87fd9
Rollup merge of #163905 - Jules-Bertholet:bootstrap-tweak, r=Kobzol
JonathanBrouwer Oct 7, 2026
a7e5cca
Rollup merge of #163921 - khyperia:abby-dsl-ambiguity, r=BoxyUwU
JonathanBrouwer Oct 7, 2026
ac1e988
Rollup merge of #163927 - khyperia:abby-dsl-predicates-syntax, r=BoxyUwU
JonathanBrouwer Oct 7, 2026
4f03ed4
Rollup merge of #163933 - mati865:push-kwsxznlovwtp, r=clubby789
JonathanBrouwer Oct 7, 2026
781f213
Rollup merge of #163937 - BoxyUwU:abby_empty_forall_dsl, r=khyperia
JonathanBrouwer Oct 7, 2026
4a6bf8e
Auto merge of #163945 - JonathanBrouwer:rollup-1F2ngED, r=JonathanBro…
bors Oct 7, 2026
c8f583b
Auto merge of #156674 - xonx4l:port-stdarch-gen, r=Kobzol
bors Oct 8, 2026
ecb8f89
Auto merge of #163881 - weihanglo:update-cargo, r=weihanglo
bors Oct 8, 2026
57e3b7b
Auto merge of #163321 - aerooneqq:local-def-index, r=oli-obk,petroche…
bors Oct 8, 2026
b4f0922
Auto merge of #163959 - joshtriplett:upgrade-thin-vec, r=nnethercote
bors Oct 8, 2026
8ef5c16
Auto merge of #163906 - joshtriplett:veccache-optimize-present, r=nne…
bors Oct 9, 2026
3e1c58e
Auto merge of #163915 - joshtriplett:mir-shrink-to-fit, r=nnethercote
bors Oct 9, 2026
216cca9
Auto merge of #164034 - maxdexh:global-alloc-dangling, r=clarfonthey
bors Oct 10, 2026
40fd17e
Merge ref '5ec56e390265' from rust-lang/rust
invalid-email-address Oct 10, 2026
c08b1c5
Merge pull request #3048 from rust-lang/rustc-pull
tshepang Oct 10, 2026
c9bd3e1
Auto merge of #163398 - RalfJung:thread-local-key-inner, r=joboet
bors Oct 11, 2026
a2814a8
Rollup merge of #163918 - yilin0518:fix_arm_hint, r=JohnTitor
JonathanBrouwer Oct 11, 2026
3bf54b4
Rollup merge of #164047 - JonathanBrouwer:expr-body, r=Kivooeo
JonathanBrouwer Oct 11, 2026
f14cc74
Rollup merge of #164154 - tshepang:rdg-sync, r=tshepang
JonathanBrouwer Oct 11, 2026
49f8bad
Auto merge of #164159 - JonathanBrouwer:rollup-saZbJ3D, r=JonathanBro…
bors Oct 11, 2026
c91b53a
Auto merge of #163521 - ywxt:btree_map_iter, r=Amanieu
bors Oct 11, 2026
24c0d1e
Auto merge of #163865 - cxnmai:file-macro-optimization, r=fmease
bors Oct 11, 2026
4d27969
Auto merge of #163235 - estebank:default-field-values-lint, r=fmease
bors Oct 12, 2026
099e466
Auto merge of #164206 - scrabsha:perf/bound-var-length-check, r=nneth…
bors Oct 13, 2026
b4d0c05
Auto merge of #164333 - tgross35:update-builtins, r=tgross35
bors Oct 15, 2026
6e5ef0e
Auto merge of #163731 - TechnoPorg:bootstrap/tpde-step, r=Kobzol
bors Oct 17, 2026
b1942e9
Auto merge of #161698 - mehdiakiki:rmeta-link/read-metadata-by-file-f…
bors Oct 17, 2026
526fe9b
Auto merge of #164004 - folkertdev:ppcf128-c-variadic, r=beetrees
bors Oct 17, 2026
1904d34
Rollup merge of #164518 - folkertdev:stdarch-sync-2026-10-18, r=folke…
JonathanBrouwer Oct 18, 2026
7db089f
Rollup merge of #164497 - notriddle:broken-rustdoc-link, r=GuillaumeG…
JonathanBrouwer Oct 18, 2026
e00f897
Rollup merge of #113891 - SabrinaJewson:more-syscall-aliases, r=clarf…
JonathanBrouwer Oct 18, 2026
7a16849
Rollup merge of #163692 - RalfJung:backtrace-sigtrap, r=clarfonthey
JonathanBrouwer Oct 18, 2026
bc8cfc2
Rollup merge of #164486 - annieversary:bad-attribute-lit, r=JonathanB…
JonathanBrouwer Oct 18, 2026
d375bb2
Rollup merge of #164511 - RalfJung:abort_on_unwind, r=hanna-kruppe
JonathanBrouwer Oct 18, 2026
32f5516
Auto merge of #164525 - JonathanBrouwer:rollup-2qZaqmG, r=JonathanBro…
bors Oct 18, 2026
4d21a92
Auto merge of #164501 - Muhtasim-Rasheed:issue-164477-closure-fn-sig-…
bors Oct 20, 2026
7fe92c8
std: Combine `is_powerpc64_feature_detected` into `is_powerpc_feature…
tgross35 Oct 20, 2026
dbaea35
Auto merge of #163971 - joshtriplett:span-optimization, r=nnethercote…
bors Oct 20, 2026
30e5d4c
Rollup merge of #163664 - Kobzol:bootstrap-but-this-time-for-real-2, …
jhpratt Oct 21, 2026
942bd3b
Rollup merge of #163317 - bjorn3:lto_refactors22, r=nnethercote
jhpratt Oct 21, 2026
9c2a16e
Rollup merge of #164488 - cuviper:skip0, r=JohnTitor
jhpratt Oct 21, 2026
a15b59c
Rollup merge of #164507 - susitsm:deterministic-hashmap-encode, r=pet…
jhpratt Oct 21, 2026
4e95487
Rollup merge of #164612 - tgross35:ppc-feature-detect-combine, r=prog…
jhpratt Oct 21, 2026
594408f
Rollup merge of #148842 - estebank:issue-142887, r=nnethercote
jhpratt Oct 21, 2026
9ad1e8a
Rollup merge of #162668 - evan-dickinson:bitwise-not, r=JohnTitor
jhpratt Oct 21, 2026
06736f1
Rollup merge of #164264 - caelyreth:fix-invalid-nan-float, r=jieyouxu
jhpratt Oct 21, 2026
a39b1c3
Rollup merge of #164509 - RalfJung:assert-discriminant-layout, r=oli-obk
jhpratt Oct 21, 2026
cd346ae
Rollup merge of #164540 - bal-e:mini-macro-opts, r=nnethercote
jhpratt Oct 21, 2026
4322042
Rollup merge of #164594 - GuillaumeGomez:intra-doc-deprecated, r=Urgau
jhpratt Oct 21, 2026
6805a29
Rollup merge of #164595 - Tess4552:attr-fn-trait-params, r=JonathanBr…
jhpratt Oct 21, 2026
f33fde3
Rollup merge of #164616 - whiplashvin:vecdeque-allocator-test, r=thomcc
jhpratt Oct 21, 2026
cbe3dbc
Rollup merge of #164629 - RalfJung:breakpoint-docs, r=tgross35
jhpratt Oct 21, 2026
6507d74
Rollup merge of #164641 - maxdexh:explode-or-smth-idk-i-use-php, r=jh…
jhpratt Oct 21, 2026
0c6b385
Rollup merge of #164646 - jieyouxu:jieyouxu/force-rustfmt-subtree-cha…
jhpratt Oct 21, 2026
a10f9dc
Auto merge of #164662 - jhpratt:rollup-bulxEsP, r=jhpratt
bors Oct 21, 2026
1694809
Rollup merge of #163180 - joshtriplett:chroot-docs, r=tgross35
jhpratt Oct 21, 2026
7edc49d
Auto merge of #164673 - jhpratt:rollup-kXeoG4o, r=jhpratt
bors Oct 21, 2026
b2e8b57
Auto merge of #164650 - weihanglo:cargo-update, r=weihanglo
bors Oct 22, 2026
8b23774
Make rounding intrinsics generic
N1ark Sep 6, 2026
5c280f2
Make sqrt generic
N1ark Sep 6, 2026
602e173
Make `fma` and `fmuladd` generic
N1ark Sep 6, 2026
be68b4b
Rollup merge of #162395 - N1ark:more-float-generics, r=folkertdev
JonathanBrouwer Oct 23, 2026
0c3abe2
Rollup merge of #164636 - susitsm:rmeta-encode-remove-record-macros, …
JonathanBrouwer Oct 23, 2026
1d12047
Rollup merge of #164624 - dianne:fix-rustaceansareawesome-take-2-comp…
JonathanBrouwer Oct 23, 2026
03dcd3a
Rollup merge of #164695 - estebank:type-err-trait-context, r=oli-obk
JonathanBrouwer Oct 23, 2026
26c7e28
Rollup merge of #164744 - mejrs:attr_cleanup, r=JonathanBrouwer
JonathanBrouwer Oct 23, 2026
64f7dca
Auto merge of #164788 - JonathanBrouwer:rollup-lqRL2vV, r=JonathanBro…
bors Oct 23, 2026
e3bedce
Auto merge of #164676 - Kobzol:bust-docker-cache, r=jieyouxu
bors Oct 23, 2026
87c2cfe
move `ppcf128` to `core::num::imp`
folkertdev Oct 21, 2026
bb07618
Auto merge of #163552 - RalfJung:dir-entry-metadata, r=Mark-Simulacrum
bors Oct 24, 2026
68a0237
Rollup merge of #163219 - Dnreikronos:assumptions_on_binders/mixed_am…
JonathanBrouwer Oct 26, 2026
ced585f
Rollup merge of #164103 - Dnreikronos:trait_solver_resolve_region_var…
JonathanBrouwer Oct 26, 2026
dbb1b9c
Rollup merge of #164692 - folkertdev:move-ppcf128-implementation, r=t…
JonathanBrouwer Oct 26, 2026
78ddce9
Rollup merge of #164702 - estebank:point-at-blanket, r=mejrs
JonathanBrouwer Oct 26, 2026
e9517bd
Rollup merge of #164741 - jchecahi:asm-tests-explicit-cpu, r=beetrees
JonathanBrouwer Oct 26, 2026
14b06d1
Rollup merge of #164767 - philss:ps-add-test-ices-153357-154536, r=we…
JonathanBrouwer Oct 26, 2026
11c70b3
Rollup merge of #164776 - estebank:short-lifetime-in-return-expr-2, r…
JonathanBrouwer Oct 26, 2026
d408998
Rollup merge of #164791 - bit-aloo:2026-10-23-self-param-after-const-…
JonathanBrouwer Oct 26, 2026
fdd1e7c
Rollup merge of #164856 - Kobzol:expect-test, r=Mark-Simulacrum
JonathanBrouwer Oct 26, 2026
3a78038
Rollup merge of #164888 - yashaggarwal85d:fix-156380-reborrow-test, r…
JonathanBrouwer Oct 26, 2026
080f376
Rollup merge of #164967 - zakrad:codegen-test-137359, r=wesleywiser
JonathanBrouwer Oct 26, 2026
7baf70a
Auto merge of #165002 - JonathanBrouwer:rollup-XbLRp0m, r=JonathanBro…
bors Oct 26, 2026
e31e5c3
Prepare for merging from rust-lang/rust
invalid-email-address Oct 27, 2026
99ed618
Merge ref '16d1ffac17ad' from rust-lang/rust
invalid-email-address Oct 27, 2026
769dd61
Run `cargo fmt`
invalid-email-address Oct 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions crates/core_arch/src/aarch64/neon/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8793,7 +8793,7 @@ pub fn vfma_n_f64(a: float64x1_t, b: float64x1_t, c: f64) -> float64x1_t {
pub fn vfmad_lane_f64<const LANE: i32>(a: f64, b: f64, c: float64x1_t) -> f64 {
static_assert!(LANE == 0);
let c: f64 = vget_lane_f64::<LANE>(c);
fmaf64(b, c, a)
fma(b, c, a)
}
#[doc = "Floating-point fused multiply-add to accumulator"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vfmah_f16)"]
Expand All @@ -8803,7 +8803,7 @@ pub fn vfmad_lane_f64<const LANE: i32>(a: f64, b: f64, c: float64x1_t) -> f64 {
#[unstable(feature = "stdarch_neon_f16", issue = "136306")]
#[cfg(not(target_arch = "arm64ec"))]
pub fn vfmah_f16(a: f16, b: f16, c: f16) -> f16 {
fmaf16(b, c, a)
fma(b, c, a)
}
#[doc = "Floating-point fused multiply-add to accumulator"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vfmah_lane_f16)"]
Expand Down Expand Up @@ -8874,7 +8874,7 @@ pub fn vfmaq_n_f64(a: float64x2_t, b: float64x2_t, c: f64) -> float64x2_t {
pub fn vfmas_lane_f32<const LANE: i32>(a: f32, b: f32, c: float32x2_t) -> f32 {
static_assert_uimm_bits!(LANE, 1);
let c: f32 = vget_lane_f32::<LANE>(c);
fmaf32(b, c, a)
fma(b, c, a)
}
#[doc = "Floating-point fused multiply-add to accumulator"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vfmas_laneq_f32)"]
Expand All @@ -8886,7 +8886,7 @@ pub fn vfmas_lane_f32<const LANE: i32>(a: f32, b: f32, c: float32x2_t) -> f32 {
pub fn vfmas_laneq_f32<const LANE: i32>(a: f32, b: f32, c: float32x4_t) -> f32 {
static_assert_uimm_bits!(LANE, 2);
let c: f32 = vgetq_lane_f32::<LANE>(c);
fmaf32(b, c, a)
fma(b, c, a)
}
#[doc = "Floating-point fused multiply-add to accumulator"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vfmad_laneq_f64)"]
Expand All @@ -8898,7 +8898,7 @@ pub fn vfmas_laneq_f32<const LANE: i32>(a: f32, b: f32, c: float32x4_t) -> f32 {
pub fn vfmad_laneq_f64<const LANE: i32>(a: f64, b: f64, c: float64x2_t) -> f64 {
static_assert_uimm_bits!(LANE, 1);
let c: f64 = vgetq_lane_f64::<LANE>(c);
fmaf64(b, c, a)
fma(b, c, a)
}
#[doc = "Floating-point fused Multiply-Add Long to accumulator (vector)."]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vfmlal_high_f16)"]
Expand Down Expand Up @@ -22160,7 +22160,7 @@ pub fn vrndaq_f64(a: float64x2_t) -> float64x2_t {
#[cfg(not(target_arch = "arm64ec"))]
#[cfg_attr(test, assert_instr(frinta))]
pub fn vrndah_f16(a: f16) -> f16 {
roundf16(a)
round(a)
}
#[doc = "Floating-point round to integral, to nearest with ties to away"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vrndh_f16)"]
Expand All @@ -22170,7 +22170,7 @@ pub fn vrndah_f16(a: f16) -> f16 {
#[cfg(not(target_arch = "arm64ec"))]
#[cfg_attr(test, assert_instr(frintz))]
pub fn vrndh_f16(a: f16) -> f16 {
truncf16(a)
trunc(a)
}
#[doc = "Floating-point round to integral, using current rounding mode"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vrndi_f16)"]
Expand Down Expand Up @@ -22351,7 +22351,7 @@ pub fn vrndmq_f64(a: float64x2_t) -> float64x2_t {
#[cfg(not(target_arch = "arm64ec"))]
#[cfg_attr(test, assert_instr(frintm))]
pub fn vrndmh_f16(a: f16) -> f16 {
floorf16(a)
floor(a)
}
#[doc = "Floating-point round to integral, to nearest with ties to even"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vrndn_f64)"]
Expand Down Expand Up @@ -22482,7 +22482,7 @@ pub fn vrndpq_f64(a: float64x2_t) -> float64x2_t {
#[cfg(not(target_arch = "arm64ec"))]
#[cfg_attr(test, assert_instr(frintp))]
pub fn vrndph_f16(a: f16) -> f16 {
ceilf16(a)
ceil(a)
}
#[doc = "Floating-point round to integral exact, using current rounding mode"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vrndx_f16)"]
Expand Down Expand Up @@ -22548,7 +22548,7 @@ pub fn vrndxq_f64(a: float64x2_t) -> float64x2_t {
#[cfg(not(target_arch = "arm64ec"))]
#[cfg_attr(test, assert_instr(frintx))]
pub fn vrndxh_f16(a: f16) -> f16 {
round_ties_even_f16(a)
round_ties_even(a)
}
#[doc = "Signed rounding shift left"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vrshld_s64)"]
Expand Down Expand Up @@ -24346,7 +24346,7 @@ pub fn vsqrtq_f64(a: float64x2_t) -> float64x2_t {
#[cfg(not(target_arch = "arm64ec"))]
#[cfg_attr(test, assert_instr(fsqrt))]
pub fn vsqrth_f16(a: f16) -> f16 {
sqrtf16(a)
sqrt(a)
}
#[doc = "Shift Right and Insert (immediate)"]
#[doc = "[Arm's documentation](https://developer.arm.com/architectures/instruction-sets/intrinsics/vsri_n_s8)"]
Expand Down
42 changes: 30 additions & 12 deletions crates/core_arch/src/arm_shared/hints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __wfi() {
hint(HINT_WFI);
pub fn __wfi() {
// SAFETY: The right HINT_WFI constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_WFI);
}
}

/// Generates a WFE (wait for event) hint instruction, or nothing.
Expand All @@ -36,8 +39,11 @@ pub unsafe fn __wfi() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __wfe() {
hint(HINT_WFE);
pub fn __wfe() {
// SAFETY: The right HINT_WFE constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_WFE);
}
}

/// Generates a SEV (send a global event) hint instruction.
Expand All @@ -54,8 +60,11 @@ pub unsafe fn __wfe() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __sev() {
hint(HINT_SEV);
pub fn __sev() {
// SAFETY: The right HINT_SEV constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_SEV);
}
}

/// Generates a send a local event hint instruction.
Expand All @@ -72,8 +81,11 @@ pub unsafe fn __sev() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __sevl() {
hint(HINT_SEVL);
pub fn __sevl() {
// SAFETY: The right HINT_SEVL constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_SEVL);
}
}

/// Generates a YIELD hint instruction.
Expand All @@ -94,8 +106,11 @@ pub unsafe fn __sevl() {
))]
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __yield() {
hint(HINT_YIELD);
pub fn __yield() {
// SAFETY: The right HINT_YIELD constant is passed to the llvm intrinsic。
unsafe {
hint(HINT_YIELD);
}
}

/// Generates an unspecified no-op instruction.
Expand All @@ -106,8 +121,11 @@ pub unsafe fn __yield() {
/// will increase execution time.
#[inline(always)]
#[unstable(feature = "stdarch_arm_hints", issue = "117218")]
pub unsafe fn __nop() {
crate::arch::asm!("nop", options(nomem, nostack, preserves_flags));
pub fn __nop() {
// SAFETY: `nop` performs no operation.
unsafe {
crate::arch::asm!("nop", options(nomem, nostack, preserves_flags));
}
}

unsafe extern "llvm-intrinsic" {
Expand Down
9 changes: 7 additions & 2 deletions crates/core_arch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@
maybe_uninit_as_bytes,
movrs_target_feature,
clflushopt_target_feature,
min_adt_const_params
min_adt_const_params,
num_internals
)]
#![cfg_attr(
any(target_arch = "powerpc", target_arch = "powerpc64"),
feature(powerpc_ppcf128)
)]
#![cfg_attr(
test,
Expand Down Expand Up @@ -103,4 +108,4 @@ pub mod arch {
}

#[allow(unused_imports)]
use core::{array, cmp, convert, ffi, fmt, hint, intrinsics, marker, mem, ops, ptr, sync};
use core::{array, cmp, convert, ffi, fmt, hint, intrinsics, marker, mem, num, ops, ptr, sync};
41 changes: 41 additions & 0 deletions crates/core_arch/src/powerpc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,47 @@

pub(crate) mod macros;

/// The IBM extended-precision (double-double) floating-point type.
// FIXME(ppcf128) improve the docs.
#[doc(alias = "__ibm128")]
#[doc(alias = "doubledouble")]
#[doc(alias = "f64f64")]
#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[allow(non_camel_case_types)]
#[doc(cfg(any(target_arch = "powerpc", target_arch = "powerpc64")))]
#[derive(Clone, Copy)]
#[repr(transparent)]
pub struct ppcf128(crate::num::imp::ppcf128::ppcf128);

#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
impl crate::fmt::Debug for ppcf128 {
fn fmt(&self, f: &mut crate::fmt::Formatter<'_>) -> crate::fmt::Result {
let (hi, lo) = self.to_components();
write!(f, "ppcf128({hi:?}, {lo:?})")
}
}

impl ppcf128 {
/// Returns the memory representation of this floating point number as a byte array in
/// native byte order.
#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[inline]
pub const fn to_ne_bytes(self) -> [u8; 16] {
// SAFETY: every bit pattern of a `ppcf128` is a valid `[u8; 16]`.
unsafe { crate::mem::transmute::<ppcf128, [u8; 16]>(self) }
}

/// Returns the large and small component of this floating point number.
#[unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[rustc_const_unstable(feature = "powerpc_ppcf128", issue = "163323")]
#[inline]
pub const fn to_components(self) -> (f64, f64) {
// SAFETY: every bit pattern of a `ppcf128` is a valid `[f64; 2]`.
let [large, small] = unsafe { crate::mem::transmute::<ppcf128, [f64; 2]>(self) };
(large, small)
}
}

mod altivec;
#[unstable(feature = "stdarch_powerpc", issue = "111145")]
pub use self::altivec::*;
Expand Down
20 changes: 10 additions & 10 deletions crates/core_arch/src/wasm32/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn unreachable() -> ! {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f32_ceil(a: f32) -> f32 {
crate::intrinsics::ceilf32(a)
crate::intrinsics::ceil(a)
}

/// Generates the [`f32.floor`] instruction, returning the largest integer less than or equal to `a`.
Expand All @@ -57,7 +57,7 @@ pub fn f32_ceil(a: f32) -> f32 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f32_floor(a: f32) -> f32 {
crate::intrinsics::floorf32(a)
crate::intrinsics::floor(a)
}

/// Generates the [`f32.trunc`] instruction, roundinging to the nearest integer towards zero.
Expand All @@ -71,7 +71,7 @@ pub fn f32_floor(a: f32) -> f32 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f32_trunc(a: f32) -> f32 {
crate::intrinsics::truncf32(a)
crate::intrinsics::trunc(a)
}

/// Generates the [`f32.nearest`] instruction, roundinging to the nearest integer. Rounds half-way
Expand All @@ -86,7 +86,7 @@ pub fn f32_trunc(a: f32) -> f32 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f32_nearest(a: f32) -> f32 {
crate::intrinsics::round_ties_even_f32(a)
crate::intrinsics::round_ties_even(a)
}

/// Generates the [`f32.sqrt`] instruction, returning the square root of the number `a`.
Expand All @@ -100,7 +100,7 @@ pub fn f32_nearest(a: f32) -> f32 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f32_sqrt(a: f32) -> f32 {
crate::intrinsics::sqrtf32(a)
crate::intrinsics::sqrt(a)
}

/// Generates the [`f64.ceil`] instruction, returning the smallest integer greater than or equal to `a`.
Expand All @@ -114,7 +114,7 @@ pub fn f32_sqrt(a: f32) -> f32 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f64_ceil(a: f64) -> f64 {
crate::intrinsics::ceilf64(a)
crate::intrinsics::ceil(a)
}

/// Generates the [`f64.floor`] instruction, returning the largest integer less than or equal to `a`.
Expand All @@ -128,7 +128,7 @@ pub fn f64_ceil(a: f64) -> f64 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f64_floor(a: f64) -> f64 {
crate::intrinsics::floorf64(a)
crate::intrinsics::floor(a)
}

/// Generates the [`f64.trunc`] instruction, roundinging to the nearest integer towards zero.
Expand All @@ -142,7 +142,7 @@ pub fn f64_floor(a: f64) -> f64 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f64_trunc(a: f64) -> f64 {
crate::intrinsics::truncf64(a)
crate::intrinsics::trunc(a)
}

/// Generates the [`f64.nearest`] instruction, roundinging to the nearest integer. Rounds half-way
Expand All @@ -157,7 +157,7 @@ pub fn f64_trunc(a: f64) -> f64 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f64_nearest(a: f64) -> f64 {
crate::intrinsics::round_ties_even_f64(a)
crate::intrinsics::round_ties_even(a)
}

/// Generates the [`f64.sqrt`] instruction, returning the square root of the number `a`.
Expand All @@ -171,5 +171,5 @@ pub fn f64_nearest(a: f64) -> f64 {
#[must_use = "method returns a new number and does not mutate the original value"]
#[unstable(feature = "wasm_numeric_instr", issue = "133908")]
pub fn f64_sqrt(a: f64) -> f64 {
crate::intrinsics::sqrtf64(a)
crate::intrinsics::sqrt(a)
}
Loading
Loading