Releases: V0ldek/aligners
Releases · V0ldek/aligners
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
[0.0.5] - 2022-05-27
Features
Add support for AVX512.
- When the
avx512f
target feature is enabled theSimdBlock
is set to 64 bytes.
Reliability
Enable local simd-size-matrix tests.
- One can use the
test_simd_sizes.py
script to run the simd-size test matrix locally.
v0.0.4
[0.0.4] - 2022-05-25
Features
Support sse
target feature.
- When the
sse
target feature is enabled
on x86/x86_64 theSimdBlock
size is 16 bytes,
unless a target feature with a larger vector is also enabled.
Related: #18
Reliability
Miri test on windows targets.
Added simd_alignment_test
.
- Test whether the size of
SimdBlock
agrees with the expected one
for a given target.
Added simd-size-matrix test.
- Use
simd_alignment_test
to check whetherSimdBlock
sizes
remain consistent across targets.
v0.0.3
[0.0.3] - 2022-05-18
Bug Fixes
Impl of Default
returning unaligned ptrs.
- Implementations of
Default
for AlignedBytes
&AlignedSlice
&mut AlignedSlice
- were incorrect by using
NonNull::dangling
as the pointer. - That pointer need not be aligned to the specified
Alignment
. - This was fixed by using std's
dangling
implementation tweaked to - the required alignment, while still not allocating.
Related: #11
Reliability
Allow miri symbolic-alignment-check.
- Miri's
-Zmiri-symbolic-alignment-check
breaksalign_offset
to always returnusize::MAX
(that is by design), so we need to fallback to regular cast-then-modulo alignment check for tests when running under Miri.
Related: #12
v0.0.2
v0.0.1
[0.0.1] - 2022-05-17
Features
Initial API.
- Alignment types driven by the
alignment
module. AlignedBytes
-- aligned containerAlignedSlice
-- type guarantee on alignment of&[u8]
AlignedBlockIterator
-- iterate aligned blocks of a slice.- Quality of life implementations of
Deref
andstd::cmp
traits.
Reliability
Automatically generate changelog (#1).
Related: #1