diff options
Diffstat (limited to 'gcc/doc/rtl.texi')
-rw-r--r-- | gcc/doc/rtl.texi | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 8db2e9ccc6f..1c9a4e49230 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -1545,7 +1545,7 @@ preferable approach if only a small subset of instructions modify the condition code. Other machines store condition codes in general registers; in such cases a pseudo register should be used. -Some machines, such as the Sparc and RS/6000, have two sets of +Some machines, such as the SPARC and RS/6000, have two sets of arithmetic instructions, one that sets and one that does not set the condition code. This is best handled by normally generating the instruction that does not set the condition code, and making a pattern @@ -2355,11 +2355,11 @@ An hypothetical example might be a pattern for an addition that can either wrap around or use saturating addition depending on the value of a special control register: -@example +@smallexample (parallel [(set (reg:SI 2) (unspec:SI [(reg:SI 3) (reg:SI 4)] 0)) (use (reg:SI 1))]) -@end example +@end smallexample @noindent @@ -2577,9 +2577,6 @@ Represents the side effect of setting @var{x} to @var{y} and represents @var{x} before @var{x} is modified. @var{x} must be a @code{reg} or @code{mem}, but most machines allow only a @code{reg}. @var{m} must be the machine mode for pointers on the machine in use. -The amount @var{x} is decremented by is the length in bytes of the -machine mode of the containing memory reference of which this expression -serves as the address. Note that this is not currently implemented. The expression @var{y} must be one of three forms: @table @code @@ -2591,10 +2588,10 @@ where @var{z} is an index register and @var{i} is a constant. Here is an example of its use: -@example +@smallexample (mem:SF (post_modify:SI (reg:SI 42) (plus (reg:SI 42) (reg:SI 48)))) -@end example +@end smallexample This says to modify pseudo register 42 by adding the contents of pseudo register 48 to it, after the use of what ever 42 points to. |