Re: Fix asm constraint in put_user

James E Wilson
2005-11-21T19:03:15Z

On Mon, 2005-11-21 at 07:12, Andreas Schwab wrote:
> The st insn on the ia64 does not allow the post-increment to come from a
> register (only ld does). Thus the "m" constraint is not suitable for the
> asm statement in __put_user_size.

You could use the "S" constraint here. This isn't used anywhere in
gcc. This exists solely for use by asms that need a non-postinc MEM.