Add support for CPU-based alignment handling