From f4b2452702cbc019084dc058e1d995b69f0bb5dc Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 24 Oct 2012 04:45:55 +0000 Subject: [PATCH] extend.texi (Extended Asm): The '+' constraint does not require a register. * doc/extend.texi (Extended Asm): The '+' constraint does not require a register. From-SVN: r192756 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe529925d4e..9b780ee7c37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-10-23 Ian Lance Taylor + + * doc/extend.texi (Extended Asm): The '+' constraint does not + require a register. + 2012-10-23 Jeff Law * tree-ssa-threadedge.c (thread_across_edge): Remove unused diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 6bf929a5c40..fb1becb9912 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -5864,10 +5864,7 @@ The ordinary output operands must be write-only; GCC will assume that the values in these operands before the instruction are dead and need not be generated. Extended asm supports input-output or read-write operands. Use the constraint character @samp{+} to indicate such an -operand and list it with the output operands. You should only use -read-write operands when the constraints for the operand (or the -operand in which only some of the bits are to be changed) allow a -register. +operand and list it with the output operands. You may, as an alternative, logically split its function into two separate operands, one input operand and one write-only output -- 2.30.2