diff options
author | Kugan Vivekanandarajah <kuganv@linaro.org> | 2018-10-29 00:03:20 +0000 |
---|---|---|
committer | Kugan Vivekanandarajah <kugan@gcc.gnu.org> | 2018-10-29 00:03:20 +0000 |
commit | 64f7ea7c546ff900eb7647b1726082007a7cd3a2 (patch) | |
tree | 144f8b42f63575422e934ff3c3ab7206e252bf9f /gcc/doc | |
parent | 881eaae68818cab0b3419482586174582c348ed7 (diff) | |
download | gcc-64f7ea7c546ff900eb7647b1726082007a7cd3a2.zip gcc-64f7ea7c546ff900eb7647b1726082007a7cd3a2.tar.gz gcc-64f7ea7c546ff900eb7647b1726082007a7cd3a2.tar.bz2 |
gimplefe-30.c: New test.
gcc/testsuite/ChangeLog:
2018-10-28 Kugan Vivekanandarajah <kuganv@linaro.org>
* gcc.dg/gimplefe-30.c: New test.
* gcc.dg/gimplefe-31.c: New test.
* gcc.dg/gimplefe-32.c: New test.
* gcc.dg/gimplefe-33.c: New test.
gcc/ChangeLog:
2018-10-28 Kugan Vivekanandarajah <kuganv@linaro.org>
* doc/generic.texi (ABSU_EXPR): Document.
* match.pd (absu(x)*absu(x) -> x*x): Handle.
(absu(absu(X)) -> absu(X)): Likewise.
(absu(-X) -> absu(X)): Likewise.
(absu(X) where X is nonnegative -> X): Likewise.
From-SVN: r265578
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/generic.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi index cf4bcf5..5d0a541 100644 --- a/gcc/doc/generic.texi +++ b/gcc/doc/generic.texi @@ -1274,6 +1274,7 @@ the byte offset of the field, but should not be used directly; call @subsection Unary and Binary Expressions @tindex NEGATE_EXPR @tindex ABS_EXPR +@tindex ABSU_EXPR @tindex BIT_NOT_EXPR @tindex TRUTH_NOT_EXPR @tindex PREDECREMENT_EXPR @@ -1371,6 +1372,11 @@ or complex abs of a complex value, use the @code{BUILT_IN_CABS}, to implement the C99 @code{cabs}, @code{cabsf} and @code{cabsl} built-in functions. +@item ABSU_EXPR +These nodes represent the absolute value of the single operand in +equivalent unsigned type such that @code{ABSU_EXPR} of TYPE_MIN is +well defined. + @item BIT_NOT_EXPR These nodes represent bitwise complement, and will always have integral type. The only operand is the value to be complemented. |