Re: [patch 3/8] mutex subsystem, add atomic_*_call_if_*() to i386

From: Linus Torvalds
Date: Wed Dec 21 2005 - 17:40:50 EST




On Wed, 21 Dec 2005, Ingo Molnar wrote:
>
> hm, i thought gcc treats all explicitly used register in the asm as
> clobbered - and i'm using %%eax explicitly for that reason.

Nope, they are totally invisible to gcc afaik. It just sees "%%" and
changes it into "%", and ignores the rest.

Linus
-
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/