Re: [PATCH][AArch64] Separate shrink wrapping hooks implementation

2016-11-10 Thread Andrew Pinski
On Thu, Nov 10, 2016 at 6:25 AM, Kyrill Tkachov wrote: > Hi all, > > This patch implements the new separate shrink-wrapping hooks for aarch64. > In separate shrink wrapping (as I understand it) we consider each register > save/restore as > a 'component' that can be performed independently of the o

Re: [Patch, fortran] PR44265 - Link error with reference to parameter array in specification expression

2016-11-10 Thread Dominique d'Humières
FAIL: gfortran.dg/char_result_16.f90 -g -flto (internal compiler error) FAIL: gfortran.dg/char_result_16.f90 -g -flto (test for excess errors) The ICE is for both -m32 and -m64 (module_procedure_3_db_1.f90 is the test posted in my last mail) % gfc module_procedure_3_db_1.f90 -flto module_p

Re: [PATCH] combine: Do not call simplify from inside change_zero_ext (PR78232)

2016-11-10 Thread Segher Boessenkool
Hi all, I now committed this, with changelog PR rtl-optimization/78232 * combine.c (try_combine): Add a big comment about why reusing i2dest is undesirable. (change_zero_ext): Do not call simplify_gen_binary, do the simplifications manually. and the patch

Re: [RFC] Check number of uses in simplify_cond_using_ranges().

2016-11-10 Thread Marc Glisse
On Thu, 10 Nov 2016, Dominik Vogt wrote: On Wed, Nov 09, 2016 at 03:46:38PM +0100, Richard Biener wrote: On Wed, Nov 9, 2016 at 3:30 PM, Dominik Vogt wrote: Something like the attached patch? Robin and me have spent quite some time to figure out the new pattern. Two questions: 1) In the ma

Go patch committed: copy signal code from Go 1.7 runtime

2016-11-10 Thread Ian Lance Taylor
This patch to the Go frontend and libgo copies the signal code from the Go 1.7 runtime. This adds a little shell script to auto-generate runtime.sigtable from the known signal names. This forces the main package to always import the runtime package. Otherwise some runtime package global variables

Re: [PATCH, gcc, wwwdocs] Document upcoming Qualcomm Falkor processor support

2016-11-10 Thread Gerald Pfeifer
On Fri, 11 Nov 2016, Siddhesh Poyarekar wrote: > This patch documents the newly added flag in gcc 7 for the upcoming > Qualcomm Falkor processor core. Looks good to me. Probably a good idea for one of the ARM maintainers to sign off, too. Gerald

Re: [RFC] Check number of uses in simplify_cond_using_ranges().

2016-11-10 Thread Dominik Vogt
On Thu, Nov 10, 2016 at 11:53:07PM +0100, Marc Glisse wrote: > On Thu, 10 Nov 2016, Dominik Vogt wrote: > > >On Wed, Nov 09, 2016 at 03:46:38PM +0100, Richard Biener wrote: > >>On Wed, Nov 9, 2016 at 3:30 PM, Dominik Vogt > >>wrote: > >>>Something like the attached patch? Robin and me have spen

Re: [PATCH][AArch64] Separate shrink wrapping hooks implementation

2016-11-10 Thread Segher Boessenkool
On Thu, Nov 10, 2016 at 02:42:24PM -0800, Andrew Pinski wrote: > On Thu, Nov 10, 2016 at 6:25 AM, Kyrill Tkachov > > I ran SPEC2006 on a Cortex-A72. Overall scores were neutral but there were > > some interesting swings. > > 458.sjeng +1.45% > > 471.omnetpp +2.19% > > 445.gobmk -2.01% > >

Re: [PATCH] PR77359: Properly align local variables in functions calling alloca.

2016-11-10 Thread Dominik Vogt
On Thu, Nov 03, 2016 at 11:40:44AM +0100, Dominik Vogt wrote: > The attached patch fixes the stack layout problems on AIX and > Power as described here: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77359 > > The patch has been bootstrapped on AIX (32 Bit) and bootstrappend > and regression

Re: [PATCH] PR77359: Properly align local variables in functions calling alloca.

2016-11-10 Thread Segher Boessenkool
On Fri, Nov 11, 2016 at 12:47:02AM +0100, Dominik Vogt wrote: > On Thu, Nov 03, 2016 at 11:40:44AM +0100, Dominik Vogt wrote: > > The attached patch fixes the stack layout problems on AIX and > > Power as described here: > > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77359 > > > > The pat

[PATCH] Fix PR 78243 on PowerPC

2016-11-10 Thread Michael Meissner
Aaron Sawdey has been running the GCC testsuite on the power9 simulator and he noticed that: gcc.c-torture/execute/pr68532.c does not run, and opened bug 78243 for this failure. Now, if you compile pr68532 with normal options (-O2/-O3 and -mcpu=power8 or -mcpu=power9) it works because wi

Re: [PATCH] PR78241, fix loop unroller when niter expr is not reliable

2016-11-10 Thread Andrew Pinski
On Wed, Nov 9, 2016 at 2:13 PM, Pat Haugen wrote: > The following fixes a problem introduced by my earlier loop unroller patch, > https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01612.html. In instances where > the niter expr is not reliable we need to still emit an initial peel copy of > the loo

Re: [PATCH] Fix PR 78243 on PowerPC

2016-11-10 Thread Segher Boessenkool
On Thu, Nov 10, 2016 at 07:21:15PM -0500, Michael Meissner wrote: > --- gcc/config/rs6000/vsx.md (revision 242048) > +++ gcc/config/rs6000/vsx.md (revision 242049) > @@ -2542,10 +2542,13 @@ (define_insn "vsx_extract__p9" >"VECTOR_MEM_VSX_P (mode) && TARGET_VEXTRACTUB > && TARGET_VSX_SMALL

[PATCH/AARCH64] Improved -mcpu/mtune/march=native handling

2016-11-10 Thread Andrew Pinski
As I mentioned in my other emails, parsing /proc/cpuinfo has one issue is that the current parsing assumes many different things about the format. So the best way to do this is to parse /sys/devices/system/cpu/cpuN/regs/identification/midr_el1 files instead. To get which cpu are present (though n

Re: [PATCH/AARCH64] Handle ILP32 multi-arch

2016-11-10 Thread Andrew Pinski
On Tue, Oct 25, 2016 at 3:25 PM, Matthias Klose wrote: > On 07.10.2016 23:08, Andrew Pinski wrote: >> Hi, >> This patch adds ilp32 multi-arch support. This is needed to support >> multi-arch on Debian like systems. >> >> OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions. >>

Re: [PATCH] PR77359: Properly align local variables in functions calling alloca.

2016-11-10 Thread David Edelsohn
On Thu, Nov 10, 2016 at 6:47 PM, Dominik Vogt wrote: > On Thu, Nov 03, 2016 at 11:40:44AM +0100, Dominik Vogt wrote: >> The attached patch fixes the stack layout problems on AIX and >> Power as described here: >> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77359 >> >> The patch has been boot

<    1   2