RE: [PATCH,testsuite] Add check_effective_target_rdynamic and use it in g++.dg/lto/pr69589_0.C.

2017-06-06 Thread Toma Tabacu
Thanks, Rainer. Committed as r248916. Thanks for suggesting a backport, Renlin. Regards, Toma

RE: [PATCH,testsuite] Add check_effective_target_rdynamic and use it in g++.dg/lto/pr69589_0.C.

2017-06-05 Thread Toma Tabacu
Hi Renlin, > > Thanks for fixing this! Do you have plan to backport the fix to gcc-6 branch? > I am happy to backport it. I've rebased the patch on top of the gcc-6 branch and attached it below. Rainer, is this OK for gcc-6? Regards, Toma Tabacu gcc/ChangeLog: B

RE: Fix minor reorg.c bug affecting MIPS targets

2017-05-16 Thread Toma Tabacu
From: Jeff Law > On 05/16/2017 10:01 AM, Toma Tabacu wrote: >> Hello Paul, >> >> You're seeing this problem because mips.exp can't handle -O* in dg-options. >> The other tests in gcc.target/mips use a dg-skip-if to skip for -O0 and -O1 >> instead of ha

RE: Fix minor reorg.c bug affecting MIPS targets

2017-05-16 Thread Toma Tabacu
s possible. I believe that Matthew can confirm this. Regards, Toma Tabacu > -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-ow...@gcc.gnu.org] On > Behalf Of Paul Hua > Sent: 16 May 2017 10:11 > To: Jeff Law > Cc: gcc-patches > Sub

[PATCH] Fix PR target/66015 for MIPS.

2017-03-28 Thread Toma Tabacu
Hi, The gcc.dg/ipa/iinline-attr.c test has been failing for MIPS when using the n32 and n64 ABIs. These two ABIs imply a 64-bit target, which means that the align_loops, align_jumps, and align_functions flags are set to 8 by default. Because the MIPS backend doesn't use the TARGET_OVERRIDE_OPTIO

RE: [PATCH,testsuite] Skip pic-3,4.c and pie-3,4.c for mips*-*-linux-*.

2017-03-28 Thread Toma Tabacu
> From: Matthew Fortune > > Given the acceptance that MIPS PIC behaviour is semi-unique then checking > MIPS > complies with the rules around pre-processor behaviour doesn't add much > value. > I'm happy to skip these tests on the basis that software can't make the same > assumptions about MIPS an

[PATCH,testsuite] Skip pic-3,4.c and pie-3,4.c for mips*-*-linux-*.

2017-03-23 Thread Toma Tabacu
Hi, The pic-3,4.c and pie-3,4.c tests are failing for some configurations of mips*-*-linux-*. This is because PIC is always on for MIPS Linux by default, except when the compiler is built with --with-mips-plt, in which case PIC is on by default only for the n64 ABI, because in this case -mplt "ha

RE: [PATCH] Fix MIPS-specific ICE in gcc.dg/pr77834.c (PR rtl-optimization/79150).

2017-03-21 Thread Toma Tabacu
Hi, > From: Segher Boessenkool > On Mon, Mar 20, 2017 at 10:08:25PM +, Moore, Catherine wrote: > > I'm okay with the workaround for stage 4, but would like to see the pr > > remain > open until a proper fix is installed on trunk. > > Yeah. > Sure, I'll keep it open. > > Toma, would you be

RE: [PATCH,testsuite] Skip gcc.dg/pic-2.c and gcc.dg/pie-2.c for MIPS.

2017-03-21 Thread Toma Tabacu
> > From: Matthew Fortune > > > > I think the skip is OK here. I'd like to get Catherine's opinion on > > this though too. I don't think we should change the definition of __PIC__ > > for -fPIC on MIPS as multi-got solves 'most' issues. If we start trying to > > figure out what __PIC__ should mean

[PATCH,testsuite] Skip gcc.dg/pic-2.c and gcc.dg/pie-2.c for MIPS.

2017-03-15 Thread Toma Tabacu
Hi, The gcc.dg/pic-2.c and gcc.dg/pie-2.c tests are failing for MIPS targets because __PIC__ is always set to 1 for MIPS. This patch makes the testsuite skip those two tests for all MIPS targets. Tested with mips-mti-elf and mips-mti-linux-gnu. Should I have fixed this in target-supports.exp in

