h8300.md (andhi3): If 2nd operand is a CONST_INT that meets the 'J' constraint...
authorJeff Law <law@gcc.gnu.org>
Tue, 16 Apr 1996 22:08:32 +0000 (16:08 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 16 Apr 1996 22:08:32 +0000 (16:08 -0600)
commit953b10d0d745a971c83cf953da5ed903ecbe776b
treeadae723a0f162ff9f11788659b1ea8a6ed759354
parent70cff8f545f04281a8cf0e8d6ee604ee8026fe32
h8300.md (andhi3): If 2nd operand is a CONST_INT that meets the 'J' constraint...

        * h8300/h8300.md (andhi3): If 2nd operand is a CONST_INT that
        meets the 'J' constraint, then only two bytes are needed for
        this insn.  Improve code generated for the h8300h when both
        operands are registers.
        (iorhi3, xorhi3): Likewise.  Rework to be nearly identical to andhi3.
        (andsi3): If 2nd operand is a CONST_INT that meets the 'J'
        constraint, then only two bytes are need for this insn.
        Improve code generated for the h8300h regardless of the
        type of the 2nd operand.  Make this pattern work on the h8300 too.
        (iorsi3, xorsi3): Likewise.  Rework to be nearly identical to andsi3.
        (iorqi3_internal): Make this pattern look more like andqi3_internal.
        (one_cmplhi2, one_cmplsi2): Fix length computation for H8300H.

From-SVN: r11830
gcc/config/h8300/h8300.md