[PATCH] S/390: Improve risbg usage
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 24 Jul 2015 11:28:06 +0000 (11:28 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 24 Jul 2015 11:28:06 +0000 (11:28 +0000)
commit3d44ff9919d50db3a67bee88235bbdb9735ba34b
treeebb22a10af14a6b8498dfe67c1ae6abb2122c957
parentbacf8ec3dff179036cbf31719087926e9036d898
[PATCH] S/390: Improve risbg usage

gcc/ChangeLog:

2015-07-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

    * config/s390/s390.c (s390_rtx_costs): Make risbg patterns
    cheaper.
    (s390_expand_insv): Don't generate risbg pattern for constant zero
    sources.
    * config/s390/s390.md ("*insv<mode>_zEC12_appendbitsleft")
    ("*insv<mode>_z10_appendbitsleft"): New pattern definitions.  New
    splitters.

gcc/testsuite/ChangeLog:

2015-07-24  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

    * gcc.target/s390/insv-1.c: New test.
    * gcc.target/s390/insv-2.c: New test.
    * gcc.target/s390/insv-3.c: New test.

From-SVN: r226148
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/config/s390/s390.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/insv-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/insv-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/insv-3.c [new file with mode: 0644]