On 17/09/11 7:11 PM, Adam D. Ruppe wrote:
Perhaps:

void foo() {
         struct V { align(16) float[4] v = [1.0f, 2.0f, 3.0f, 4.0f]; }
        V v;
        asm {
                movaps XMM0, v;
        }
}


It compiles, but I'm not sure if it's actually correct.

If I am correct, that only aligns it within the struct, it doesn't align the struct itself.

Reply via email to