* fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 1999 04:50:09 +0000 (04:50 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Oct 1999 04:50:09 +0000 (04:50 +0000)
commit0e1e143e7727845141bf440a9ec2969f611accfb
tree6884eb392c55198115c06f8cb78b15c8588568a1
parent7546642c0a93d93246a02771866aac666609a6e3
    * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
        falltrought to assocate code.
        Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
        bits in common.

        * combine.c (simplify_logical): Convert XOR to IOR if operands have
        no bits in common; remove XOR to ROTATE conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29998 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/fold-const.c