Re: [BUG FIX] Make x86_32 uni-processor Atomic ops, Atomic
From: H. Peter Anvin
Date: Sun May 24 2009 - 14:46:50 EST
Michael S. Zick wrote:
> Note: I have seem to recall that newer gcc's optimizer presume
> that the flags register is preserved across asm -
> It didn't use to do that - but there is now a "cc" to deal with
> that - Have not yet audited for that, but it is high on my list.
I am pretty sure that's false... if it was true we'd have failures all
over the kernel.
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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/