tls_alignment.cpp | 8 int some_data[16]; // 64 bytes of stuff, non aligned. member in struct:non_aligned_struct 13 int some_data[12]; // 48 bytes of stuff, aligned to 64. member in struct:aligned_struct 47 return foo.some_data[0] + bar.some_data[1] + bar2.some_data[2] + 48 bar3.some_aligned_data[3] + bar4.some_data[4] + 49 bar5.some_data[5];
|