RE: [PATCH 1/5] testsuite: attr-alloc_size-11.c (PR79356)

2017-03-10 Thread Toma Tabacu
> > I just noticed that nothing has happened at all in a month, so anything > is better than the tests XPASSing on a number of targets. > > So the patch is ok for mainline with sparc*-*-* added to the target > lists and a reference to PR testsuite/79356 in the comment. > > I'd still be very grat

RE: [PATCH,testsuite] Add check_effective_target_rdynamic and use it in g++.dg/lto/pr69589_0.C.

2017-03-09 Thread Toma Tabacu
> > Ok for mainline with that fixed. > > Thanks. > Rainer > Committed as r246004. Thanks, Toma

[PATCH] Fix MIPS-specific ICE in gcc.dg/pr77834.c (PR rtl-optimization/79150).

2017-03-07 Thread Toma Tabacu
optimize) { mips_block_move_loop (dest, src, INTVAL (length), MIPS_MAX_MOVE_BYTES_PER_LOOP_ITER); return true; } Tested with mips-mti-elf. Regards, Toma Tabacu gcc/ * config/mips/mips.c (mips_block_move_loop): Emit a NOP after the

[PATCH,testsuite] Add check_effective_target_rdynamic and use it in g++.dg/lto/pr69589_0.C.

2017-03-06 Thread Toma Tabacu
Hi, g++.dg/lto/pr69589_0.C is currently failing for mips-mti-elf with the following error: xg++: error: unrecognized command line option '-rdynamic' However, it passes just fine for mips-mti-linux-gnu. I think that we should skip this test for mips-mti-elf. This patch achieves this by adding s

RE: [PATCH,testsuite] Skip gcc.dg/lto/pr60449_0.c for mips*-*-elf* targets.

2017-03-06 Thread Toma Tabacu
> From: Catherine Moore > > This patch fixes my original objection. Thanks. > Committed as r245921. Thanks, Toma

