diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2020-12-29 08:43:38 +0100 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2020-12-29 08:44:20 +0100 |
commit | d2754fbb65dd3b81487769317bae4e9a8cee01c9 (patch) | |
tree | d8487c36e16f2458f51c53cef16bcedaf9fb0692 /gcc/tree-ssa-threadbackward.c | |
parent | 2d3425a52f3483dac31deea00db305e864544ccf (diff) | |
download | gcc-d2754fbb65dd3b81487769317bae4e9a8cee01c9.zip gcc-d2754fbb65dd3b81487769317bae4e9a8cee01c9.tar.gz gcc-d2754fbb65dd3b81487769317bae4e9a8cee01c9.tar.bz2 |
i386: Rounding functions TLC
Use copy_to_reg where appropriate, use int_mode_for_mode
and fix comment indentation.
2020-12-29 Uroš Bizjak <ubizjak@gmail.com>
gcc/
* config/i386/i386-expand.c (ix86_gen_TWO52): Use REAL_MODE_FORMAT
to determine number of mantissa bits. Use real_2expN instead
of real_ldexp.
(ix86_expand_rint): Use copy_to_reg.
(ix86_expand_floorceildf_32): Ditto.
(ix86_expand_truncdf_32): Ditto.
(ix86_expand_rounddf_32): Ditto.
(ix86_expand_floorceil): Use copy_to_reg and int_mode_for_mode.
(ix86_expand_trunc): Ditto.
(ix86_expand_round): Ditto.
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions