Caleb Zulawski
baa5791a45
Document odd test behavior
2023-07-27 01:03:43 -04:00
Caleb Zulawski
cb461aceb3
Only flush comparison in test
2023-07-27 01:02:26 -04:00
Caleb Zulawski
fd712fe3f3
Fix test skip
2023-07-22 23:38:20 -04:00
Caleb Zulawski
616cb6e9e6
Disable simd_clamp test on ppc64
2023-07-22 23:00:51 -04:00
Caleb Zulawski
bd4e6616f3
Adjust clamp test
2023-07-22 20:50:49 -04:00
Caleb Zulawski
52d6397da7
Flush subnormals in reduce tests
2023-07-22 19:22:30 -04:00
Caleb Zulawski
38c7ba09dd
Handle subnormal numbers exactly
2023-07-22 00:41:21 -04:00
Caleb Zulawski
db8b23cea5
Remove reexport of simd::*
2022-11-27 23:44:20 -05:00
Caleb Zulawski
04be48ff97
Add float trait, and seal traits.
2022-04-15 02:11:16 -04:00
Caleb Zulawski
376957ad8c
Move integer functions to traits.
2022-04-15 02:00:50 -04:00
Caleb Zulawski
2a02c4d9cb
Create SimdFloat trait
2022-03-13 19:57:06 +00:00
Caleb Zulawski
80469c66d6
Move comparisons to SimdPartialOrd and SimdOrd traits
2022-03-13 19:07:36 +00:00
Jubilee
72df4c4505
portable-simd#261: Rename horizontal_* to reduce_*
2022-03-12 15:34:58 -08:00
Ralf Jung
49043f4434
rust-lang/portable-simd#262 : also implement clamp for integer vectors
...
* add test from issue rust-lang/portable-simd#253
2022-03-12 15:32:28 -08:00
Jacob Lifshay
c196b8abaa
replace horizontal_* with reduce_*
2022-03-11 14:49:06 -08:00
Jorge Leitao
86b9f69622
rust-lang/portable-simd#260 : Add .min
and .max
for integers
2022-03-10 15:12:40 -08:00
Jubilee
5d52455c65
Review for clarity and concision
...
Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
2022-02-08 17:43:26 -08:00
Jubilee Young
672bfebfd8
Remove overflow panic from divrem
...
Includes some remarks in intrinsics.rs,
generated while auditing the interface for remaining UB.
2022-02-08 15:39:55 -08:00
Jubilee Young
af26e3b9fd
Tear down and rewrite support for float testing
2021-12-31 14:28:14 -08:00
Jubilee Young
257fa7aa6d
Drop splats for Simd<T, _>
...
Unfortunately, splatting impls currently break several crates.
Rust needs more time to review possible mitigations, so
drop the impls for the `impl Add<T> for Simd<T, _>` pattern, for now.
2021-12-01 15:40:53 -08:00
Jubilee Young
c2f59483f9
Feature-flag fused mul-add to block libcalls
2021-09-21 19:42:31 -07:00
Caleb Zulawski
f7f29683a8
Remove aliases from most tests
2021-08-07 20:38:41 +00:00
Caleb Zulawski
34384b7a68
Add const_evaluatable_checked feature, change to_bitmask to use it, and fix existing std feature
2021-07-28 04:19:31 +00:00
Caleb Zulawski
7b66032ed5
Fix test typo
2021-06-13 20:11:01 +00:00
Caleb Zulawski
f102de7c8b
Add mul_add
2021-06-13 19:59:17 +00:00
Caleb Zulawski
74e6262ce4
Add min/max/clamp
2021-06-13 19:47:32 +00:00
Caleb Zulawski
b936f34a5c
Add various special functions (recip, signum, copysign)
2021-06-13 18:45:45 +00:00
miguel raz
d6795814d4
add simd_fsqrt intrinsic
2021-05-18 10:11:37 -05:00
Jubilee Young
b4fda6ef06
Give rounding intrinsics their own modules
2021-04-25 18:27:03 -07:00
Caleb Zulawski
04ee107323
Remove wrapping from sum/product fns
2021-04-22 22:41:12 +00:00
Caleb Zulawski
828b274ae7
Rename sum, product to horizontal_{sum,product}
2021-04-19 23:41:11 +00:00
Caleb Zulawski
e127586709
Improve function names and docs
2021-04-11 10:59:05 -04:00
Caleb Zulawski
3cf970fc09
Fix test sum/product implementation
2021-04-09 16:31:03 -04:00
Caleb Zulawski
3fae09bd08
Revert "Revert i586 fix, fix test instead"
...
This reverts commit 1ea2f128821339d8050ca936f24b71677352437e.
2021-04-09 16:31:03 -04:00
Caleb Zulawski
b51febbd34
Revert i586 fix, fix test instead
2021-04-09 16:31:03 -04:00
Caleb Zulawski
193cd14b4a
Enable special handling of zero
2021-04-09 16:31:03 -04:00
Caleb Zulawski
a7b82adb12
Add tests
2021-04-09 16:31:03 -04:00
Caleb Zulawski
07247a001f
Various bug fixes
2021-04-03 13:54:29 -04:00
Caleb Zulawski
fa77b196c8
Add std cargo feature
2021-03-22 14:00:02 -07:00
Caleb Zulawski
8c378d3027
Add documentation
2021-02-15 18:22:56 -05:00
Caleb Zulawski
714ad639b3
Fix MulAssign typo in tests, move panic tests
2021-02-15 18:22:56 -05:00
Caleb Zulawski
0ec3ecfab1
Split ops tests
2021-02-15 18:22:56 -05:00