RE: [PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c.

2017-03-06 Thread Toma Tabacu
> From: Matthew Fortune > > Toma Tabacu writes: > > gcc/testsuite/ > > > > * gcc.target/mips/inline-memcpy-3.c (dg-options): Add -mabi=32. > > OK, thanks. Sorry for the slow reply. > > Matthew Committed as r245914. Thanks, Toma

RE: [PATCH,testsuite] MIPS: Fix register mode checking for n64 in pr68273.c.

2017-03-03 Thread Toma Tabacu
> From: Matthew Fortune > > > > gcc/testsuite/ > > > > * gcc.target/mips/pr68273.c (dg-final): Match SImode registers only for > > ilp32 targets and match DImode registers for lp64 targets. > > OK, thanks. > > Matthew Committed as r245874. Thanks, Toma

[PATCH,testsuite] MIPS: Fix register mode checking for n64 in pr68273.c.

2017-03-02 Thread Toma Tabacu
Hi, pr68273.c currently fails when targeting MIPS64 with the n64 ABI. This is because it is checking for some registers in SImode, but, because of n64, they will actually be in DImode. This patch restricts matching for SImode registers to ilp32 targets and adds matching for DImode registers for l

RE: [PATCH,testsuite] Skip gcc.dg/lto/pr60449_0.c for mips*-*-elf* targets.

2017-03-02 Thread Toma Tabacu
Hi, > From: Rainer Orth > > > > gcc/testsuite/ > > > > * gcc.dg/lto/pr60449_0.c: Add dg-require-effective-target for > > gettimeofday. Remove dg-skip-if for AVR. > > Two spaces after period. > Fixed. > > * lib/target-supports.exp (check_effective_target_gettimeofday): New. > > Bet

RE: [PATCH,testsuite] Skip gcc.dg/lto/pr60449_0.c for mips*-*-elf* targets.

2017-03-02 Thread Toma Tabacu
Hi, > From: Rainer Orth > > that's not what I suggested (or at least meant to suggest): having > gettimeofday as an effective-target keyword (like setrlimit, mmap, and > others) is the way to go, just your previous implementation of > check_effective_target_gettimeofday was problematic/unreliable

RE: [PATCH,testsuite] Skip gcc.dg/lto/pr60449_0.c for mips*-*-elf* targets.

2017-03-01 Thread Toma Tabacu
Hi Rainer, Thank you for the feedback. As you suggested, I have added a check_gettimeofday_available proc in target-supports.exp and a dg-require-gettimeofday proc in target-supports-dg.exp which check for gettimeofday using the existing check_function_available proc. The test still runs and pas

[PATCH,testsuite] MIPS: Force O32 ABI for inline-memcpy-3.c.

2017-03-01 Thread Toma Tabacu
Hi, inline-memcpy-3.c fails when using -mabi=n64 and -mabi=n32 as a test-run option because it does not impose a specific ABI in its test options. As there already are variants of this test which force a specific ABI (N64 in inline-memcpy-4.c and N32 in inline-memcpy-5.c), inline-memcpy-3.c shoul

RE: [PATCH,testsuite] Skip gcc.dg/lto/pr60449_0.c for mips*-*-elf* targets.

2017-03-01 Thread Toma Tabacu
> From: Catherine Moore > > Hi Toma, > There are some MIPS ELF targets that do support gettimeofday. Perhaps you > could handle this with a dg_require_effective_target entry for gettimeofday. > Thanks, > Catherine > Hi, Thank you for your quick reply. The patch below adds a dg_require_effect

[PATCH,testsuite] Skip gcc.dg/lto/pr60449_0.c for mips*-*-elf* targets.

2017-02-28 Thread Toma Tabacu
Hi, The gcc.dg/lto/pr60449_0.c is failing for mips*-*-elf* targets because they do not support gettimeofday, which is used in this test case. This patch changes the test so that it is skipped for mips*-*-elf* targets. Regards, Toma gcc/testsuite/ * gcc.dg/lto/pr60449_0.c (dg-skip-if):

RE: [PATCH,testsuite] Use logical_op_short_circuit to skip targets in ssa-thread-14.c.

2017-02-24 Thread Toma Tabacu
> From: Jeff Law > > I don't think using !logical_op_short_circuit is too heavy handed here. > > We get good coverage from the x86 target, so I don't mind losing > coverage from avr/s390 as the target selector is a lot more likely to be > correct after your change for the various targets now and

[PATCH,testsuite] Use logical_op_short_circuit to skip targets in ssa-thread-14.c.

2017-02-23 Thread Toma Tabacu
gzilla thread). Here are some links, for your convenience: PR71314 on Bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71314 The patch submission for fixing PR71314: https://gcc.gnu.org/ml/gcc-patches/2016-05/msg02359.html Does this look OK ? Is the !logical_op_short_circuit too heavy-hande

RE: [PATCH] MIPS: Fix mode mismatch error between Loongson builtin arguments and insn operands.

2017-02-07 Thread Toma Tabacu
Matthew Fortune writes: > > Almost but not quite. There is a force_reg helper that takes care of > this i.e. can get rid of the qireg local and the whole if statement. > > emit_insn (gen_zero_extendqisi2 (sireg, force_reg (ops[2].value))); > > OK with that change. > > Thanks, > Matthew C

RE: [PATCH] MIPS: Fix mode mismatch error between Loongson builtin arguments and insn operands.

2017-02-06 Thread Toma Tabacu
Matthew Fortune writes: > > That's not what I hoped but is what I was concerned about as I believe it > means we have a change of behaviour. It boils down to simply ignoring the > argument type of unsigned char. My guess is that a zero extension is > created but then immediately eliminated becau

RE: [PATCH] MIPS: Fix mode mismatch error between Loongson builtin arguments and insn operands.

2017-02-01 Thread Toma Tabacu
> From: Matthew Fortune > > +/* The third argument needs to be in SImode in order to succesfully > > match > > + the operand from the insn definition. */ > > Please refer to operand here not argument as it is the second argument > to the builtin but third operand of the instruction. Al

[PATCH] MIPS: Fix mode mismatch error between Loongson builtin arguments and insn operands.

2017-01-30 Thread Toma Tabacu
Hi, The builtins for the pshufh, psllh, psllw, psrah, psraw, psrlh, psrlw Loongson instructions have the third argument's type set to UQI while its corresponding insn operand is in SImode. This results in the following error when matching insn operands: ../gcc/gcc/include/loongson.h: In function

