RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-04 Thread Matthew Fortune
Toma Tabacu writes: > I've noticed that there is a typo in my surname in the ChangeLog entry > (in the name and in the email address). Apologies, corrected. Matthew

RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-04 Thread Toma Tabacu
> From: Matthew Fortune > Sent: 04 November 2016 16:49 > To: Toma Tabacu; gcc-patches@gcc.gnu.org > Cc: catherine_mo...@mentor.com > Subject: RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch- > likely instructions. > > Toma Tabacu writes: &g

RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-04 Thread Matthew Fortune
E: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need > > branch- likely instructions. > > > > > From: Matthew Fortune > > > Sent: 03 November 2016 13:07 > > > To: Toma Tabacu; gcc-patches@gcc.gnu.org > > > Cc: catherine_mo...@mentor.com >

RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-04 Thread Toma Tabacu
tests need branch- > likely instructions. > > > From: Matthew Fortune > > Sent: 03 November 2016 13:07 > > To: Toma Tabacu; gcc-patches@gcc.gnu.org > > Cc: catherine_mo...@mentor.com > > Subject: RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need >

RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-04 Thread Toma Tabacu
> From: Matthew Fortune > Sent: 03 November 2016 13:07 > To: Toma Tabacu; gcc-patches@gcc.gnu.org > Cc: catherine_mo...@mentor.com > Subject: RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need > branch-likely instructions. > > Toma Tabacu writes: > > Th

RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-03 Thread Matthew Fortune
Toma Tabacu writes: > The gcc.target/mips/wrap-delay.c test was failing on mips-img-* > toolchains > because it was using -mbranch-likely with an R6 target, and branch- > likely > instructions were removed in R6. > > This patch makes the testsuite downgrade to R5 if the -mbranch-likely > option >

RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-03 Thread Moore, Catherine
> -Original Message- > From: Toma Tabacu [mailto:toma.tab...@imgtec.com] > Sent: Thursday, November 3, 2016 6:58 AM > Subject: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need > branch-likely instructions. > > > gcc/testsuite/ > * gcc.target/m

[PATCH,testsuite] MIPS: Downgrade R6 to R5 if tests need branch-likely instructions.

2016-11-03 Thread Toma Tabacu
Hi, The gcc.target/mips/wrap-delay.c test was failing on mips-img-* toolchains because it was using -mbranch-likely with an R6 target, and branch-likely instructions were removed in R6. This patch makes the testsuite downgrade to R5 if the -mbranch-likely option is present and we're targeting R6.