Sorry I didn't see your response.

> 1. Manually checking that will likely not affect the compiler. Again, you can implement your own optimizations, but that's not what you want to do.

I wasn't implying to do it manually. Compilers do it all the time.

2, I understand and would use. I also want to restrict input alignment.

3, I never knew, but compilers I use for x86 on linux seem to think it's fine to just check memory address distances.