Commit Graph

2785 Commits

Author SHA1 Message Date
Sayantan Chakraborty 2922cbdd47 Merge pull request #1961 from folkertdev/pmadd-correct-signedness
correct signedness of pmadd arguments
2025-11-17 15:52:10 +00:00
Marco Ieni 2788686995 Merge pull request #1957 from marcoieni/rename-default-branch-to-main
rename default branch to main
2025-11-17 15:02:03 +00:00
Folkert de Vries ac2d97254e correct signedness of pmadd arguments 2025-11-17 16:01:02 +01:00
Folkert de Vries 57436fe950 Merge pull request #1960 from maurer/remove-tme
aarch64: Remove withdrawn FEAT_TME
2025-11-17 14:29:49 +00:00
sayantn 8fe87e9623 correct some #[simd_test] attributes 2025-11-17 01:24:03 +05:30
Matthew Maurer 0882a6e02a aarch64: Remove withdrawn FEAT_TME
ARM has withdrawn FEAT_TME
https://developer.arm.com/documentation/102105/lb-05/

LLVM has also dropped support for enabling the feature.
2025-11-14 19:25:34 +00:00
Folkert de Vries d84c69548d Merge pull request #1955 from sayantn/vector-shifts
Use SIMD intrinsics for vector shifts
2025-11-13 11:10:25 +00:00
Folkert de Vries 84c44c449d Merge pull request #1959 from folkertdev/ternary-logic-tests-2
improve ternary logic tests
2025-11-13 09:41:34 +00:00
sayantn 0ab7c9e3da Use SIMD intrinsics for vector shifts 2025-11-13 10:49:31 +05:30
Folkert de Vries 849ace0685 Merge pull request #1953 from sayantn/masked-load-store
Use generic SIMD masked load/stores for avx512 masked load/stores
2025-11-12 12:54:10 +00:00
Folkert de Vries e94ac6b638 improve ternary logic tests 2025-11-11 17:04:11 +01:00
Folkert de Vries 148a7509a1 add logic tests for ternarylogic
previously the output would just always be all zeroes
2025-11-11 11:30:14 +01:00
MarcoIeni 1b3abfea94 rename default branch to main 2025-11-11 10:04:15 +01:00
The rustc-josh-sync Cronjob Bot 485ea04b6d Merge ref '8401398e1f14' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: 8401398e1f
Filtered ref: f9e99a8e85fa360f0e820dc75d46cb4583b4300d
Upstream diff: https://github.com/rust-lang/rust/compare/73e6c9ebd9123154a196300ef58e30ec8928e74e...8401398e1f14a24670ee1a3203713dc2f0f8b3a8

This merge was created using https://github.com/rust-lang/josh-sync.
2025-11-10 04:10:16 +00:00
The rustc-josh-sync Cronjob Bot 83e4d8182f Prepare for merging from rust-lang/rust
This updates the rust-version file to 8401398e1f.
2025-11-10 04:10:10 +00:00
sayantn 7ea8483696 Use generic SIMD intrinsics for AVX maskload and maskstore intrinsics 2025-11-07 05:34:31 +05:30
Folkert de Vries 7516645928 stabilize s390x_target_feature_vector 2025-11-06 12:49:48 +01:00
Folkert de Vries c59298da36 stabilize stdarch_s390x_feature_detection 2025-11-06 12:49:46 +01:00
Folkert de Vries 0645ac31cb extract s390x vector and friends to their own rust feature 2025-11-06 12:49:04 +01:00
sayantn 9126145419 Use generic SIMD masked load/stores for avx512 masked load/stores 2025-11-05 21:30:48 +05:30
Amanieu d'Antras 591487758b Merge pull request #1846 from sayantn/new-amx-intrinsics
Add intrinsics for the new AMX target features
2025-11-04 01:59:32 +00:00
Amanieu d'Antras 8dc0761a5c Merge pull request #1948 from folkertdev/forward-percentage
Forward `TEST_SAMPLE_INTRINSICS_PERCENTAGE`
2025-11-04 01:53:41 +00:00
Folkert de Vries f9dc790aa5 improve _mm256_permute2f128 tests 2025-11-02 20:09:54 +01:00
Jakub Beránek 3c9656c4f4 Merge ref '73e6c9ebd912' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: 73e6c9ebd9
Filtered ref: e8bb3cae4cd2b04bdc252cdf79102717db2b2d8d
Upstream diff: https://github.com/rust-lang/rust/compare/32e7a4b92b109c24e9822c862a7c74436b50e564...73e6c9ebd9123154a196300ef58e30ec8928e74e

