aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2018-05-24 20:47:03 +0000
committerJeff Law <law@gcc.gnu.org>2018-05-24 14:47:03 -0600
commitba6557e2686306942b157c3350e7497e551afb80 (patch)
tree4a8896b5cc8eb4200c03939215754c0b775e381e /README
parent520fe2e324da4b1aa2c1fbac29741bd45afa98c1 (diff)
downloadgcc-ba6557e2686306942b157c3350e7497e551afb80.zip
gcc-ba6557e2686306942b157c3350e7497e551afb80.tar.gz
gcc-ba6557e2686306942b157c3350e7497e551afb80.tar.bz2
fold-const.c (tree_nonzero_bits): New function.
* fold-const.c (tree_nonzero_bits): New function. * fold-const.h (tree_nonzero_bits): Likewise. * match.pd (POPCOUNT): New patterns to fold BUILTIN_POPCOUNT and friends. POPCOUNT(x&1) => x&1, POPCOUNT(x)==0 => x==0, etc. * gcc.dg/fold-popcount-1.c: New testcase. * gcc.dg/fold-popcount-2.c: New testcase. * gcc.dg/fold-popcount-3.c: New testcase. * gcc.dg/fold-popcount-4.c: New testcase. From-SVN: r260689
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions