GCC 6.5 Status Report (2018-10-12)

2018-10-12 Thread Jakub Jelinek
Status == It is now time to release GCC 6.5 and close the 6.x branch. If you have regression bugfixes or documentation fixes that should be still backported to the branch, please test them and check them in before Friday, October 19th, when I'd like to create a Release Candidate of 6.5. Qual

Can support TRUNC_DIV_EXPR, TRUNC_MOD_EXPR in GCC vectorization/scalar evolution -- and/or linearization?

2018-10-12 Thread Thomas Schwinge
Hi! I'm for the first time looking into the existing vectorization functionality in GCC (yay!), and with that I'm also for the first time encountering GCC's scalar evolution (scev) machinery (yay!), and the chains of recurrences (chrec) used by that (yay!). Obviously, I'm right now doing my own r

Re: Can support TRUNC_DIV_EXPR, TRUNC_MOD_EXPR in GCC vectorization/scalar evolution -- and/or linearization?

2018-10-12 Thread Marc Glisse
On Fri, 12 Oct 2018, Thomas Schwinge wrote: Hmm, and without any OpenACC/OpenMP etc., actually the same problem is also present when running the following code through the vectorizer: for (int tmp = 0; tmp < N_J * N_I; ++tmp) { int j = tmp / N_I; int i = tmp % N_I;

Re: Can support TRUNC_DIV_EXPR, TRUNC_MOD_EXPR in GCC vectorization/scalar evolution -- and/or linearization?

2018-10-12 Thread Jakub Jelinek
On Fri, Oct 12, 2018 at 07:35:09PM +0200, Thomas Schwinge wrote: > int a[NJ][NI]; > > #pragma acc loop collapse(2) > for (int j = 0; j < N_J; ++j) > for (int i = 0; i < N_I; ++i) > a[j][i] = 0; For e.g. int a[128][128]; void foo (int m, int n) { #pragma omp for simd c

RFC: allowing compound assignment operators with designated initializers

2018-10-12 Thread Rasmus Villemoes
This is something I've sometimes found myself wishing was supported. The idea being that one can say unsigned a[] = { [0] = 1, [1] = 3, [0] |= 4, ...} which would end up initializing a[0] to 5. As a somewhat realistic example, suppose one is trying to build a bitmap at compile time, but the bits

gcc-8-20181012 is now available

2018-10-12 Thread gccadmin
Snapshot gcc-8-20181012 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20181012/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-8

About GSOC.

2018-10-12 Thread Tejas Joshi
Hello. I reached asking about GCC GSoC project about adding and folding functions like roundeven. I could not apply for the idea this year but interested in the peoject and really hoping it would be carry forwarded. Since I've been studying source code and about the project, I think working on this