More of a Loop fusion

2015-08-16 Thread Ajit Kumar Agarwal
All: Loop fusion is an important optimizations that fuses the set of Loops if the following condition is valid. 1) Loops are conformant ( i.e. they have same iteration count). 2. Loops are control equivalent. The control equivalence of the loops can be identified with the dominator and post dom

Question regarding struct return optimization in plain old C with gcc

2015-08-16 Thread Xavier Roche
Hi folks! Using gcc (tested version 4.9.2-10 from Debian official repo, on x86-64 architecture), the following function, taking an hypothetical structure and returning it after modifying a member, is correctly inlined, but the stack use somehow grows when using it: static __inline__ struct foo

Re: More of a Loop fusion

2015-08-16 Thread Richard Biener
On August 16, 2015 1:21:22 PM GMT+02:00, Ajit Kumar Agarwal wrote: >All: > >Loop fusion is an important optimizations that fuses the set of Loops >if the following condition is valid. GCC does not implement loop fusion at all. Richard. >1) Loops are conformant ( i.e. they have same iteration c

Making __builtin_signbit type-generic

2015-08-16 Thread FX
For use in both the Fortran front-end and in libgfortran, it would be really nice to have __builtin_signbit() be type-generic. It makes sense from the C point of view too, because it’s the only built-in from the C99 type-generic floating-point macros that is not type-generic. So far, I have bui

gcc-6-20150816 is now available

2015-08-16 Thread gccadmin
Snapshot gcc-6-20150816 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20150816/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Using the asm suffix

2015-08-16 Thread David Wohlferd
As a followup to my update to the inline asm docs, I'm cleaning up the docs for 'Asm Labels.' The changes I want to make are pretty straight-forward (attached; comments welcome). But then I came across this line of code (from https://github.com/rschmukler/cs537-p5/blob/master/xv6/proc.h#L38):

Re: Adding static-PIE support to binutils

2015-08-16 Thread Rich Felker
Ping. On Wed, Jun 24, 2015 at 12:18:47AM -0400, Rich Felker wrote: > For background on the static PIE model I'm working with, see the > following post to the GCC list: > > https://gcc.gnu.org/ml/gcc/2015-06/msg8.html > > So far, I've been prototyping static PIE support by having GCC pass > t