RE: [PATCH] MIPS: Fix generation of DIV.G and MOD.G for Loongson targets.

2017-01-18 Thread Toma Tabacu
> From: Matthew Fortune > > Apart from those changes this looks OK to me. > > Matthew Thanks. Committed as r244570. Regards, Toma

RE: [PATCH] MIPS: Fix generation of DIV.G and MOD.G for Loongson targets.

2017-01-17 Thread Toma Tabacu
> Maciej Rozycki writes: > > This ought to be handled then, likely by adding Loongson-specific RTL > > insns matching the `divmod4' and `udivmod4' expanders. It > > may be as simple as say (conceptually, untested): > > > > (define_insn "divmod4_loongson" > > [(set (match_operand:GPR 0 "register

RE: [PATCH] MIPS: Fix generation of DIV.G and MOD.G for Loongson targets.

2017-01-16 Thread Toma Tabacu
After searching through the archives, I have found an interesting bit of information about DIV.G/MOD.G in the original submission thread: > > Ruan Beihong 23 July 2008: > > > > I've seen the Loongson 2F manual carefully. The (d)div(u) is > > internally splited into one (d)div(u).g and one (d)mod

RE: [PATCH] MIPS: Fix generation of DIV.G and MOD.G for Loongson targets.

2017-01-12 Thread Toma Tabacu
> Maciej Rozycki writes: > > > > > Unfortunately, this interferes with the generation of DIV.G and MOD.G > > (the div3 and mod3 patterns) for Loongson targets, > which > > causes test failures. > > What test failures? Details please. > It's gcc.target/mips/loongson-muldiv-1.c gcc.target/mips/

[PATCH] MIPS: Fix generation of DIV.G and MOD.G for Loongson targets.

2017-01-09 Thread Toma Tabacu
Hi, The expand_DIVMOD function, introduced in r241660, will pick the divmod4 (or the udivmod4) pattern when it checks for the presence of hardware div/mod instructions, which results in the generation of the old DIV instruction. Unfortunately, this interferes with the generation of DIV.G and MOD.

RE: [PATCH, testsuite] MIPS: Cleanup the forcing of assembly output in error tests.

2016-12-23 Thread Toma Tabacu
> From: Catherine Moore > > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/mips/oddspreg-2.c (dg-options): Remove dg-skip-if > > for > > -fno-fat-lto-objects and add the -ffat-lto-objects option, along > > with > > an explanation for its purpose. > > * gcc.target/mips/oddspreg

RE: [PATCH, testsuite] MIPS: Relax instruction order check in msa-builtins.c.

2016-12-21 Thread Toma Tabacu
> Catherine Moore writes: > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/mips/msa-builtins.c (dg-final): Tweak regex for the > > 32-bit > > insert.d case. > > Please change to: > * gcc.target/mips-msa-builtins.c (msa_insert_d): Tweak expected > output. > > Okay with that chan

[PATCH, testsuite] MIPS: Relax instruction order check in msa-builtins.c.

2016-12-15 Thread Toma Tabacu
Hi, The 32-bit insert.d case in msa-builtins.c is failing with O2 and Os because the order of the emitted instructions is slightly different compared to the other optimization levels. This patch tweaks the regular expression for 32-bit insert.d to accept the alternate instruction order. Tested

RE: [PATCH, testsuite] MIPS: Upgrade to R2 for -mmicromips.

2016-12-15 Thread Toma Tabacu
Committed as r243687. Regards, Toma > Toma Tabacu writes: > > microMIPS is not supported on pre-R2 architectures, but the testsuite allows > > it to be used on pre-R2 architectures, which results in test failures. > > > > This patch makes the testsuite upgrade to R2

[PATCH, testsuite] MIPS: Cleanup the forcing of assembly output in error tests.

2016-12-14 Thread Toma Tabacu
Hi, Some error tests were forcing assembly output incorrectly, and none of them had an explanation for why they were using -ffat-lto-objects. This patch removes dg-skip-if's for -fno-fat-lto-objects and adds -ffat-lto-objects to the test options instead. It also adds an explanation for the purpos

RE: [PATCH, testsuite] MIPS: Remove redundant dg-skip-if from mips16-attributes.c.

