Commit Graph

2990 Commits

Author SHA1 Message Date
Josh Stone 78157ddde9 Replace version placeholders with 1.95.0
(cherry picked from commit bad24ccbec)
2026-03-07 10:42:01 -08:00
Sayantan Chakraborty e00790eb2c Merge pull request #2042 from folkertdev/aarch64-non-power-of-two-reads-writes
aarch64: fix UB in non-power-of-two reads and writes
2026-02-27 21:30:39 +00:00
Sayantan Chakraborty d06233df70 Merge pull request #2040 from ArunTamil21/add-test-mm-comige-ss
Add missing runtime test for _mm_comige_ss and fix _mm_comigt_ss test
2026-02-26 13:18:12 +00:00
Folkert de Vries 2fa37e7b34 aarch64: fix UB in non-power-of-two reads and writes 2026-02-26 13:00:21 +01:00
ArunTamil21 f981ffe959 Remove _mm_comige_ss from skip list in x86-intel.rs 2026-02-26 09:19:29 +00:00
ArunTamil21 cb3046e5f2 Add missing runtime test for _mm_comige_ss and fix _mm_comigt_ss test 2026-02-25 23:56:42 +00:00
Folkert de Vries f01bcce3e2 update to resolver = 3 2026-02-25 15:00:04 +01:00
sayantn 820ca48038 Update Intel SDE version to 10.5 2026-02-25 04:49:15 +05:30
Sayantan Chakraborty f4cc7ee8de Merge pull request #2035 from okaneco/const_packs
x86: Followup to add const for pack intrinsics and tests
2026-02-24 03:25:49 +00:00
Folkert de Vries 47ef7f73de aarch64: cleanup of some long array literals 2026-02-23 11:58:18 +01:00
Amanieu d'Antras ff558be420 Merge pull request #2032 from folkertdev/interleaving-store
use `intrinsics::simd` for interleaving store
2026-02-21 15:33:06 +00:00
okaneco 37bd99e2e0 Add const to avx512bw intrinsics 2026-02-20 07:33:34 -05:00
okaneco 4f881c4b89 Add const to avx2 intrinsics 2026-02-20 07:33:34 -05:00
okaneco 17a4c8ea8f Add const to sse41 intrinsics 2026-02-20 07:02:29 -05:00
okaneco 22d10c516d x86: Followup to add const for pack intrinsics
Add const to `sse2`, `sse41`, `avx2`, and `avx512bw` functions and tests
2026-02-20 06:53:07 -05:00
okaneco c7ecbd5e4b Use intrinsics for avx512bw 2026-02-19 08:45:27 -05:00
okaneco 639b07ec75 Use intrinsics for avx2 2026-02-19 08:45:27 -05:00
okaneco 6fa33bea62 Use intrinsics for sse41 2026-02-19 08:45:27 -05:00
okaneco a5ba7941f9 x86: use simd::intrinsics for saturating packs
Use intrinsics for `sse2`, `sse41`, `avx2`, `avx512bw`

