Message ID | A614194ED15B4844BC4C9FB7F21FCD9222532CDF@HHMAIL01.hh.imgtec.org |
---|---|
State | New |
Headers | show |
> gcc/testsuite/ChangeLog: > > 2016-11-15 Toma Tabacu <toma.tabacu@imgtec.com> > > * gcc.target/mips/branch-cost-1.c (dg-options): Use > (HAS_MOVN) instead > of isa>=4, in order to downgrade to R5. > > diff --git a/gcc/testsuite/gcc.target/mips/branch-cost-1.c > b/gcc/testsuite/gcc.target/mips/branch-cost-1.c > index 61c3029..7f7ebbe 100644 > --- a/gcc/testsuite/gcc.target/mips/branch-cost-1.c > +++ b/gcc/testsuite/gcc.target/mips/branch-cost-1.c > @@ -1,4 +1,4 @@ > -/* { dg-options "-mbranch-cost=1 isa>=4" } */ > +/* { dg-options "-mbranch-cost=1 (HAS_MOVN)" } */ > /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ > NOMIPS16 int > foo (int x, int y, int z, int k) I committed this patch for you. Have you requested write access to the repository? Catherine
Moore, Catherine <Catherine_Moore@mentor.com> writes: > > gcc/testsuite/ChangeLog: > > > > 2016-11-15 Toma Tabacu <toma.tabacu@imgtec.com> > > > > * gcc.target/mips/branch-cost-1.c (dg-options): Use > > (HAS_MOVN) instead > > of isa>=4, in order to downgrade to R5. > > > > diff --git a/gcc/testsuite/gcc.target/mips/branch-cost-1.c > > b/gcc/testsuite/gcc.target/mips/branch-cost-1.c > > index 61c3029..7f7ebbe 100644 > > --- a/gcc/testsuite/gcc.target/mips/branch-cost-1.c > > +++ b/gcc/testsuite/gcc.target/mips/branch-cost-1.c > > @@ -1,4 +1,4 @@ > > -/* { dg-options "-mbranch-cost=1 isa>=4" } */ > > +/* { dg-options "-mbranch-cost=1 (HAS_MOVN)" } */ > > /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ > > NOMIPS16 int > > foo (int x, int y, int z, int k) > > I committed this patch for you. Have you requested write access to the > repository? I was thinking the same thing given Toma has now submitted a few patches. Please fill out the form below and reference either myself or Catherine: https://sourceware.org/cgi-bin/pdw/ps_form.cgi Thanks, Matthew
diff --git a/gcc/testsuite/gcc.target/mips/branch-cost-1.c b/gcc/testsuite/gcc.target/mips/branch-cost-1.c index 61c3029..7f7ebbe 100644 --- a/gcc/testsuite/gcc.target/mips/branch-cost-1.c +++ b/gcc/testsuite/gcc.target/mips/branch-cost-1.c @@ -1,4 +1,4 @@ -/* { dg-options "-mbranch-cost=1 isa>=4" } */ +/* { dg-options "-mbranch-cost=1 (HAS_MOVN)" } */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ NOMIPS16 int foo (int x, int y, int z, int k)