Commit 953b10d0 by Jeff Law

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
parent 70cff8f5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment