http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51278

             Bug #: 51278
           Summary: gcc/gcc/testsuite/gcc.target/mips/octeon-baddu-1.c
                    fails on the trunk
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: pins...@gcc.gnu.org


The issue is a target cost issue:
Trying 7 -> 13:
Successfully matched this instruction:
(set (reg/i:DI 2 $2)
    (zero_extend:DI (truncate:QI (plus:DI (reg:DI 5 $5 [ b ])
                (reg:DI 4 $4 [ a ])))))
rejecting combination of insns 7 and 13
original costs 4 + 4 = 8
replacement cost 12

The replacement cost should be 4.

Reply via email to