diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-10-13 09:28:46 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-10-13 09:28:46 +0200 |
commit | a0e4174cd80f8a17026d6c13af2802dc8a0146ad (patch) | |
tree | fb81bdf0ff4f61dd7d46f4bdb4eec0ee5d2404b1 /gcc/cse.c | |
parent | ef8c92e8e76b51040e0c3a37ff7dd0a3463a727d (diff) | |
download | gcc-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