Skip to content

Commit 3915bef

Browse files
authored
Merge pull request #144 from AdaWorldAPI/claude/u8x32-polyfill-round3
feat(simd_avx2): add U8x32 — native AVX2 byte vector (round-3 keystone)
2 parents fd11845 + bc71b6b commit 3915bef

2 files changed

Lines changed: 526 additions & 0 deletions

File tree

src/simd.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,14 @@ pub use crate::simd_avx2::{
265265
I32x16, I64x8, I8x64, U16x32, U32x16, U64x8, U8x64,
266266
};
267267

268+
// U8x32 — native AVX2 byte width (one __m256i = 32 bytes). Available on
269+
// both AVX-512 and AVX2 builds: it's the natural width for byte-level
270+
// AVX2 ops, and on AVX-512 builds it's the half-register companion to
271+
// U8x64. Lives in simd_avx2.rs (single source of truth) and is re-exported
272+
// from both tier branches.
273+
#[cfg(target_arch = "x86_64")]
274+
pub use crate::simd_avx2::{u8x32, U8x32};
275+
268276
// ============================================================================
269277
// Non-x86: scalar fallback types with identical API
270278
// ============================================================================

0 commit comments

Comments
 (0)