aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-10-13 09:28:46 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-10-13 09:28:46 +0200
commita0e4174cd80f8a17026d6c13af2802dc8a0146ad (patch)
treefb81bdf0ff4f61dd7d46f4bdb4eec0ee5d2404b1 /gcc/cse.c
parentef8c92e8e76b51040e0c3a37ff7dd0a3463a727d (diff)
downloadgcc-a0e4174cd80f8a17026d6c13af2802dc8a0146ad.zip
gcc-a0e4174cd80f8a17026d6c13af2802dc8a0146ad.tar.gz
gcc-a0e4174cd80f8a17026d6c13af2802dc8a0146ad.tar.bz2
re PR target/82498 (Missed optimization for x86 rotate instruction)
PR target/82498 * fold-const.c (fold_binary_loc) <bit_rotate>: Code cleanups, instead of handling MINUS_EXPR twice (once for each argument), canonicalize operand order and handle just once, use rtype where possible. Handle (A << B) | (A >> (-B & (Z - 1))). * gcc.dg/tree-ssa/pr82498.c: New test. From-SVN: r253709
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions