This repository contains a series of examples showing how to solve the alignment problems in vectorization.
Here is the order it appears in the blog.
- unaligned_vectorization.cpp
- aligned_vectorization.cpp
- encapsulated_vectorization.cpp
- unaligned_heap_vectorization.cpp
- aligned_heap_vectorization.cpp
- malicious_aligned_heap_vectorization.cpp
- antimalicious_aligned_heap_vectorization.cpp
See more details in 从Eigen向量化谈内存对齐.