The latest published Fearless SIMD release is 0.7.0 which was released on 2026-08-11. You can find its changes documented below.
-
- Added
mul_add_preciseandmul_sub_precisefor floating-point vectors. They guarantee the infinite-precision product-plus-add rounded once, including on SIMD levels without hardware fused multiply-add instructions. They are not susceptible to the bug in Rust standard library,std::simdand musl libc that causes incorrect rounding for subnormal results. SSE4.2 gets SIMD emulation of these operations for better performance. (#323, #324 by @Shnatsel)
- Added
0.7.0 (2026-08-11)
This release has an MSRV of 1.89.
- Added
i64x2,i64x4,i64x8,u64x2,u64x4, andu64x8vector types, the native-widthi64sandu64sassociated types, and 64-bit integer operations across all backends. (#253, #310 by @Shnatsel) - Added an
Sse2level. This is the new baseline for i686-* and x86_64-* targets, replacingFallback. It is detected at runtime on Tier-2 i586-* targets. (#270 by @Shnatsel) - Added
shift_elements_left,shift_elements_right,rotate_elements_left, androtate_elements_rightto non-mask vectors. Shifts accept a padding element and fill the entire vector when the offset is at least its lane count; rotations wrap the offset. (#274 by @Shnatsel) - Added full-vector
swizzle_dynandswizzle_dyn_precisebyte swizzles.swizzle_dynpermits implementation-defined results for out-of-range indices, whileswizzle_dyn_precisealways returns zero for them. (#276, #304 by @Shnatsel) - Added the
SimdElement::BITSconstant, exposing the bit width of a vector's lane type to generic code. (#296 by @danderson) - Added trait bounds on
SimdElement, and introduced theSimdIntElementandSimdFloatElementsubtraits. These allow generic code to access many math and utility operations on the elements of SIMD vector types. (#302 by @danderson) - Added the
SimdWidenandSimdNarrowtraits, providing widening, narrowing, and saturating narrowing operations for all integer and floating-point vector types. (#300 by @Shnatsel) - The four-way interleaved load and store operations are now exposed on the vector types they operate on and are available to generic code through
SimdInterleaved. (#321 by @Shnatsel)
- Breaking change: the
load_interleaved_128_*andstore_interleaved_128_*methods, which exchanged one 512-bit vector, have been replaced byload_four_interleaved_*andstore_four_interleaved_*. The new methods exchange an array of four 128-bit vectors directly and are available for all non-mask scalar types. (#298 by @Shnatsel) - Breaking change: the
new_unchecked()function on SIMD level tokens such asAvx2has been renamed toassume_supported()and is now safe to call from contexts that already contain the appropriate#[target_feature]annotations. Functions without such annotations can still callassume_supported()with anunsafeblock. (#293 by @Shnatsel) - Breaking change: The
fxsrCPU feature is now required for all x86 SIMD levels. It is present in hardware on all SIMD-capable CPUs, but it is possible to disable it in some emulators combined with a custom Rust target specification. (#270 by @Shnatsel) - Breaking change: Operations shared by integer and floating-point vectors have moved from
SimdInt/SimdFloattoSimdBase, so code generic over any non-mask vector can useAdd,Sub,Mul, comparisons, zip/unzip, and interleave/deinterleave operations. (#308 by @Shnatsel) - Breaking change:
min,max,min_precise, andmax_precisehave moved fromSimdInt/SimdFloattoSimdBase, allowing generic code to use them across integer and floating-point vectors. (#313 by @Shnatsel) - On x86_64 targets with static SSE2 support,
Level::baseline()now returnsSse2instead ofFallback. (#270 by @Shnatsel) - The scalar
Fallbackbackend andLevel::Fallbackvariant are no longer compiled when the target has a better ambient SIMD baseline (e.g. SSE2 on x86, NEON on Aarch64). Theforce_support_fallbackfeature continues to make them available for testing.disable_dispatch_sse2no longer disables SSE2 if it is the baseline level. (#320 by @Shnatsel) - Runtime CPU feature detection performed by
Level::new()is now cached on x86. (#278 by @Shnatsel) - The result of integer shifts by an amount greater than or equal to the element width is now explicitly documented as platform-dependent. Scalar fallback shifts use wrapping shift amounts instead of potentially panicking in debug builds. (#283 by @Shnatsel)
- Full-vector 8-bit shifts on x86 have been optimized, including a 2.4x faster left-shift formulation and faster signed and unsigned right shifts. (#291 by @Shnatsel)
- All native-width non-mask vector types now share
u8sas their byte representation, enablingBytes::bitcastbetween arbitrary lane types in code generic overSimd. The byte representation of anySimdBasetype is now also guaranteed to be an idempotent, same-tokenu8SIMD vector, so it can be manipulated directly in generic code. (#284 by @Shnatsel) - Generic bounds now encode existing relationships between masks, vectors, blocks, elements, and split/combined vector types. This enables mask selection, by-value element access, recursive block use, and reversible split/combine operations without additional bounds. (#285 by @Shnatsel)
SimdBase::Arraynow guaranteesCopy(and thereforeClone),Debug, by-valueIntoIterator,AsRef,AsMut, and conversion from its vector type, whileSimdBaseguarantees construction from its associated array throughSimdFrom. (#285 by @Shnatsel)SimdandSimdBasenow requireDebug, exposing implementations already provided by all tokens and vector types to generic code. (#309 by @Shnatsel)- The
Simd::vectorizedocumentation now explains when to use it and includes an end-to-end example. (#312 by @Shnatsel) - Generated code and metadata have been substantially reduced, cutting x86 build time by roughly one third. (#292, #317, #318 by @Shnatsel)
- Breaking change: removed the low-level
reinterpret_f32_*,reinterpret_f64_*,reinterpret_i32_*,reinterpret_u32_*,reinterpret_u8_*,cvt_to_bytes_*, andcvt_from_bytes_*methods. UseBytes::bitcastfor arbitrary same-width bit reinterpretation, orBytes::to_bytesandBytes::from_bytesfor direct byte-vector conversions. (#284 by @Shnatsel) - Breaking change: removed the
WithSimdtrait, which only delegated to thedispatch!macro. Usedispatch!directly instead. (#306 by @Shnatsel)
- Integer negation in the scalar fallback now wraps for the minimum signed value, matching the SIMD backends instead of potentially panicking in debug builds. (#253 by @Shnatsel)
- Fixed x86 8-bit left shifts: overflowing
u8lanes now wrap instead of saturating, andi8lanes now match Rust's signed shift semantics. (#288, #290 by @danderson)
0.6.0 (2026-07-10)
This release has an MSRV of 1.89.
- Added Ice Lake-class AVX-512 support with a generated
Avx512level and 512-bit native-width vector types. (#231 by @Shnatsel) - Added controls for x86 automatic multiversioning using
cfgflags, letting final binary builds decide which levelsdispatch!uses. (#258, #264 by @Shnatsel) - Added the
swizzle_dyn_within_blocksmethod on SIMD vector types for dynamic byte-indexed swizzles within each native-width block. (#266 by @Shnatsel)
- The MSRV is now Rust 1.89. (#231 by @Shnatsel)
- Documentation and examples have been expanded and cleaned up to show autovectorization, use of intrinsics, x86 multiversioning, and AVX-512-width inputs. (#252, #258, #261, #264 by @Shnatsel)
Level::Fallbackand x86Level::Sse4_2variants now remain available whenever their token types exist. (#264 by @Shnatsel)
dispatch!andLevel::dispatchnow correctly omit AVX2 code paths when the Ice Lake/AVX-512 feature set is available. (#263 by @Shnatsel)
0.5.0 (2026-06-18)
This release has an MSRV of 1.88.
- The
kernel!macro, which creates safe wrappers around SIMD-level-specific kernels so platform intrinsics fromcore::archorstd::archcan be used safely when a token proves the required target features. (#214 by @Shnatsel) - The
approximate_recipmethod on floating-point SIMD vector types. It uses fast hardware reciprocal estimates where available and exact division otherwise. (#204 by @tomcur) SimdMask::from_bitmask,SimdMask::to_bitmask,SimdMask::test, andSimdMask::set, mirroring thestd::simdmask API. (#226 by @Shnatsel)
- Breaking change: the crate's SIMD extension traits are now sealed, so external crates can no longer implement them for their own types. (#211 by @LaurenzV)
- Breaking change: mask types now have opaque storage and use the new
SimdMasktrait instead ofSimdBase. Masks no longer expose integer-vector APIs such asDeref, indexing,Bytes, publicSimdSplit/SimdCombine,slide,slide_within_blocks, byte conversions, or scalar bit-operator overloads. (#218 by @Shnatsel) - Generated SIMD loads, stores, reference casts, transmute-like conversions, helpers, const-generic functions, and intrinsic calls now use checked wrappers or
kernel!, removing mostunsafefrom generated code. (#232, #233, #234, #235, #236, #237, #238, #239, #244, #245 by @Shnatsel) - Documentation and examples have been expanded and cleaned up for SIMD level tokens, mask types, platform-specific intrinsics, custom transmute wrappers, README consistency, and docs.rs visibility for NEON and WebAssembly APIs. (#213, #221, #222, #230, #240, #243 by @Shnatsel, #224, #225 by @DJMcNab)
- Breaking change: the
core_archwrapper module and thesafe_wrappersfeature have been removed. Usekernel!withcore::archorstd::archintrinsics instead. (#216 by @Shnatsel)
0.4.1 (2026-05-16)
This release has an MSRV of 1.88.
- The
interleaveanddeinterleavemethods on integer and floating-point SIMD vector types. (#206 by @Shnatsel)
Sse4_2andAvx2now consistently use the x86-64-v2 and x86-64-v3 feature sets for detection, dispatch, and generatedtarget_featureattributes. (#208 by @Shnatsel)
0.4.0 (2026-02-13)
This release has an MSRV of 1.88.
- All vector types now implement
IndexandIndexMut. (#112 by @Ralith) - 256-bit vector types now use native AVX2 intrinsics on supported platforms. (#115 by @valadaptive)
- 8-bit integer multiplication is now implemented on x86. (#115 by @valadaptive)
- New native-width associated types:
f64sandmask64s. (#125 by @valadaptive) - The bitwise "not" operation on integer vector types. (#130 by @valadaptive)
- The
from_fnmethod on vector types. (#137 by @valadaptive) - The
load_interleavedandstore_interleavedoperations now use native intrinsics on x86, instead of using the fallback implementations. (#140 by @valadaptive) - Add support for
relaxed_simdoperations in WebAssembly. (#143 by @valadaptive) - The
ceilandround_ties_evenoperations on floating-point vector types. (Rust'sroundoperation rounds away from zero in the case of ties. Many architectures do not natively implement that behavior, so it's omitted.) (#145 by @valadaptive) - A
preludemodule, which exports all the traits in the library but not the types. (#149 by @valadaptive) - The
any_true,all_true,any_false, andall_falsemethods on mask types. (#141 by @valadaptive) - Documentation for most traits, vector types, and operations. (#154 by @valadaptive)
- A "shift left by vector" operation, to go with the existing "shift right by vector". (#155 by @valadaptive)
- "Precise" float-to-integer conversions, which saturate out-of-bounds results and convert NaN to 0 across all platforms. (#167 by @valadaptive)
- Add the
slideandslide_within_blocksmethods for shifting elements within a vector. (#164 by @valadaptive) - The
Level::is_fallbackmethod, which lets you check if the current SIMD level is the scalar fallback. This works even ifLevel::Fallbackis not compiled in, always returning false in that case. (#168 by @valadaptive) - Added
store_arraymethods to store SIMD vectors back to memory explicitly using intrinsics. (#181 by @LaurenzV)
- Improved the performance for load/store operations of vectors. (#185 by @valadaptive)
- Integer equality comparisons now function properly on x86. Previously, they performed "greater than" comparisons. (#115 by @valadaptive)
- All float-to-integer and integer-to-float conversions are implemented properly on x86, including the precise versions. (#134 by @valadaptive)
- The floating-point
min_preciseandmax_preciseoperations now behave the same way on x86 and WebAssembly as they do on AArch64, returning the non-NaN operand if one operand is NaN and the other is not. Previously, they returned the second operand if either was NaN. (#136 by @valadaptive)
-
Breaking change: The AVX2 level now requires all features from the x86-64-v3 baseline. (#188 by @Shnatsel)
-
Breaking change:
Level::fallbackhas been removed, replaced withLevel::baseline. (#105 by @DJMcNab) This corresponds with a change to avoid compiling in support for the fallback level on compilation targets which don't require it; this is most impactful for binary size on WASM, Apple Silicon Macs or Android. A consequence of this is that the available variants onLevelare now dependent on the target features you are compiling with. The fallback level can be restored with theforce_support_fallbackcargo feature. We don't expect this to be necessary outside of tests. -
Code generation for
selectandunzipoperations on x86 has been improved. (#115 by @valadaptive) -
Breaking change: The native-width associated types (
f32s,u8s, etc.) for theAvx2struct have been widened from 128-bit types (likef32x4) to 256-bit types (likef32x8). (#123 by @valadaptive) -
Breaking change: All the vector types' inherent methods have been removed. Any remaining functionality has been moved to trait methods. (#149 by @valadaptive)
Some functionality is exposed under different names:
- Instead of the
reinterpretmethods, use thebitcastmethod on theBytestrait. (e.g.foo.reinterpret_i32()->foo.bitcast::<i32x4<_>>()) - Instead of the
cvtmethods, use theto_intorto_floatconvenience methods on theSimdFloatandSimdInttraits (e.g.foo.cvt_u32()->foo.to_int::<u32x4<_>>())
Some functionality (such as
splitorcombine) is exposed under new traits. You may use the newpreludemodule to conveniently import all of the traits. - Instead of the
-
Breaking change: The
maddandmsubmethods have been renamed tomul_addandmul_sub, matching Rust's naming conventions. (#158 by @Shnatsel) -
Breaking change: the
valfield on SIMD vector types is now private, and vector types are no longer represented as arrays internally. To access a vector type's elements, you can use theIntoorDereftraits to obtain an array, or theas_slice/as_mut_slicemethods to obtain a slice. (#159 by @valadaptive) -
Breaking change: the
Elementtype on theSimdBasetrait is now an associated type instead of a type parameter. This should make it more pleasant to write code that's generic over different vector types. (#170 by @valadaptive) -
The
WasmSimd128token type now wraps the newcrate::core_arch::wasm32::WasmSimd128type. This doesn't expose any new functionality as WASM SIMD128 can only be enabled statically, but matches all the other backend tokens. (#176 by @valadaptive) -
Breaking change: the
SimdFrom::simd_frommethod now takes the SIMD token as the first argument instead of the second. This matches the argument order of thefrom_slice,splat, andfrom_fnmethods onSimdBase. (#180 by @valadaptive)
0.3.0 (2025-10-14)
This release has an MSRV of 1.86.
SimdBase::witnessto fetch theSimdimplementation associated with a generic vector. (#76 by @Ralith)Selectis now available on native-width masks. (#77, #83 by @Ralith)Simd::shrv_*preforms a right shift with shift amount specified per-lane. (#79 by @Ralith)- The
>>operator is implemented for SIMD vectors. (#79 by @Ralith) - Assignment operator implementations. (#80 by @Ralith)
SimdFromsplatting is available on native-width vectors. (#84 by @Ralith)- Left shift by u32. (#86 by @Ralith)
- Unary negation of signed integers. (#91 by @Ralith)
- A simpler
dispatchmacro to replacesimd_dispatch. (#96, #99 by @Ralith, @DJMcNab)
Simdnow requires consistent mask types for native-width vectors. (#75 by @Ralith)Simdnow requires consistentBytestypes for native-width vectors, enablingBytes::bitcastin generic code. (#81 by @Ralith)- Scalar fallback now uses wrapping integer addition. (#85 by @Ralith)
- Breaking:
a.madd(b, c)anda.msub(b, c)now correspond toa * b + canda * b - cfor consistency withmul_addin std. (#88 by @Ralith) Previously,maddwasa + b * c, andmsubwasa - b * c. Therefore, if you previously hada.madd(b, c), that's now written asb.madd(c, a). And if you hada.msub(b, c), that's now writtenb.madd(-c, a). - Constructors for static SIMD levels are now
const(#93 by @Ralith)
0.2.0 (2025-08-26)
There has been a complete rewrite of Fearless SIMD. For some details of the ideas used, see our blog post Towards fearless SIMD, 7 years later.
The repository has also been moved into the Linebender organisation.
0.1.1 (2018-11-05)
No changelog was kept for this release.
0.1.0 (2018-10-19)
This is the initial release. No changelog was kept for this release.