about summary refs log tree commit diff
path: root/library/core/src/intrinsics.rs
AgeCommit message (Expand)AuthorLines
2024-11-07core: move intrinsics.rs into intrinsics folderRalf Jung-3944/+0
2024-11-05Rollup merge of #132571 - RalfJung:const_eval_select_macro, r=oli-obkMatthias Krüger-10/+73
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-10/+73
2024-11-04most const intrinsics don't need an explicit rustc_const_unstable any moreRalf Jung-41/+33
2024-11-04add new rustc_const_stable_intrinsic attribute for const-stable intrinsicsRalf Jung-57/+57
2024-11-04convert all const-callable intrinsics into the new form (without extern block)Ralf Jung-968/+1110
2024-10-25Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-errorsbors-52/+135
2024-10-25get rid of the internal unlikely macroRalf Jung-2/+8
2024-10-25Re-do recursive const stability checksRalf Jung-52/+129
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-2/+2
2024-10-21move strict provenance lints to new feature gate, remove old feature gatesRalf Jung-1/+0
2024-10-19zero-sized accesses are fine on null pointersRalf Jung-3/+3
2024-10-15update bootstrap configsJosh Stone-4/+0
2024-10-15replace placeholder versionJosh Stone-10/+10
2024-10-15Rollup merge of #130568 - eduardosm:const-float-methods, r=RalfJung,tgross35Michael Goulet-148/+239
2024-10-15Make some float methods unstable `const fn`Eduardo Sánchez Muñoz-148/+239
2024-10-14Rollup merge of #131384 - saethlin:precondition-tests, r=ibraheemdevMatthias Krüger-7/+12
2024-10-12Rollup merge of #130954 - workingjubilee:stabilize-const-mut-fn, r=RalfJungTrevor Gross-4/+4
2024-10-12library: Stabilize `const_ptr_write`Jubilee Young-3/+3
2024-10-12library: Stabilize `const_intrinsic_forget`Jubilee Young-1/+1
2024-10-11intrinsics.fmuladdf{16,32,64,128}: expose llvm.fmuladd.* semanticsJed Brown-0/+53
2024-10-09Allow zero-size reads/writes on null pointersBen Kimock-7/+12
2024-10-01Rollup merge of #130229 - RalfJung:ptr-offset-unsigned, r=scottmcmMatthias Krüger-2/+1
2024-09-30Rollup merge of #130966 - RalfJung:ptr-metadata-const-stable, r=scottmcmTrevor Gross-2/+2
2024-09-29Auto merge of #128321 - BatmanAoD:catch-unwind-doc-update, r=Mark-Simulacrumbors-5/+10
2024-09-28make ptr metadata functions callable from stable const fnRalf Jung-2/+2
2024-09-23stabilize const_intrinsic_copyRalf Jung-4/+4
2024-09-21Fix docs of compare_bytesEqualMa-1/+1
2024-09-15update docs for `catch_unwind` & related funcsKyle J Strand-5/+10
2024-09-11ptr::add/sub: these are *not* equivalent to offset(count as isize)Ralf Jung-2/+1
2024-09-05update cfgsBoxy-7/+0
2024-08-25ub_checks intrinsics: fall back to cfg(ub_checks)Ralf Jung-2/+2
2024-08-12Rollup merge of #128149 - RalfJung:nontemporal_store, r=jieyouxu,Amanieu,JubileeGuillaume Gomez-5/+5
2024-08-06Rollup merge of #128417 - tgross35:f16-f128-math, r=dtolnayTrevor Gross-0/+289
2024-08-05nontemporal_store: make sure that the intrinsic is truly just a hintRalf Jung-5/+5
2024-08-01Add math intrinsics for `f16` and `f128`Trevor Gross-0/+289
2024-07-31raw_eq: using it on bytes with provenance is not UB (outside const-eval)Ralf Jung-2/+4
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-53/+0
2024-07-30Auto merge of #128250 - Amanieu:select_unpredictable, r=nikicbors-0/+28
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
2024-07-28step cfg(bootstrap)Mark Rousskov-53/+0
2024-07-28Force LLVM to use CMOV for binary searchAmanieu d'Antras-0/+28
2024-07-26Fix doc nitsJohn Arundel-5/+5
2024-07-04Document safety of a few intrinsicsCelina G. Val-2/+16
2024-07-04Move a few intrinsics to use Rust abiCelina G. Val-57/+146
2024-07-03Rollup merge of #123588 - tgross35:stabilize-assert_unchecked, r=dtolnayJacob Pratt-1/+1
2024-06-25Add missing slash in const_eval_select doc commentcyrgani-1/+1
2024-06-19Stabilize `hint_assert_unchecked`Trevor Gross-1/+1
2024-06-13fix wrong assert_unsafe_precondition message for core::ptr::copyFlorian Sextl-2/+1
2024-06-11remove cfg(bootstrap)Pietro Albini-6/+5