Re: earlyclobber

From: Roman Zippel (zippel@linux-m68k.org)
Date: Sun Dec 23 2001 - 07:39:25 EST


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/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:29 EST