重複の可能性:
GCC __attribute__((aligned(x)) の説明
最初の行の '_attribute_((aligned(4)));' の意味は何ですか?
この 2 つのコードは何を意味するのでしょうか? 特に、__attribute__ ((aligned(..)))
部品。
struct my_struct {
int64_t a;
int64_t b;
} __attribute__ ((aligned(16)));
と
struct my_struct2 { double arr[4] __attribute__((aligned(64))); };