Re: Fix asm constraint in put_user

From: Andreas Schwab <schwab_at_suse.de>
Date: 2005-11-22 03:48:31
David Mosberger-Tang <David.Mosberger@acm.org> writes:

> If memory services, you should use the "o" constraint instead. 

That doesn't work.

> Note that there is no "memory" clobber, so if you change from "m" to "r"
> constraint, GCC won't know that the location at "addr" is being stored
> to.

There is nothing worth clobbering here.  The memory written to is
completely separate to anything GCC knows about.  The old version didn't
clobber either.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Nov 22 03:49:22 2005

This archive was generated by hypermail 2.1.8 : 2005-11-22 03:49:28 EST