2016-12-14 Thread Toma Tabacu
Committed as r243649. Regards, Toma > Toma Tabacu writes: > > In the case of mips16-attributes.c, even though the (-mips16) option ensures > > that -mmicromips will be overriden, there still is a dg-skip-if for > > -mmicromips. > > > > I think that it is not ne

[PATCH, testsuite] MIPS: Upgrade to R2 for -mmicromips.

2016-12-14 Thread Toma Tabacu
Hi, microMIPS is not supported on pre-R2 architectures, but the testsuite allows it to be used on pre-R2 architectures, which results in test failures. This patch makes the testsuite upgrade to R2 if -mmicromips is used in a test. Tested with mips-mti-elf. Regards, Toma gcc/testsuite/ChangeLog

[PATCH, testsuite] MIPS: Remove redundant dg-skip-if from mips16-attributes.c.

2016-12-14 Thread Toma Tabacu
Hi, In the case of mips16-attributes.c, even though the (-mips16) option ensures that -mmicromips will be overriden, there still is a dg-skip-if for -mmicromips. I think that it is not necessary and it actually decreases test coverage, because it will cause the testsuite to skip this test instead

RE: [PATCH, testsuite] MIPS: Skip msa-builtins-err.c if there is no assembly output.

2016-12-14 Thread Toma Tabacu
Committed as r243639. Regards, Toma > -Original Message- > From: Matthew Fortune > Sent: 13 December 2016 13:46 > To: Toma Tabacu; gcc-patches@gcc.gnu.org > Cc: catherine_mo...@mentor.com > Subject: RE: [PATCH, testsuite] MIPS: Skip msa-builtins-err.c if there is no

RE: [PATCH, testsuite] MIPS: Skip msa-builtins-err.c if there is no assembly output.

2016-12-12 Thread Toma Tabacu
> > It's a shame this is the only way to deal with this but I see aarch64 have > to resort to the same thing for error checking tests. > I have looked into this some more and I 've found that the solution I proposed is incomplete. The problem is that if no linker plugin is found, -fno-fat-lto-o

RE: [PATCH, testsuite] MIPS: Upgrade to R2 for -mnan=2008 and -mabs=2008.

2016-12-12 Thread Toma Tabacu
8 and -mabs=2008 > are > > used as test options. > > > > Tested with mips-mti-elf. > > > > Regards, > > Toma Tabacu > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/mips/mips.exp (mips-dg-options): Upgrade to R2 for > > -mnan=2008 and -mabs=2008. > > OK, thanks. > > Matthew Committed as r243542. Regards, Toma

[PATCH, testsuite] MIPS: Upgrade to R2 for -mnan=2008 and -mabs=2008.

2016-12-09 Thread Toma Tabacu
-mti-elf. Regards, Toma Tabacu gcc/testsuite/ChangeLog: * gcc.target/mips/mips.exp (mips-dg-options): Upgrade to R2 for -mnan=2008 and -mabs=2008. diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp index c0b9680..3d04d2f 100644 --- a/gcc

[PATCH, testsuite] MIPS: Skip msa-builtins-err.c if there is no assembly output.

2016-12-08 Thread Toma Tabacu
-if for -fno-fat-lto-objects. Tested with mips-mti-elf. Regards, Toma Tabacu gcc/testsuite/ChangeLog: * gcc.target/mips/msa-builtins-err.c (dg-skip-if): Do not run the test if -fno-fat-lto-objects is present. diff --git a/gcc/testsuite/gcc.target/mips/msa-builtins-err.c b/gcc

[PATCH, testsuite] MIPS: Add isa>=2 option to interrupt_handler-bug-1.c.

2016-11-21 Thread Toma Tabacu
ions. Tested with mips-mti-elf. Regards, Toma Tabacu gcc/testsuite/ChangeLog: 2016-11-21 Toma Tabacu * gcc.target/mips/interrupt_handler-bug-1.c (dg-options): Add isa_rev>=2. diff --git a/gcc/testsuite/gcc.target/mips/interrupt_handler-bug-1.c b/gcc/testsuite/gcc.target/m

[COMMITTED] Add myself to MAINTAINERS (Write After Approval).

