[PATCH 1/3] Vect peeling cost model

2017-05-04 Thread Robin Dapp
Some refactoring and definitions to use for (unknown) DR_MISALIGNMENT, gcc/ChangeLog: 2017-04-26 Robin Dapp * tree-data-ref.h (struct data_reference): Create DR_HAS_NEGATIVE_STEP. * tree-vectorizer.h (dr_misalignment): Define DR_MISALIGNMENT.

Re: [RFC] S/390: Alignment peeling prolog generation

2017-05-04 Thread Robin Dapp
Hi, > This one only works for known misalignment, otherwise it's overkill. > > OTOH if with some refactoring we can end up using a single cost model > that would be great. That is for the SAME_ALIGN_REFS we want to > choose the unknown misalignment with the maximum number of > SAME_ALIGN_REFS.

Re: [PATCH, GCC/ARM, Stage 1] Enable Purecode for ARMv8-M Baseline

2017-05-04 Thread Prakhar Bahuguna
On 02/05/2017 16:20:50, Ramana Radhakrishnan wrote: > On Tue, May 02, 2017 at 11:45:48AM +0100, Prakhar Bahuguna wrote: > > This patch adds support for purecode to ARMv8-M Baseline, in addition to the > > existing support for ARMv7-M and ARMv8-M Mainline. > > > > gcc/ChangeLog: > > > >

[testsuite, committed] Replace absolute line numbers in g++.dg/warn

2017-05-04 Thread Tom de Vries
Hi, this patch replaces absolute line numbers in g++.dg/warn. Thanks, - Tom Replace absolute line numbers in g++.dg/warn 2017-05-03 Tom de Vries PR testsuite/80557 * g++.dg/warn/Wstrict-aliasing-float-ref-int-obj.C: Replace absolute line numbers. *

[testsuite, committed] Replace absolute line numbers in gcc.target/i386

2017-05-04 Thread Tom de Vries
Hi, this patch replaces absolute line numbers in gcc.target/i386. [ Ignoring avx-vtestpd* and avx-vtestps* for the moment. For those I've filed PR80606 - "avx-vtestpd-1.c contains outdated line number" ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80606 ) ]. Thanks, - Tom Replace absolute

Re: [PATCH] Fix PR31130, remove strict-overflow handling from VRP

2017-05-04 Thread Richard Biener
On Tue, 2 May 2017, Richard Biener wrote: > > The following patch removes (well, the patch only disables) > strict-overflow handling (and thus emitting -Wstrict-overflo diagnostics) > from VRP. > > I XFAILed three testcases (well, all three are really the same testcase), > removed on XFAIL

Misc. BRIG/HSAIL FE updates

2017-05-04 Thread Pekka Jääskeläinen
Hi, In r247576 I committed the patch below, which has minor updates and fixes to the BRIG/HSAIL frontend. Index: gcc/brig/brigfrontend/brig-code-entry-handler.cc === --- gcc/brig/brigfrontend/brig-code-entry-handler.cc (revision

Cap niter_for_unrolled_loop to upper bound

2017-05-04 Thread Richard Sandiford
For the reasons explained in PR77536, niter_for_unrolled_loop assumes 5 iterations in the absence of profiling information, although it doesn't increase beyond the estimate for the original loop. This left a hole in which the new estimate could be less than the old one but still greater than the

<    1   2