summaryrefslogtreecommitdiff
path: root/gcc/doc/rtl.texi
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2009-10-20 03:33:57 +0000
committerJie Zhang <jiez@gcc.gnu.org>2009-10-20 03:33:57 +0000
commit91c29f68eff59da1492313465d69ee06fe0fc2f0 (patch)
tree215811f05a33501103a4c001e296e437ab58ed09 /gcc/doc/rtl.texi
parent8c44c845be0520621b6123986400ce7669dc3113 (diff)
downloadgcc-91c29f68eff59da1492313465d69ee06fe0fc2f0.tar.gz
simplify-rtx.c (simplify_const_unary_operation): Handle SS_ABS.
* simplify-rtx.c (simplify_const_unary_operation): Handle SS_ABS. * doc/rtl.texi: Document ss_abs. From-SVN: r153003
Diffstat (limited to 'gcc/doc/rtl.texi')
-rw-r--r--gcc/doc/rtl.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index ba72b48096b..e28ba032cdd 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -2364,9 +2364,14 @@ Similar but represent left and right rotate. If @var{c} is a constant,
use @code{rotate}.
@findex abs
+@findex ss_abs
@cindex absolute value
@item (abs:@var{m} @var{x})
+@item (ss_abs:@var{m} @var{x})
Represents the absolute value of @var{x}, computed in mode @var{m}.
+@code{ss_abs} ensures that an out-of-bounds result saturates to the
+maximum signed value.
+
@findex sqrt
@cindex square root