fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case, falltrought to assoc...
authorJan Hubicka <hubicka@freesoft.cz>
Fri, 15 Oct 1999 04:50:09 +0000 (06:50 +0200)
committerJeff Law <law@gcc.gnu.org>
Fri, 15 Oct 1999 04:50:09 +0000 (22:50 -0600)
commit79e8185c9ccfcb580b8b1bb81b49bdb44e4d97e2
tree6884eb392c55198115c06f8cb78b15c8588568a1
parentce57746769bfa0d19afef76e07960fd6bf86264d
fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case, falltrought to assocate code.

        * 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.

From-SVN: r29998
gcc/ChangeLog
gcc/combine.c
gcc/fold-const.c