aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-06-28 12:01:28 -0700
committerRichard Henderson <rth@gcc.gnu.org>2012-06-28 12:01:28 -0700
commit99651574134ba16dc5256f70b2dcf13473f7e497 (patch)
treea130e1fa1b2258babeb35968d7d5b721032a4286 /gcc
parent5deb57cb1bb8b3c7e79e16d21e4410611dab5684 (diff)
downloadgcc-99651574134ba16dc5256f70b2dcf13473f7e497.zip
gcc-99651574134ba16dc5256f70b2dcf13473f7e497.tar.gz
gcc-99651574134ba16dc5256f70b2dcf13473f7e497.tar.bz2
Document MULT_HIGHPART_EXPR
From-SVN: r189054
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/generic.texi6
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4e32776..29ecf36 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-28 Richard Henderson <rth@redhat.com>
+
+ * doc/generic.texi (MULT_HIGHPART_EXPR): Document it.
+
2012-06-28 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/51581
diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi
index e99366f..c48b663 100644
--- a/gcc/doc/generic.texi
+++ b/gcc/doc/generic.texi
@@ -1235,6 +1235,7 @@ the byte offset of the field, but should not be used directly; call
@tindex PLUS_EXPR
@tindex MINUS_EXPR
@tindex MULT_EXPR
+@tindex MULT_HIGHPART_EXPR
@tindex RDIV_EXPR
@tindex TRUNC_DIV_EXPR
@tindex FLOOR_DIV_EXPR
@@ -1433,6 +1434,11 @@ one operand is of floating type and the other is of integral type.
The behavior of these operations on signed arithmetic overflow is
controlled by the @code{flag_wrapv} and @code{flag_trapv} variables.
+@item MULT_HIGHPART_EXPR
+This node represents the ``high-part'' of a widening multiplication.
+For an integral type with @var{b} bits of precision, the result is
+the most significant @var{b} bits of the full @math{2@var{b}} product.
+
@item RDIV_EXPR
This node represents a floating point division operation.