Closed dogod621 closed 5 years ago
Data alignment to enable SIMD instructions. Taken from that same page
Programming with particular SIMD instruction sets can involve numerous low-level challenges.
- SIMD may have restrictions on data alignment; programmers familiar with one particular architecture may not expect this.
Edit: One more for you to read on https://en.wikipedia.org/wiki/Data_structure_alignment
Thanks
For example:
Why put 1~3 float in float 4 struct and leave some space unused? Is there any cache issue or any reason @@?
Your Environment
Context
Expected Behavior
Current Behavior
Code to Reproduce
Possible Solution