This merge was created using https://github.com/rust-lang/josh-sync.
2025-11-02 14:45:26 +01:00
Jakub Beránek 94a8d867ee Prepare for merging from rust-lang/rust
This updates the rust-version file to 73e6c9ebd9.
2025-11-02 14:44:51 +01:00
sayantn 17c3f8ab5e Add tests for new AMX intrinsics 2025-11-01 07:55:34 +05:30
sayantn 2815023680 Patch stdarch_verify to not check intel definition for new AMX intrinsics 2025-11-01 07:55:26 +05:30
sayantn 48116cf39d Add AMX intrinsics 2025-11-01 07:52:34 +05:30
Alisa Sireneva 420544a34a Move wasm throw intrinsic back to unwind
rustc assumes that regular `extern "Rust"` functions unwind only if the
`unwind` panic runtime is linked. `throw` was annotated as such, but
unwound unconditionally. This could cause UB when a crate built with `-C
panic=abort` called `throw` from `core` built with `-C panic=unwind`,
since no terminator was added to handle the panic arising from calling an
allegedly non-unwinding `extern "Rust"` function.

rustc was taught to recognize this condition since
https://github.com/rust-lang/rust/pull/144225 and prevented such
linkage, but this caused regressions in
https://github.com/rust-lang/rust/issues/148246, since this meant that
Emscripten projects could not be built with `-C panic=abort` without
recompiling std.

The most straightforward solution would be to move `throw` into the
`panic_unwind` crate, so that it's only compiled if the panic runtime is
guaranteed to be `unwind`, but this is messy due to our architecture.
Instead, move it into `unwind::wasm`, which is only compiled for
bare-metal targets that default to `panic = "abort"`, rendering the
issue moot.
2025-10-30 15:13:32 +03:00
Sayantan Chakraborty 92f7cb4948 Merge pull request #1946 from folkertdev/intrinsic-test-dedup-constants
`intrinsic-test`: dedup constants
2025-10-30 11:25:53 +00:00
Noa a4638e3d25 Enable assert_instr for wasm32 throw 2025-10-27 12:12:52 -05:00
Folkert de Vries d618085422 intrinsic-test: display more logs in CI 2025-10-27 01:26:09 +01:00
Folkert de Vries d2a2fd3c4b forward TEST_SAMPLE_INTRINSICS_PERCENTAGE 2025-10-27 00:28:18 +01:00
sayantn 4c6e879326 Make the fence intrinsics and _mm_pause safe 2025-10-26 23:57:47 +05:30
sayantn 22f169f844 Make _mm_prefetch safe 2025-10-26 23:57:42 +05:30
sayantn 8bff8b6849 Make all TBM intrinsics safe 2025-10-26 23:52:45 +05:30
sayantn f2eb88b0bb Make RDRAND/RDSEED safe 2025-10-26 23:52:45 +05:30
sayantn 5dcd3046c8 Make _bswap{,64} safe 2025-10-26 23:52:45 +05:30
sayantn cfb36829a9 Make _mm512_reduce_mul_ph safe (missed) 2025-10-26 23:52:45 +05:30
sayantn 788d1826e9 Make ADC/ADX intrinsics safe 2025-10-26 23:52:44 +05:30
Folkert de Vries f4d4218fc4 intrinsic test: fix formatting (a bit, at least) 2025-10-26 16:42:34 +01:00
Folkert de Vries 22ca86d8e8 intrinsic test: deduplicate rust constants 2025-10-26 16:39:05 +01:00
Madhav Madhusoodanan 28688b9013 feat: added x86_64-unknown-linux-gnu to the test matrix of
`intrinsic-test`
2025-10-26 18:19:45 +05:30
Madhav Madhusoodanan 5b02cc070a feat: fixing Rust's print mechanism for _mm512_conj_pch 2025-10-26 17:51:35 +05:30
Madhav Madhusoodanan c85e978c7d fix: remove the PATH update in ci/run.sh 2025-10-26 17:51:35 +05:30
Madhav Madhusoodanan e4fcae1ef0 chore: make names in config.rs files uniform across architectures 2025-10-26 17:51:35 +05:30
Madhav Madhusoodanan 3d17cea576 feat: code cleanup 1. changing array bracket prefixes from &'static str
to char 2. including variable names in template strings instead of
passing them as arguments to macros
2025-10-26 17:51:35 +05:30
Madhav Madhusoodanan ad53cca967 chore: convert println! logging to trace! logging during compilation
step
2025-10-26 17:51:35 +05:30
Madhav Madhusoodanan a44a2c7e1a chore: move from random testing to testing only the first N intrinsics 2025-10-26 17:51:35 +05:30
Madhav Madhusoodanan fcaf610615 chore: remove x86-intel.xml from stdarch-verify crate 2025-10-26 17:51:35 +05:30