diff options
author | Dominik Vogt <vogt@linux.vnet.ibm.com> | 2016-08-23 09:01:42 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2016-08-23 09:01:42 +0000 |
commit | deb9351fafe1032ced16f9608068f65930e06841 (patch) | |
tree | f500d077aa5fb6b297c28e717a86ed721f7cfbc5 /libgcc/sync.c | |
parent | 1fd9f058f37ba4c17cd34e961fe4879e7dd7e3bc (diff) | |
download | gcc-deb9351fafe1032ced16f9608068f65930e06841.zip gcc-deb9351fafe1032ced16f9608068f65930e06841.tar.gz gcc-deb9351fafe1032ced16f9608068f65930e06841.tar.bz2 |
S/390: Add splitter for "and" with complement.
Split ~b & a to (b & a) ^ a. This is benefitial on z Systems since we
otherwise need a big -1 constant to be loaded for the ~b.
gcc/ChangeLog:
2016-08-23 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/s390/s390.md ("*andc_split"): New splitter for and with
complement.
gcc/testsuite/ChangeLog:
2016-08-23 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gcc.target/s390/md/andc-splitter-1.c: New test case.
* gcc.target/s390/md/andc-splitter-2.c: Likewise.
From-SVN: r239685
Diffstat (limited to 'libgcc/sync.c')
0 files changed, 0 insertions, 0 deletions