New sreal implementation which uses int64_t as m_sig.
authorMartin Liska <mliska@suse.cz>
Wed, 10 Dec 2014 14:10:21 +0000 (15:10 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 10 Dec 2014 14:10:21 +0000 (14:10 +0000)
commitd1704358924217b920bb60e0197282154fa02a4b
treeffe4ab982c92ed3a2f7657504310fbfd73c09665
parent42c0b54df5517af870ae4f50c32886ac77af2046
New sreal implementation which uses int64_t as m_sig.

* sreal.c (sreal::shift_right): New implementation
for int64_t as m_sig.
(sreal::normalize): Likewise.
(sreal::to_int): Likewise.
(sreal::operator+): Likewise.
(sreal::operator-): Likewise.
(sreal::operator*): Likewise.
(sreal::operator/): Likewise.
(sreal::signedless_minus): Removed.
(sreal::signedless_plus): Removed.
(sreal::debug): const keyword is added.
* sreal.h (sreal::operator<): New implementation
for int64_t as m_sig.
* ipa-inline.c (recursive_inlining): LONG_MIN is replaced
with sreal::min ().

From-SVN: r218579
gcc/ChangeLog
gcc/ipa-inline.c
gcc/sreal.c
gcc/sreal.h