2016-11-18 Thread Toma Tabacu
Committed as r242595. Thanks, Toma Tabacu Index: ChangeLog === --- ChangeLog (revision 242594) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2016-11-18 Toma Tabacu + + * MAINTAINERS (Write After Approval): Add myself

RE: [PATCH] MIPS: If a test in the MIPS testsuite requires standard library support check the sysroot supports the required test options.

2016-11-18 Thread Toma Tabacu
> From: Moore, Catherine [mailto:catherine_mo...@mentor.com] > Sent: 17 November 2016 21:53 > To: Matthew Fortune; Toma Tabacu; Andrew Bennett; 'gcc- > patc...@gcc.gnu.org' > Cc: Moore, Catherine > Subject: RE: [PATCH] MIPS: If a test in the MIPS testsuite requires stan

RE: [PATCH] MIPS: If a test in the MIPS testsuite requires standard library support check the sysroot supports the required test options.

2016-11-17 Thread Toma Tabacu
set do_what [lreplace $do_what 1 1 "N"] > > + } > > + } > > + > > # If the test is MIPS16-compatible, provide a counterpart to the > > # NOMIPS16 convenience macro. > > if { [mips_have_test_option_p options "-mips1

RE: [PATCH,testsuite] MIPS: Downgrade from R6 to R5 to prevent redundant testing of branch-cost-1.c.

2016-11-15 Thread Toma Tabacu
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Toma Tabacu > Sent: 15 November 2016 14:00 > To: gcc-patches@gcc.gnu.org > Cc: Matthew Fortune; catherine_mo...@mentor.com > Subject: [PATCH,testsuite] MIPS: Downgrade from R6 to R5 to p

[PATCH,testsuite] MIPS: Downgrade from R6 to R5 to prevent redundant testing of branch-cost-1.c.

2016-11-15 Thread Toma Tabacu
ecking for the absence of MOVN/MOVZ, but it is redundant. This patch fixes this by replacing isa>=4 with (HAS_MOVN), which will only accept targets in the [MIPS IV, R5] interval. Tested with mips-img-linux-gnu. Regards, Toma Tabacu gcc/testsuite/ChangeLog: 2016-11-15 To

RE: [PATCH,testsuite] MIPS: Upgrade to MIPS IV if using (HAS_MOVN) with MIPS III.

2016-11-09 Thread Toma Tabacu
> From: Moore, Catherine [mailto:catherine_mo...@mentor.com] > Sent: 08 November 2016 20:47 > To: Toma Tabacu; gcc-patches@gcc.gnu.org > Cc: Matthew Fortune > Subject: RE: [PATCH,testsuite] MIPS: Upgrade to MIPS IV if using (HAS_MOVN) > with MIPS III. > > >

[PATCH,testsuite] MIPS: Upgrade to MIPS IV if using (HAS_MOVN) with MIPS III.

2016-11-07 Thread Toma Tabacu
cost-2.c tests when the target is MIPS III. This patch fixes the condition to include MIPS III. Tested with mips-mti-elf. Regards, Toma Tabacu gcc/testsuite/ChangeLog: 2016-11-07 Toma Tabacu * gcc.target/mips/mips.exp (mips-dg-options): Upgrade to MIPS IV if using (HAS_MOVN) wit

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 Toma Tabacu
> From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Toma Tabacu > Sent: 04 November 2016 15:25 > To: Matthew Fortune; gcc-patches@gcc.gnu.org > Cc: catherine_mo...@mentor.com > Subject: RE: [PATCH,testsuite] MIPS: Downgrade R6 to R5 if

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] MIPS: If a test in the MIPS testsuite requires standard library support check the sysroot supports the required test options.

2016-11-03 Thread Toma Tabacu
MIPS: If a test in the MIPS testsuite requires standard > library support check the sysroot supports the required test options. > > Ping. > > > Regards, > > > > Andrew > Hi Andrew, I believe the inline-memcpy-{1,2,3,4,5}.c tests also qualify for the (RE

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

2016-11-03 Thread Toma Tabacu
ng R6. Tested with mips-img-elf and mips-img-linux-gnu. Regards, Toma Tabacu gcc/testsuite/ * gcc.target/mips/mips.exp: Add check for -mbranch-likely in condition for R5 downgrade. diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp