]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/s390/s390.md
S/390: Rearrange fixuns_trunc pattern definitions.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 24 Mar 2017 13:59:13 +0000 (13:59 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 24 Mar 2017 13:59:13 +0000 (13:59 +0000)
commit9751ad6e9b79eeff55e7a81272be85dddb842e0f
tree1bfcbef3bf46dca78b0d4f6a139e9e7e2dc5f157
parent77c585ca576b4bc6bf7850c40771862667f6c0e7
S/390: Rearrange fixuns_trunc pattern definitions.

This reworks the fixuns_trunc* patterns a bit which got quite confusing
after adding z13 support.  Now we just have a single RTL standard name
expander definition ("fixuns_trunc<FP:mode><GPR:mode>2") which then
multiplexes to either the emulation variants *_emu or the hardware
implementations.

gcc/ChangeLog:

2017-03-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390.md
("fixuns_truncdddi2", "fixuns_trunctddi2")
("fixuns_trunc<BFP:mode><GPR:mode>2"): Merge into ...
("fixuns_trunc<FP:mode><GPR:mode>2"): New expander.

("fixuns_trunc<BFP:mode><GPR:mode>2", "fixuns_trunc<mode>si2"):
Rename expanders to ...

("fixuns_trunc<BFP:mode><GPR:mode>2_emu")
("fixuns_truncdddi2_emu"): ... these.

("fixuns_trunc<mode>si2_emu"): New expander.

("*fixuns_truncdfdi2_z13"): Rename to ...
("*fixuns_truncdfdi2_vx"): ... this.

From-SVN: r246451
gcc/ChangeLog
gcc/config/s390/s390.md