[Bug target/59728] New: gcc.target/mips/octeon-baddu-1.c is failing (finds 3 double adds instead of 4)

sje at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 8 18:37:00 GMT 2014


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

            Bug ID: 59728
           Summary: gcc.target/mips/octeon-baddu-1.c is failing (finds 3
                    double adds instead of 4)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sje at gcc dot gnu.org
                CC: pinskia at gcc dot gnu.org, rdsandiford at googlemail dot com
            Target: mips*-*-*

The test gcc.target/mips/octeon-baddu-1.c started failing for me on Dec 10,
2013. The test expects to find 4 baddu instructions and no andi instructions
when compiled with -march=octeon but is now using 3 daddu instructions and 1
addu instruction instead of baddu instructions and it is also generating andi
instructions.  I am not sure exactly what checkin caused this change or if the
change in generated code is correct or not.

PASS: gcc.target/mips/octeon-baddu-1.c  -O2  (test for excess errors)
FAIL: gcc.target/mips/octeon-baddu-1.c  -O2   scan-assembler-times \tbaddu\t 4
FAIL: gcc.target/mips/octeon-baddu-1.c  -O2   scan-assembler-not \tandi\t



More information about the Gcc-bugs mailing list