Skip to content
systemcoding.dev

Tag

simd

6 posts

Flat illustration of a CPU core with its cache levels and main memory, with the Arm, AMD and Apple logos.
Performance

Write ARM NEON Intrinsics With arm_neon.h

Use arm_neon.h to write NEON vector loops in C for AArch64: float32x4_t, vld1q_f32, vaddq_f32, vfmaq_f32 and vaddvq_f32, with a full dot product and its output.

7 min read
Flat illustration of a CPU core with its cache levels and main memory, with the Intel, Arm and Apple logos.
Performance

Port an SSE Intrinsics Loop to AVX2

Convert a 128-bit SSE integer loop to 256-bit AVX2: new types, a step of eight, the -mavx2 flag, runtime dispatch and the lane-crossing trap.

6 min read