aboutsummaryrefslogtreecommitdiff
path: root/gcc/double-int.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-05-07 11:26:58 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-05-07 11:26:58 +0000
commit39e843e8a7a15d93c6a23ec007e70738505291b3 (patch)
tree91a77a6eacde49e871b7513dea7db0186678681a /gcc/double-int.h
parent0a1a83cba32006411c4ce4793ca516406489cfae (diff)
downloadgcc-39e843e8a7a15d93c6a23ec007e70738505291b3.zip
gcc-39e843e8a7a15d93c6a23ec007e70738505291b3.tar.gz
gcc-39e843e8a7a15d93c6a23ec007e70738505291b3.tar.bz2
double-int.h (rshift): New overload.
2013-05-07 Richard Biener <rguenther@suse.de> * double-int.h (rshift): New overload. * double-int.c (rshift): New function. * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Optimize. (create_reference_ops_from_ref): Remove. (vn_reference_insert): Use shared ops for constructing the reference and copy it. From-SVN: r198676
Diffstat (limited to 'gcc/double-int.h')
-rw-r--r--gcc/double-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/double-int.h b/gcc/double-int.h
index 39929d2..8e709e6 100644
--- a/gcc/double-int.h
+++ b/gcc/double-int.h
@@ -130,6 +130,7 @@ struct double_int
double_int lshift (HOST_WIDE_INT count) const;
double_int lshift (HOST_WIDE_INT count, unsigned int prec, bool arith) const;
+ double_int rshift (HOST_WIDE_INT count) const;
double_int rshift (HOST_WIDE_INT count, unsigned int prec, bool arith) const;
double_int alshift (HOST_WIDE_INT count, unsigned int prec) const;
double_int arshift (HOST_WIDE_INT count, unsigned int prec) const;