Skip to main content

Module simd

Module simd 

Source
Expand description

SIMD-accelerated operations.

Platform support:

  • ARM64: NEON intrinsics
  • x86_64: SSE2/AVX2 intrinsics
  • Other (WASM, etc.): Scalar fallbacks

Modules:

  • base64 โ€” base64 encode/decode (NEON TBL, SSSE3/AVX2 multiply-shift and pshufb, scalar LUT)
  • hex โ€” hex encode/decode (NEON TBL, SSE2/AVX2 arithmetic, scalar LUT)
  • image โ€” nearest-neighbor RGBA downsample (NEON gather, SSE2 gather, scalar)

Modulesยง

base64
Base64 (RFC 4648) encode and decode: NEON on ARM64, AVX2/SSSE3 on x86_64, scalar elsewhere.
hex
SIMD-accelerated hex encoding and decoding
image
SIMD-accelerated image operations.