diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2016-08-15 20:46:53 +0200 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2016-08-15 20:46:53 +0200 |
commit | 432baa029c933e11934dddfd7ec355dcbdb4ea67 (patch) | |
tree | 3d80b7ede24baff6d342431517b6fd266918e311 /gcc/fortran/decl.c | |
parent | 87155d4f6c847cd072321424831fd0ffb405265d (diff) | |
download | gcc-432baa029c933e11934dddfd7ec355dcbdb4ea67.zip gcc-432baa029c933e11934dddfd7ec355dcbdb4ea67.tar.gz gcc-432baa029c933e11934dddfd7ec355dcbdb4ea67.tar.bz2 |
re PR target/72867 (SSE/AVX/AVX512: incorrect optimization of VMINPS/VMAXPS at compile time)
PR target/72867
* config/i386/sse.md (<code><mode>3<mask_name><round_saeonly_name>):
Emit ieee_<ieee_maxmin><mode>3<mask_name><round_saeonly_name>
for !flag_finite_math_only or flag_signed_zeros.
(*<code><mode>3<mask_name><round_saeonly_name>): Rename from
*<code><mode>3_finite<mask_name><round_saeonly_name>. Do not
depend on flag_finite_math_only.
(ieee_<ieee_maxmin><mode>3<mask_name><round_saeonly_name>):
New insn pattern.
(*<code><mode>3<mask_name><round_saeonly_name>): Remove.
(*ieee_smin<mode>3): Ditto.
(*ieee_smax<mode>3): Ditto.
* config/i386/mmx.md (mmx_<code>v2sf3): Emit
mmx_ieee_<ieee_maxmin>v2sf3 for !flag_finite_math_only or
flag_signed_zeros.
(*mmx_<code>v2sf3): Rename from *mmx_<code>v2sf3_finite. Do not
depend on flag_finite_math_only.
(mmx_ieee_<ieee_maxmin>v2sf3): New insn pattern.
(*mmx_<code>v2sf3): Remove.
* config/i386/subst.md (round_saeonly_mask_arg3): New subst attribute.
* config/i386/i386.c (ix86_expand_sse_fp_mimnax): Check
flag_signed_zeros instead of !flag_unsafe_math_optimizations.
testsuite/ChangeLog:
PR target/72867
* gcc.target/i386/pr72867.c: New test.
From-SVN: r239487
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions