diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2011-08-12 14:32:41 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-08-12 14:32:41 +0200 |
commit | 6c32ee74491f947dafdce3656c6ec9e48a185fdb (patch) | |
tree | cd499a40f57a9bb51448aec4aefe1d8a6decc748 /gcc/tree-streamer.c | |
parent | d9fbc86e446fd574db0d79c3af8d0bd2b1cdc820 (diff) | |
download | gcc-6c32ee74491f947dafdce3656c6ec9e48a185fdb.zip gcc-6c32ee74491f947dafdce3656c6ec9e48a185fdb.tar.gz gcc-6c32ee74491f947dafdce3656c6ec9e48a185fdb.tar.bz2 |
builtins.def (BUILT_IN_ICEIL{,F,L}, [...]): New builtin definitions.
* builtins.def (BUILT_IN_ICEIL{,F,L}, BUILT_IN_IFLOOR{,F,L}
BUILT_IN_IRINT{,F,L}, BUILT_IN_IROUND{,F,L}: New builtin definitions.
* convert.c (convert_to_integer): Convert to BUILT_IN_ICEIL,
BUILT_IN_IFLOOR, BUILT_IN_IRINT or BUILT_INT_IROUND when converting
to integer_type_node.
* fold-const.c (tree_call_nonnegative_warnv_p): Handle BUILT_IN_ICEIL,
BUILT_IN_IFLOOR, BUILT_IN_IRINT and BUILT_INT_IROUND.
* builtins.c (expand_builtin_in): Ditto.
(mathfn_built_in_1): Ditto.
(expand_builtin_int_roundingfn): Handle BUILT_IN_ICEIL and
BUILT_IN_IFLOOR.
(expand_builtin_int_roundingfn_2): Handle BUILT_IN_IRINT and
BUILT_IN_IROUND.
(fold_fixed_mathfn): Canonicalize BUILT_IN_ICEIL, BUILTIN_IN_IFLOOR
BUILT_IN_IRINT and BUILT_IN_IROUND to BUILT_IN_LCEIL,
BUILTIN_IN_LFLOOR, BUILT_IN_LRINT and BUILT_IN_LROUND on ILP32 targets.
testsuite/ChangeLog:
* gcc.dg/builtins-67.c: New test.
* gcc.target/i386/conversion.c: Ditto.
From-SVN: r177694
Diffstat (limited to 'gcc/tree-streamer.c')
0 files changed, 0 insertions, 0 deletions