Re: earlyclobber

Roman Zippel (zippel@linux-m68k.org)
Sun, 23 Dec 2001 13:39:25 +0100


Hi,

Frank Cornelis wrote:

> I think that in the file include/asm-i386/uaccess.h in some macro's the
> ecx register should be marked as an "earlyclobber" operand since it is
> one. Patch follows.
>
> Frank.
>
> @@ -337,7 +337,7 @@
> " .align 4\n" \
> " .long 0b,2b\n" \
> ".previous" \
> - : "=c"(size), "=&S" (__d0), "=&D" (__d1)\
> + : "=&c"(size), "=&S" (__d0), "=&D" (__d1)\
> : "1"(from), "2"(to), "0"(size/4) \
> : "memory"); \
> break; \

This isn't needed, as there is no input operand to which it could be
assigned to.

bye, Roman

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/