diff options
author | Martin Liska <mliska@suse.cz> | 2014-11-24 11:41:18 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2014-11-24 10:41:18 +0000 |
commit | fd27ffab14e3b7c131cc2e454edcd11c9cc53c2e (patch) | |
tree | fc054fc4a4670f251324a07ce04dee2b8dc12fa8 /gcc/java/class.c | |
parent | 6a569cdda92269d42ae8e2cccd8c0f07d39b5d0c (diff) | |
download | gcc-fd27ffab14e3b7c131cc2e454edcd11c9cc53c2e.zip gcc-fd27ffab14e3b7c131cc2e454edcd11c9cc53c2e.tar.gz gcc-fd27ffab14e3b7c131cc2e454edcd11c9cc53c2e.tar.bz2 |
[PATCH 1/2] Negative numbers added for sreal class.
* predict.c (propagate_freq): More elegant sreal API is used.
(estimate_bb_frequencies): Precomputed constants replaced by integer
constants.
* sreal.c (sreal::normalize): New function.
(sreal::to_int): Likewise.
(sreal::operator+): Likewise.
(sreal::operator-): Likewise.
(sreal::signedless_plus): Likewise.
(sreal::signedless_minus): Likewise.
(sreal::operator/): Negative number support is added.
* sreal.h: Definition of new functions added.
(inline sreal operator<<): New function.
(inline sreal operator>>): Likewise.
From-SVN: r218008
Diffstat (limited to 'gcc/java/class.c')
0 files changed, 0 insertions, 0 deletions