Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
78d8ce7
add SliceIndex wrapper types Last and Clamp<Idx>
Qelxiros Sep 6, 2025
39b2e43
intrinsic-test: test intrinsics with patched core_arch
usamoi Sep 20, 2025
3b09522
Revert "Remove big-endian swizzles from `vreinterpret`"
usamoi Sep 23, 2025
00c8866
pick changes from https://github.com/rust-lang/rust/pull/146683
usamoi Sep 23, 2025
8e62acf
Merge pull request #1923 from usamoi/intrinsic-test-fix
sayantn Sep 23, 2025
1e57378
Update memchr to 2.7.6
neuschaefer Sep 26, 2025
5709210
Merge pull request #1926 from neuschaefer/a64be
Amanieu Sep 26, 2025
b55b085
Remove uses of deprecated `llvm.x86.addcarryx.u{32,64}` intrinsics
sayantn Oct 1, 2025
1819ae0
Use SIMD intrinsics for `madd`, `hadd` and `hsub` intrinsics
sayantn Oct 1, 2025
3f91ced
Use SIMD intrinsics for shift and rotate intrinsics
sayantn Oct 1, 2025
6460b35
Use SIMD intrinsics for f16 intrinsics
sayantn Oct 1, 2025
d23dbbe
Use SIMD intrinsics for `cvtsi{,64}_{ss,sd}` intrinsics
sayantn Oct 1, 2025
4c94e6b
Use SIMD intrinsics for `vperm2` intrinsics
sayantn Oct 1, 2025
851c32a
Use SIMD intrinsics for `test{z,c}` intrinsics
sayantn Oct 1, 2025
3f42b11
Merge pull request #1928 from sayantn/use-intrinsics
Amanieu Oct 2, 2025
8b25dde
fix: update the implementation of _kshiftri_mask32, _kshiftri_mask64,
madhav-madhusoodanan Oct 2, 2025
0138b95
fix: update the implementation of _kshiftri_mask8 and _kshiftli_mask8 to
madhav-madhusoodanan Oct 2, 2025
6b99d5f
fix: update the implementation of _kshiftri_mask16 and _kshiftli_mask16
madhav-madhusoodanan Oct 2, 2025
018f992
Revert uses of SIMD intrinsics for shifts
sayantn Oct 2, 2025
37605b0
Ensure `simd_funnel_sh{l,r}` always gets passed shift amounts in range
sayantn Oct 2, 2025
ff34685
Merge pull request #1930 from madhav-madhusoodanan/x86_fix_kshift_ins…
sayantn Oct 2, 2025
f90d9ec
Use SIMD intrinsics for `vfmaddsubph` and `vfmsubaddph`
sayantn Oct 3, 2025
14b8885
Merge pull request #1931 from sayantn/use-intrinsics
Amanieu Oct 3, 2025
7e850c5
Merge pull request #1932 from sayantn/fmaddsub
sayantn Oct 4, 2025
28cf2d1
Fix xsave segfaults
sayantn Oct 4, 2025
b29308c
Use Inline ASM for SSE4a nontemporal stores
sayantn Oct 1, 2025
5bf5365
Add `_mm_sfence` to all non-temporal intrinsic tests
sayantn Oct 1, 2025
c0e4151
Add comments in NT asm blocks for future reference
sayantn Oct 5, 2025
5a0d9ec
Merge pull request #1934 from sayantn/fix-xsave
folkertdev Oct 5, 2025
09c43ef
Merge pull request #1929 from sayantn/non-temporal
Amanieu Oct 5, 2025
af91b45
RISC-V: Use symbolic instructions on inline assembly (part 1)
a4lg Sep 30, 2025
a498071
Merge pull request #1927 from a4lg/riscv-insn-to-symbolic-asm
folkertdev Oct 6, 2025
40ce617
use simd intrinsics for `vec_max` and `vec_min`
sayantn Jun 3, 2025
27866a7
Merge pull request #1937 from sayantn/intrinsic-fixes
folkertdev Oct 8, 2025
4fcf3f8
crc32: remove `#[cfg(not(target_arch = "arm"))]` from crc functions
folkertdev Oct 9, 2025
01dc34d
Merge pull request #1939 from folkertdev/crc-remove-not-arm
sayantn Oct 9, 2025
6039dde
Implement fjcvtzs under the name __jcvt like the C intrinsic
linkmauve Oct 9, 2025
8dff65f
Merge pull request #1938 from linkmauve/fjcvtzs
folkertdev Oct 10, 2025
b59d933
Disable AMD-specific intrinsic tests in the SDE run
sayantn Oct 10, 2025
c1d03ac
Merge pull request #1940 from sayantn/disable-amd
Amanieu Oct 11, 2025
7bb447c
feat: separate `intrinsic-test` from the other CI pipelines
madhav-madhusoodanan Oct 18, 2025
8975061
chore: removing unused definitions or commented functionality in
madhav-madhusoodanan Oct 22, 2025
5f4a4c2
feat: melding targets and include for `intrinsic-test` CI step
madhav-madhusoodanan Oct 23, 2025
2516884
simplify intrinsic test matrix
folkertdev Oct 23, 2025
9ebee48
use `byte_add` in gfni tests
folkertdev Oct 24, 2025
d64b23c
Merge pull request #1945 from folkertdev/gfni-cleanup
Amanieu Oct 25, 2025
bcd6665
Merge pull request #1941 from madhav-madhusoodanan/intrinsic-test-ci-…
folkertdev Oct 25, 2025
cf1cf2e
remove a use of `core::intrinsics::size_of`
folkertdev Oct 25, 2025
78fc6a7
Merge pull request #1947 from folkertdev/remove-size_of-intrinsic-use
folkertdev Oct 25, 2025
f44a98a
feat: added the skeleton structure of the x86 module
madhav-madhusoodanan Aug 2, 2025
1f9a2e7
feat: added the XML intrinsic parser for x86
madhav-madhusoodanan Aug 2, 2025
9eb0ff4
feat: updated intrinsics creation
madhav-madhusoodanan Aug 3, 2025
9e8b542
feat: update building C code for x86 architecture.
madhav-madhusoodanan Aug 3, 2025
e6d4838
fix: code cleanup
madhav-madhusoodanan Aug 3, 2025
8deed38
chore: added Regex crate, updated the structure of X86IntrinsicType
madhav-madhusoodanan Aug 5, 2025
962dcfd
feat: implemented build_rust_file of `x86` module
madhav-madhusoodanan Aug 5, 2025
d54464a
feat: implemented compare_outputs of `x86` module
madhav-madhusoodanan Aug 5, 2025
6264634
feat: implement `print_result_c` for `Intrinsic<X86IntrinsicType>`
madhav-madhusoodanan Aug 5, 2025
223bb3c
feat: Added x86 to CI pipeline
madhav-madhusoodanan Aug 5, 2025
08dda15
fix: update arch flags being sent to the x86 compilation command
madhav-madhusoodanan Aug 5, 2025
abdedde
fix: set default value for varname and type fields of the
madhav-madhusoodanan Aug 5, 2025
bfe1e01
fix: correcting semantical logic for setting vec_len
madhav-madhusoodanan Aug 5, 2025
cdb9d86
fix: more support for Mask types
madhav-madhusoodanan Sep 5, 2025
662c5b1
fix: remove unused imports
madhav-madhusoodanan Sep 6, 2025
8849eeb
feat: implemented print_result_c in the case the target type is
madhav-madhusoodanan Sep 7, 2025
b736008
feat: implemented get_lane_function for x86
madhav-madhusoodanan Sep 7, 2025
1d9aed0
chore: update c_prefix for mask and print_result_c for vector type
madhav-madhusoodanan Sep 7, 2025
d4bc29a
feat: handled extraction for 64-bit vector elements
madhav-madhusoodanan Sep 8, 2025
bcbb6d4
feat: add 8x8 case for get_lane_function for 64-bit vector
madhav-madhusoodanan Sep 8, 2025
829933a
debug: printing self incase print_result_c fails.
madhav-madhusoodanan Sep 9, 2025
f621ff8
chore: update x86 module, removed intrinsicDefinition trait, formatting
madhav-madhusoodanan Sep 10, 2025
0c40b94
fixed errors that caused errors with cpp file generation (un-handled
madhav-madhusoodanan Sep 13, 2025
6e2c8af
feat: correcting errors with generated C artifacts
madhav-madhusoodanan Sep 14, 2025
67ba9ec
fix: vec_len -> simd_len (an error was present due to setting vec_len…
madhav-madhusoodanan Sep 14, 2025
bb2a9fc
chore: revert default target
madhav-madhusoodanan Sep 16, 2025
b8ffa6b
chore: adding comments about memory alignment of variables and bash s…
madhav-madhusoodanan Sep 17, 2025
bae0e30
chore: add compilation flags
madhav-madhusoodanan Sep 17, 2025
b22467a
chore: add better error handling when writing and compiling mod_{i}.cpp,
madhav-madhusoodanan Sep 18, 2025
e7c94dc
feat: Fixed FP16 errors, made the loading function generation more
madhav-madhusoodanan Sep 20, 2025
6ab76d8
chore: Ensuring "const" appears for constant arguments to intrinsics.
madhav-madhusoodanan Sep 24, 2025
6c91fe5
chore: allowing cast() function to allow implicity type conversion for
madhav-madhusoodanan Sep 24, 2025
ab6c74c
feat: matching the expected number of elements for array to load
madhav-madhusoodanan Sep 24, 2025
c59e670
feat: updated with debug printing and ostream implementation for vector
madhav-madhusoodanan Sep 24, 2025
4cbca6c
chore: corrected the legal range of values for constrained arguments
madhav-madhusoodanan Sep 24, 2025
9c2dd24
feat: filter for duplicates in the definition of intrinsics
madhav-madhusoodanan Sep 24, 2025
fbe9a25
chore: vector types cannot be the type of an individual element in an
madhav-madhusoodanan Sep 24, 2025
115dc3c
chore: accomodate for `immwidth` field for constraints
madhav-madhusoodanan Sep 24, 2025
e00cfd2
feat: defined more load functions that are natively not defined (such as
madhav-madhusoodanan Sep 24, 2025
1a2aacb
chore: corrected the imm-width correction location for _mm_mpsadbw_epu8
madhav-madhusoodanan Sep 24, 2025
adbf49d
feat: added exclusion list to intrinsic-test CI pipeline
madhav-madhusoodanan Sep 24, 2025
c2c3de0
chore: clean up unused variables
madhav-madhusoodanan Sep 24, 2025
c16d051
feat: moved cast<T1, T2> to architecture-specific definitions
madhav-madhusoodanan Sep 27, 2025
62182b5
fix: remove extra brackets for cast definition in arm/config.rs
madhav-madhusoodanan Sep 27, 2025
afcc241
make `std::ostream& operator<<(std::ostream& os, float16_t value);`
madhav-madhusoodanan Sep 27, 2025
8913001
feat: add missing_x86.txt to filter out intrinsics that cannot be tested
madhav-madhusoodanan Sep 27, 2025
057e645
feat: added custom helper functions (that helped load intrinsic
madhav-madhusoodanan Sep 27, 2025
3389435
chore: add more compiler flags for compiling x86 intrinsics in C++
madhav-madhusoodanan Sep 28, 2025
11263b7
chore: add verbose cli option to C++ compiler
madhav-madhusoodanan Sep 28, 2025
c6619b2
feat: add clang to dockerfile and change clang++-19 to clang++
madhav-madhusoodanan Sep 28, 2025
fd3ddb8
fix: add `libstdc++-dev` to fix `iostream not found` error
madhav-madhusoodanan Sep 28, 2025
98f4db2
fix: making compilation step run one by one to prevent the process from
madhav-madhusoodanan Sep 29, 2025
08bb69e
feat: attempting compilation of smaller chunks for faster parallel
madhav-madhusoodanan Sep 29, 2025
12510bf
feat: add c_programs to PATH and increase chunk size to 400
madhav-madhusoodanan Sep 30, 2025
0606f24
feat: display __mmask8 values so that non-utf8 values are not displayed
madhav-madhusoodanan Oct 2, 2025
a2f64b3
feat: add formatting for __m128i, __m256i, __m512i types that is similar
madhav-madhusoodanan Oct 3, 2025
5bd9531
feat: make the debug_i16 into a generic debug_as function that adapts to
madhav-madhusoodanan Oct 5, 2025
928baef
feat: casting the results of the lane function by preserving the bits
madhav-madhusoodanan Oct 8, 2025
c9ae1f4
fix: update the display of uint8_t type in C++
madhav-madhusoodanan Oct 8, 2025
b567c62
Explicitly cast bits instead of allowing C++ to automatically cast the
madhav-madhusoodanan Oct 8, 2025
e6f4153
feat: update cast<> function to reduce spurious cast functions (cases
madhav-madhusoodanan Oct 9, 2025
1eed14a
Feat: Compile C++ testfiles using C++23 standard
madhav-madhusoodanan Oct 9, 2025
a5926b3
Feat: allow downcasting (useful for certain cases where uint32_t needs
madhav-madhusoodanan Oct 9, 2025
06ab6d7
feat: explicitly casting the result of the lane function to unsigned
madhav-madhusoodanan Oct 10, 2025
09be05e
feat: updated exclusion list with more intrinsics, that can be fixed
madhav-madhusoodanan Oct 11, 2025
fcaf610
chore: remove x86-intel.xml from `stdarch-verify` crate
madhav-madhusoodanan Oct 15, 2025
a44a2c7
chore: move from random testing to testing only the first N intrinsics
madhav-madhusoodanan Oct 15, 2025
ad53cca
chore: convert println! logging to trace! logging during compilation
madhav-madhusoodanan Oct 15, 2025
3d17cea
feat: code cleanup 1. changing array bracket prefixes from &'static str
madhav-madhusoodanan Oct 15, 2025
e4fcae1
chore: make names in config.rs files uniform across architectures
madhav-madhusoodanan Oct 16, 2025
c85e978
fix: remove the PATH update in ci/run.sh
madhav-madhusoodanan Oct 17, 2025
5b02cc0
feat: fixing Rust's print mechanism for _mm512_conj_pch
madhav-madhusoodanan Oct 23, 2025
28688b9
feat: added x86_64-unknown-linux-gnu to the test matrix of
madhav-madhusoodanan Oct 26, 2025
67669ca
Merge pull request #1894 from madhav-madhusoodanan/intrinsic-test-x86…
folkertdev Oct 26, 2025
22ca86d
intrinsic test: deduplicate rust constants
folkertdev Oct 25, 2025
f4d4218
intrinsic test: fix formatting (a bit, at least)
folkertdev Oct 25, 2025
788d182
Make ADC/ADX intrinsics safe
sayantn Aug 28, 2025
cfb3682
Make `_mm512_reduce_mul_ph` safe (missed)
sayantn Aug 28, 2025
5dcd304
Make `_bswap{,64}` safe
sayantn Aug 29, 2025
f2eb88b
Make RDRAND/RDSEED safe
sayantn Aug 29, 2025
8bff8b6
Make all TBM intrinsics safe
sayantn Aug 29, 2025
22f169f
Make `_mm_prefetch` safe
sayantn Aug 30, 2025
4c6e879
Make the fence intrinsics and `_mm_pause` safe
sayantn Aug 30, 2025
7638e87
Merge pull request #1908 from sayantn/make-safe
Amanieu Oct 27, 2025
a4638e3
Enable assert_instr for wasm32 throw
coolreader18 Oct 24, 2025
8ca1329
Merge pull request #1944 from coolreader18/enable-wasm-throw-test
folkertdev Oct 27, 2025
92f7cb4
Merge pull request #1946 from folkertdev/intrinsic-test-dedup-constants
sayantn Oct 30, 2025
625b6f5
TypeId: make unstable layout/size explicit
jieyouxu Nov 2, 2025
94a8d86
Prepare for merging from rust-lang/rust
Kobzol Nov 2, 2025
3c9656c
Merge ref '73e6c9ebd912' from rust-lang/rust
Kobzol Nov 2, 2025
b826104
Merge pull request #1950 from Kobzol/pull-nov-2025
folkertdev Nov 2, 2025
fd76e6d
remove `unsafe` from `_mm_pause` uses
folkertdev Nov 2, 2025
571954c
fix `_mm256_permute2f128` miri tests
folkertdev Nov 2, 2025
be22a3f
remove miri `_mm256_permute2f128` fallback implementation
folkertdev Nov 2, 2025
01ab3e3
Rollup merge of #146260 - Qelxiros:146179-sliceindex-wrappers, r=jhpratt
matthiaskrgr Nov 3, 2025
4104f80
Rollup merge of #148394 - jieyouxu:remark-typeid-no-layout-guarantees…
matthiaskrgr Nov 3, 2025
5f4a90e
Rollup merge of #148402 - folkertdev:stdarch-sync-nov-2025, r=sayantn
matthiaskrgr Nov 3, 2025
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
9 changes: 9 additions & 0 deletions library/core/src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,15 @@ impl dyn Any + Send + Sync {
/// noting that the hashes and ordering will vary between Rust releases. Beware
/// of relying on them inside of your code!
///
/// # Layout
///
/// Like other [`Rust`-representation][repr-rust] types, `TypeId`'s size and layout are unstable.
/// In particular, this means that you cannot rely on the size and layout of `TypeId` remaining the
/// same between Rust releases; they are subject to change without prior notice between Rust
/// releases.
///
/// [repr-rust]: https://doc.rust-lang.org/reference/type-layout.html#r-layout.repr.rust.unspecified
///
/// # Danger of Improper Variance
///
/// You might think that subtyping is impossible between two static types,
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ pub fn spin_loop() {
crate::cfg_select! {
target_arch = "x86" => {
// SAFETY: the `cfg` attr ensures that we only execute this on x86 targets.
unsafe { crate::arch::x86::_mm_pause() }
crate::arch::x86::_mm_pause()
}
target_arch = "x86_64" => {
// SAFETY: the `cfg` attr ensures that we only execute this on x86_64 targets.
unsafe { crate::arch::x86_64::_mm_pause() }
crate::arch::x86_64::_mm_pause()
}
target_arch = "riscv32" => crate::arch::riscv32::pause(),
target_arch = "riscv64" => crate::arch::riscv64::pause(),
Expand Down
Loading
Loading