507 Commits

Author SHA1 Message Date
Caleb Zulawski
2f062b8f5e Fix wasm tests 2024-03-03 10:29:32 -05:00
Caleb Zulawski
bcedde5456 Fix formatting 2024-03-03 10:28:33 -05:00
Caleb Zulawski
e5d5006cf3 Update docs 2024-03-03 10:11:52 -05:00
Caleb Zulawski
5b5b259bf3 Test std_float 2024-03-03 10:06:20 -05:00
avhz
499a53dd71 feat: add SIMD float math functions (exp, exp2, log, log2, log10, sin, cos). 2024-03-03 07:24:19 +01:00
AquaEBM
18de239ecf add stdarch_x86_avx512 feature flag for AVX-512-supporting architectures 2024-02-23 12:26:52 +01:00
Taiki Endo
6ce3ab72a0 Fix build error on big endian aarch64 2024-02-22 21:16:08 +09:00
Taiki Endo
bb4bba5fcf Remove redundant imports 2024-02-22 17:09:20 +09:00
Caleb Zulawski
eee4f1d83a Fix swizzle_dyn 2024-02-17 19:24:44 -05:00
Amanieu d'Antras
9aec60e2c6 Disable conversions between portable_simd and stdarch on big-endian ARM
stdarch no longer provide SIMD on big-endian ARM due to
https://github.com/rust-lang/stdarch/issues/1484
2024-02-17 18:03:04 -05:00
Urgau
64bd26f221 Fix target_feature config in portable-simd 2024-02-17 18:03:04 -05:00
Caleb Zulawski
afa70e6d92 Remove link to core::arch::x86_64 2024-02-17 18:03:04 -05:00
Caleb Zulawski
aebf6f1560 Use intrinsics directly to avoid recursion 2024-02-17 11:33:13 -05:00
Caleb Zulawski
44b4d26273 Revert "Revert "Merge pull request #385 from workingjubilee/make-an-ass-out-of-u-and-me""
This reverts commit 644bdfb2ac810c788300bfd79fcc0e0ec84cda5f.
2024-02-17 11:18:31 -05:00
Caleb Zulawski
d8439e90bd Add back core_intrinsics 2024-02-17 11:11:58 -05:00
Caleb Zulawski
644bdfb2ac Revert "Merge pull request #385 from workingjubilee/make-an-ass-out-of-u-and-me"
This reverts commit 6ad779c3f6f8e935c12f5a9e488aeeaf0d829ff1, reversing
changes made to b2e1bcba2c9febb16561420392be2ca483fcad7f.
2024-02-17 11:09:17 -05:00
Caleb Zulawski
a2dd4a3b5b Minor fixes 2024-02-17 11:09:17 -05:00
Caleb Zulawski
6ad779c3f6
Merge pull request #385 from workingjubilee/make-an-ass-out-of-u-and-me
Assume masks are correct
2024-02-17 10:32:18 -05:00
Ralf Jung
851ef63576 use core::intrinsics::simd 2024-02-14 16:26:03 +01:00
Ralf Jung
047ba0a280 stdsimd feature got split up 2024-02-09 22:20:11 +01:00
Ralf Jung
4e36929e17 re-add const_intrinsic_copy feature 2024-02-09 21:56:19 +01:00
Caleb Zulawski
f55ca305a5
Merge pull request #380 from rust-lang/bitmask-order
Fix bitmask vector bit order
2024-01-29 14:08:44 -05:00
Caleb Zulawski
e7130ec093 Add exposed_provenance for rust-lang/rust#118487 2024-01-05 17:59:47 -05:00
Caleb Zulawski
bb50fa2325 Use core::intrinsics 2024-01-05 17:58:58 -05:00
Jubilee Young
b6eeb4ee90 Assume masks are correct
This allows miri to detect when they are not, and
may be exploited by LLVM during optimization.
2023-12-13 17:46:49 -08:00
Jacob Lifshay
c705775760
Fix load/store safety comments to require aligned T
Fixes: #382
2023-12-11 12:17:10 -08:00
Caleb Zulawski
289c1d14f0 Fix bitmask vector bit order 2023-12-03 11:42:26 -05:00
Ralf Jung
81af496d7c fix simd_bitmask docs 2023-12-03 16:02:42 +01:00
Caleb Zulawski
5739caae27 Follow-up fixes for to_bitmask 2023-11-19 00:56:00 -05:00
cui fliter
64ea0884ef remove repetitive words
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-11-19 00:13:24 -05:00
Caleb Zulawski
62bbb360ad Add first_set 2023-11-18 22:06:22 -05:00
Caleb Zulawski
0ad68db91a Use u8xN for bitmasks 2023-11-17 19:17:03 -05:00
Caleb Zulawski
082e3c8a5d Workaround simd_bitmask limitations 2023-11-17 10:15:12 -05:00
Caleb Zulawski
4ca9f04db5 Simplify bitmasks 2023-11-17 00:50:00 -05:00
Caleb Zulawski
8d9bcda64c Fix or silence lints 2023-11-17 00:48:35 -05:00
Caleb Zulawski
4cc260e497
Update crates/core_simd/src/masks.rs
Co-authored-by: Jacob Lifshay <programmerjake@gmail.com>
2023-10-23 11:03:05 -04:00
Caleb Zulawski
d06dc5c269 Fix bitmasks 2023-10-20 21:28:19 -04:00
Caleb Zulawski
56b6ee01f8 Fix test import 2023-10-20 21:15:28 -04:00
Caleb Zulawski
4f7b0252e0 Fix formatting 2023-10-20 21:07:18 -04:00
Caleb Zulawski
32b195ab2b Change generic LANES to N 2023-10-20 20:58:04 -04:00
Caleb Zulawski
0f59409064 Change LANES to LEN and self.lanes() to self.len() 2023-10-20 20:49:58 -04:00
Caleb Zulawski
b962b612e0 Change lane to element in documentation 2023-10-20 20:44:47 -04:00
Caleb Zulawski
6e0de1983c Fix variable and comment 2023-10-20 20:10:40 -04:00
Caleb Zulawski
7a7faf6cc6 Fix formatting 2023-10-20 20:10:40 -04:00
Caleb Zulawski
4fc3ce733d Simplify Swizzle trait and condense all swizzles into this trait 2023-10-20 20:10:38 -04:00
Caleb Zulawski
596aabe5c7 Add num, ptr, and cmp modules 2023-10-20 20:03:35 -04:00
Caleb Zulawski
3e4e13c82f
Merge pull request #368 from rust-lang/remove-generic-const-exprs
Remove `generic_const_exprs`
2023-10-20 19:10:50 -04:00
David Tolnay
6a3c45eea8
Eliminate use of #[cfg_attr(not(doc), repr(transparent))] 2023-10-14 14:00:45 -07:00
Caleb Zulawski
afe28b13e7 Add various bounds 2023-10-02 16:27:18 -04:00
Caleb Zulawski
b411cb401d Simplify macro 2023-10-02 16:15:37 -04:00