The majority of implementations make use of `simd_shuffle` since that
optimized through to the avx512 intrinsics that made use of the lower
target feature intrinsics. Combined with masked stores, instruction
tests would fail presumably due to the casting and clamping that
the compiler couldn't see through. This is a known weakness as seen
in the other masked stores like the truncating conversion stores.
2026-02-19 08:42:51 -05:00
Folkert de Vries 2b656f99a5 use intrinsics::simd for aarch64 interleaving st 2026-02-18 22:27:23 +01:00
Folkert de Vries afb890e048 use intrinsics::simd for interleaving store of f16 2026-02-18 22:03:33 +01:00
Folkert de Vries e219383c8f use intrinsics::simd for interleaving store of int64x1 2026-02-18 22:02:02 +01:00
Folkert de Vries c0c9d025d5 use intrinsics::simd for interleaving store 2026-02-18 22:02:02 +01:00
Folkert de Vries f0fd6f78d4 cleanup long shuffle mask literals 2026-02-18 21:31:48 +01:00
Folkert de Vries 244fc326f2 Merge pull request #2026 from folkertdev/neon-vpadd
use `intrinsics::simd` for vpadd
2026-02-18 16:18:15 +00:00
Folkert de Vries 6671f95770 use intrinsics::simd for vpadd 2026-02-18 16:54:47 +01:00
Sayantan Chakraborty 9ce60760aa Merge pull request #2028 from folkertdev/f64-vld
use `read_unaligned` for f64 `vld` and `vldq`
2026-02-18 15:50:38 +00:00
Folkert de Vries 57a1974398 neon ld1 2026-02-18 10:03:31 +01:00
Folkert de Vries caff332902 neon ld4 2026-02-18 10:03:31 +01:00
Folkert de Vries 15e68a188c neon ld3 2026-02-18 10:03:31 +01:00
Folkert de Vries 0168f07955 use intrinsics::simd for aarch64 deinterleaving loads 2026-02-18 10:03:31 +01:00
Folkert de Vries dba288e0bd lock stdout when printing a intrinsic test failure 2026-02-18 10:03:31 +01:00
Folkert de Vries 7a43a6e73d Merge pull request #2029 from folkertdev/interleaving-load-store-roundtrip
test interleaving load/store roundtrip
2026-02-18 08:46:24 +00:00
Sayantan Chakraborty 33a9d03873 Merge pull request #2023 from folkertdev/neon-vmull
use `intrinsics::simd` for `vmull_*`
2026-02-17 22:06:34 +00:00
Folkert de Vries 061b5225f4 fix interleaving read/write not roundtripping on aarch64_be 2026-02-17 19:46:49 +01:00
Folkert de Vries 72adcde31d test interleaving load/store roundtrip 2026-02-17 17:22:33 +01:00
Folkert de Vries f3ff080c68 use read_unaligned for f64 vld and vldq 2026-02-17 11:34:02 +01:00
Folkert de Vries 7ce33416af use intrinsics::simd for vmull_* 2026-02-17 00:58:11 +01:00
The rustc-josh-sync Cronjob Bot 6bbe5cc783 Merge ref '139651428df8' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: rust-lang/rust@139651428d
Filtered ref: rust-lang/stdarch@b1e0e474e1
Upstream diff: https://github.com/rust-lang/rust/compare/db3e99bbab28c6ca778b13222becdea54533d908...139651428df86cf88443295542c12ea617cbb587

This merge was created using https://github.com/rust-lang/josh-sync.
2026-02-16 04:50:28 +00:00
The rustc-josh-sync Cronjob Bot 73cb0682f5 Prepare for merging from rust-lang/rust
This updates the rust-version file to 139651428d.
2026-02-16 04:48:11 +00:00
Folkert de Vries 022d24b34c Merge pull request #1999 from androm3da/main
arch: Add Hexagon HVX instructions
2026-02-15 19:01:37 +00:00
Brian Cain 76c041c19a stdarch-gen-hexagon: Fix formatting 2026-02-15 12:18:19 -06:00
Brian Cain f5161526e6 core_arch: Add tracking issue to hexagon module declaration
Update the unstable attribute for the hexagon module to use the
proper tracking issue number (151523) instead of "none".
2026-02-15 12:13:00 -06:00
Brian Cain 0e08703130 stdarch-gen-hexagon: Use checked-in header file instead of downloading
Check in the LLVM HVX header file (hvx_hexagon_protos.h) from LLVM
22.1.0-rc1 and modify the generator to read from this local copy
instead of downloading it at runtime. This removes the ureq dependency
and makes the build more reproducible.
2026-02-15 11:58:03 -06:00
Brian Cain d6b2cb08a8 examples: Make gaussian build on all targets
Restructure gaussian.rs to follow the pattern used by hex.rs and
connect5.rs.

Remove the 'hexagon' feature gate.
2026-02-15 07:10:55 -06:00
Brian Cain be9dc99118 examples: Use HvxVectorPair for precise Gaussian blur arithmetic
Update the Gaussian 3x3 blur example to use HvxVectorPair widening
operations. This demonstrates that HvxVectorPair intrinsics now work
 correctly with the updated nightly.

- Add #![cfg(target_arch = "hexagon")] crate-level gate
2026-02-15 07:01:00 -06:00
Amanieu d'Antras fcc7e72a46 Merge pull request #2024 from folkertdev/arm-shift-right-and-insert
use `intrinsics::simd` for 'shift right and insert'
2026-02-15 07:18:32 +00:00
Jacob Pratt ef776c603c Rollup merge of #152188 - cuviper:placeholder-stdarch, r=Mark-Simulacrum
Include `library/stdarch` for `CURRENT_RUSTC_VERSION` updates

Our tool `replace-version-placeholder` uses the `tidy` file walker and its
directory filter, but that skips `library/stdarch` which we do need for public
stability markers. This PR adds a local filter function that explicitly allows
that path.

The commit for 1.94 `stdarch` updates is coming from beta rust-lang/rust#152187.
2026-02-14 23:17:40 -05:00
Folkert de Vries 6a12103dda use intrinsics::simd for 'shift right and insert' 2026-02-14 20:28:29 +01:00
Amanieu d'Antras b96ea54109 Merge pull request #2017 from heiher/loong64-sync
loongarch: Sync SIMD intrinsics with C
2026-02-14 15:15:02 +00:00