| 1 |
## Release v0.9.1 (05 Sept. 2025) |
| 2 |
- `into_arr`, `from_arr`, `map`, `zip_map` are now public on `WideF32x4`, `WideF32x8` and `WideF64x4`. |
| 3 |
- `from_arr` and `into_arr` are now public on `WideBoolF32x4`, `WideBoolF32x8`, `WideBoolF64x4`. |
| 4 |
- Use SIMD implementations of `WideBool*` methods `all`, `any`, and `none`. |
| 5 |
- Inline more `AutoSimd` methods. |
| 6 |
|
| 7 |
## Release v0.9.0 (22 June 2023) |
| 8 |
- The `cuda` feature has been removed, as the toolchain it depends on is long abandoned. |
| 9 |
- The `packed_simd` feature has been removes as it has been incompatible with the `nightly` compiler for several months. |
| 10 |
Consider using the `portable_simd` feature instead. |
| 11 |
- Add the `portable_simd` feature for supporting `std::simd`. |
| 12 |
- The `ClosedAdd, ClosedMul, etc.` traits no longer require `AddAssign, MulAssign`. Instead they are required for new |
| 13 |
traits named `ClosedAddAssign, ClosedMulAssign, etc.` |
| 14 |
- The `ComplexField` and `SimdComplexField` (and, by extension, `RealField` and `SimdRealField`) traits now depend on the |
| 15 |
`SupersetOf<f32>` trait in addition to `SupersetOf<f64>`. |
| 16 |
- Replace the `SimdValue::lanes()` function by an associated constant `SimdValue::LANES`. |
| 17 |
- Add `ZERO` and `ONE` associated consts to all the simd newtypes. |
| 18 |
- Implement `Default` for all simd newtypes. |
| 19 |
|
| 20 |
## Release v0.8.1 (04 Apr. 2023) |
| 21 |
- Add implementation of `rkyv` serialization/deserialization to the `Wide*` wrapper types. |
| 22 |
|
| 23 |
## Release v0.8.0 (14 Jan. 2023) |
| 24 |
- When `rkyv` support is enabled, the archived version of `AutoSimd` and `AutoBoolSimd` are themselves. The |
| 25 |
`ArchivedAutoSimd` and `ArchivedAutoBoolSimd` types are no longer generated. |
| 26 |
|
| 27 |
## Release v0.7.3 (30 Oct. 2022) |
| 28 |
- Cuda: implement DeviceCopy for AutoSimd |
| 29 |
- Implement `Distribution` (for random number generation) for SIMD types. |
| 30 |
|
| 31 |
## Release v0.7.2 (30 July 2022) |
| 32 |
- Add the optional types `WideF64x4` and `WideBoolF64x4` for 4-lanes SIMD 64-bits float operations based on |
| 33 |
the `wide` crate. |
| 34 |
- Add the `rkyv-serialize` feature to enable `rkyv` serialization/deserialization of the `AutoSimd` types. |
| 35 |
- Fix build with only the `libm` feature enabled. |
| 36 |
|
| 37 |
## Release v0.7.1 (27 Jan. 2022) |
| 38 |
- Add the optional types `WideF32x8` and `WideBoolF32x8` for 8-lanes SIMD float operations. |
| 39 |
|
| 40 |
## Release v0.7.0 (02 Jan. 2022) |
| 41 |
- Remove the `Bounded` requirement from `RealField`. Replace it by methods returning `Option<Self>` so that they can |
| 42 |
still be implemented by unbounded types (by returning `None`). |
| 43 |
- The `ComplexField` trait derives from `FromPrimitive` again. We can actually keep this because all its methods |
| 44 |
return `Option<Self>`, meaning that it could be implemented by any type. |
| 45 |
- Add the `cuda` cargo feature that enables support for [Rust-Cuda](https://github.com/Rust-GPU/Rust-CUDA) by generating |
| 46 |
the relevant cuda intrinsics for float operations when running on a cuda kernel. |
| 47 |
|
| 48 |
|
| 49 |
## Release v0.6.0 |
| 50 |
- Replace all the `Copy` trait bounds by `Clone`, allowing more types to fulfill the requirements |
| 51 |
of `ComplexField` and `RealField`. |
| 52 |
- The `ComplexField` trait no longer derive from `FromPrimitive`. |
| 53 |
|
| 54 |
## Release v0.5.0 |
| 55 |
- Update the `num-complex` 0.4 dependency. |
| 56 |
|
| 57 |
## Release v0.4.0 |
| 58 |
- Update the `rand` 0.8 dependency. |
| 59 |
- Add `SimdComplexField::simd_horizontal_sum` and `SimdComplexField::simd_horizontal_product` |
| 60 |
for computing the sum or product of all the lanes of a single SIMD value. |
| 61 |
|
| 62 |
## Release v0.3.0 |
| 63 |
This release includes a change that is not technically a breaking change because |
| 64 |
it won't cause existing code to not compile anymore. However it is an important |
| 65 |
semantic change to justify a major release: |
| 66 |
- The arguments of `copysign` are now swapped: `a.copysign(b)` will copy the sign of `b` into `a` (the previous |
| 67 |
behavior copied the sign of `a` into `b`). This change was needed to align with the argument order used by |
| 68 |
the standard library, thus avoiding hard-to-debug errors due to mismatching conventions. |
| 69 |
- The arguments of `simd_copysign` are now swapped too. |
| 70 |
|
| 71 |
This release also update the `num-complex` dependency to its latest version 0.3. |
| 72 |
|
| 73 |
## Release v0.2.4 |
| 74 |
- Make `Fixed.to_bits` and `Fixed::from_bits` const-fn. |
| 75 |
- Make our `Fixed` wrapper type `repr(transparent)`. |
| 76 |
|
| 77 |
## Release v0.2.3 |
| 78 |
- Add `.to_bits` to our fixed-point number newtype. |
| 79 |
- Add `::from_bits` to our fixed-point number newtype. |
| 80 |
- Add `Ord` implementation for our fixed-point number newtype. |
| 81 |
- Add `Mul<int>, Div<int>, Rem<int>, MulAssign<int>, DivAssign<int>, RemAssign<int>` implementation for our fixed-point |
| 82 |
number newtype, where `int` is the underlying integer used by the fixed-point number. |
| 83 |
|
| 84 |
## Release v0.2.2 |
| 85 |
- Fix a compilation error when building simba with out `std` and with the `libm` feature. |
| 86 |
|
| 87 |
## Release v0.2.1 |
| 88 |
- Add SIMD types named, e.g. `AutoF32x4`, based on auto-vectorization only. They don't call any SIMD intrinsics and let the compiler do the |
| 89 |
vectorization, if it can. |
| 90 |
|
| 91 |
## Release v0.2.0 |
| 92 |
- The use of `libm` in `#[no-std]` environments is now opt-in by enabling the `libm` feature. |
| 93 |
- If the `libm` is not enabled in a `#[no-std]` environment, then no `RealField` or `ComplexField` impls will be provided for floats. |
| 94 |
- Add the `libm_force` cargo feature that forces the use of `libm`, even when we don't target `no-std`. |
| 95 |
- Add `copysign` to copy the sign from one number to another. |
| 96 |
- Add `simd_horizontal_min`, `simd_horizontal_max` to compute the min/max among the lanes of a single SIMD number. |
| 97 |
- Wrap all SIMD bools from `packed_simd` into our own `Simd<_>` newtype. |