Re: [PATCH 2/4] x86/xor: improve XMM register spill/fill

From: H. Peter Anvin
Date: Mon Sep 10 2012 - 10:06:08 EST

On 09/10/2012 05:38 AM, Jan Beulich wrote:
+ * By forcing the alignment beyond the default of 16 bytes, we make the
+ * compiler guarantee the alignment. Passing -mincoming-stack-boundary=3
+ * (which would have been the better global alternative, as the kernel
+ * never guarantees better stack alignment) isn't permitted on x86-64.
+ */

The very latest gcc should handle it, and in fact we compile with -mstack-alignment=3 if gcc accepts it (if it is not yet upstream it will be soon.) This affects the validity of this patch.


H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at