]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/rs6000/dfp.md
rs6000: Use iterators in more DFP patterns
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 8 Aug 2019 20:16:53 +0000 (22:16 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 8 Aug 2019 20:16:53 +0000 (22:16 +0200)
commitb1bb81608e684070fd15bb378fb38fc7527e406f
treec91f49fa017898d09d38a7991665a9f7f9a049ed
parente98c3ee9712a360b4f470f930ac0c68863db1d3f
rs6000: Use iterators in more DFP patterns

I noticed some patterns in dfp.md could use the D64_D128 iterator but
don't yet.  This converts all remaining simple cases.

* config/rs6000/dfp.md (D64_D128): Move earlier in the file.
(dfp_suffix): Ditto.
(adddd3, addtd3): Merge to ...
(add<mode>3 for D64_D128): ... this.
(subdd3, subtd3): Merge to ...
(sub<mode>3 for D64_D128): ... this.
(muldd3, multd3): Merge to ...
(mul<mode>3 for D64_D128): ... this.
(divdd3, divtd3): Merge to ...
(div<mode>3 for D64_D128): ... this.
(*cmpdd_internal1, *cmptd_internal1): Merge to ...
(*cmp<mode>_internal1 for D64_D128): ... this.
(ftruncdd2, ftrunctd2): Merge to ...
(ftrunc<mode>2 for D64_D128): ... this.
(fixdddi2, fixtddi2): Merge to ...
(fix<mode>di2 for D64_D128): ... this.

From-SVN: r274217
gcc/ChangeLog
gcc/config/rs6000/dfp.md