Hacker News new | ask | show | jobs
by eddtests 1000 days ago
gcc has some compiler arguments to automate this from what I understand (-falign) https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
1 comments

Currently those GCC flags are only about instruction alignment. The article shows a simple example of runtime data alignment.