From: Naveen H.S Date: Wed, 14 Jan 2015 06:08:24 +0000 (+0000) Subject: octeon3-pipe-1.c: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=be77e6092bae228235587d3b666c8b8c259683d6;p=gcc.git octeon3-pipe-1.c: New test. * gcc.target/mips/octeon3-pipe-1.c: New test. From-SVN: r219575 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 334e3e5af65..bc0cd1fa8ab 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-01-14 Naveen H.S + + * gcc.target/mips/octeon3-pipe-1.c: New test. + 2015-01-13 David Malcolm * jit.dg/harness.h (set_up_logging): Move string concatenation diff --git a/gcc/testsuite/ChangeLog-2014 b/gcc/testsuite/ChangeLog-2014 index 3e8fdc2ea32..54a4c594d37 100644 --- a/gcc/testsuite/ChangeLog-2014 +++ b/gcc/testsuite/ChangeLog-2014 @@ -5008,10 +5008,6 @@ * gcc.target/arm/ifcvt-size-check.c: New test. -2014-11-03 Naveen H.S - - * gcc.target/mips/octeon3-pipe-1.c: New test. - 2014-11-02 Uros Bizjak * g++.dg/cpp0x/gen-attrs-42.C: Add x86_64-*-* target. diff --git a/gcc/testsuite/gcc.target/mips/octeon3-pipe-1.c b/gcc/testsuite/gcc.target/mips/octeon3-pipe-1.c new file mode 100644 index 00000000000..3b832662d40 --- /dev/null +++ b/gcc/testsuite/gcc.target/mips/octeon3-pipe-1.c @@ -0,0 +1,12 @@ +/* Check that we use the octeon3 pipeline description. */ +/* { dg-do compile } */ +/* { dg-options "-fschedule-insns2 -fdump-rtl-sched2 -march=octeon3" } */ +/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ + +NOMIPS16 int f (int a, int b) +{ + return a / b; +} + +/* { dg-final { scan-rtl-dump "octeon_mult\\*17" "sched2" } } */ +/* { dg-final { cleanup-rtl-dump "sched2" } } */