Re: [Patch, MIPS] Add Octeon3 support

2014-10-30 Thread Hurugalawadi, Naveen
Hi, Thanks for the review and your comments. >> Is it intentional that you have not updated driver-native.c to >> detect an Octeon 3 CPU? We have not yet looked into that part yet and will be looking at it later. >> Could you confirm what testing the patch has had? Run the regression in build

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-30 Thread Dominik Vogt
On Wed, Oct 29, 2014 at 10:16:40AM -0700, Ian Taylor wrote: > Thanks. Part of the problem is that the m68k max alignment is 16 > bits, but the godump test expects it to be at least 64 bits. This is > BIGGEST_ALIGNMENT in config/m68k/m68k.h. Another part of the problem > seems to be that structs

Re: [PATCH] Adjust/remove REG_EQ{UAL,UIV} notes in REE (PR rtl-optimization/63659)

2014-10-30 Thread Jakub Jelinek
On Wed, Oct 29, 2014 at 09:47:33PM -0600, Jeff Law wrote: > On 10/27/14 14:47, Jakub Jelinek wrote: > >Hi! > > > >The following testcase is miscompiled in 4.8+ on x86_64 at -O2+, > >because REE widens for ZERO_EXTEND mode on > >(set (reg:QI ax) (const_int -1)) instruction to SImode, but doesn't > >

[PATCH] x86: extend vect-args testcase to AVX flavors

2014-10-30 Thread Jan Beulich
gcc/testsuite: 2014-10-30 Jan Beulich * gcc.target/i386/i386.exp: Extend option set to test vect-args.c with to include -mavx, -mavx2, and -mavx512f. * gcc.target/i386/vect-args.c: Add AVX* modes and tests. --- a/gcc/testsuite/gcc.target/i386/i386.exp +++ b/gcc/testsuit

Re: [PATCH x86] Increase PARAM_MAX_COMPLETELY_PEELED_INSNS when branch is costly

2014-10-30 Thread Uros Bizjak
On Tue, Oct 28, 2014 at 1:07 PM, Evgeny Stupachenko wrote: > make check for gcc passed > > On Mon, Oct 27, 2014 at 11:10 AM, Evgeny Stupachenko > wrote: >> The results are the same for Silvermont. >> There are no significant changes on Haswell. >> So I agree with Richard, let's enable this x86 w

Re: [Ping ^ 3] [PATCH] Fix PR 61225

2014-10-30 Thread Uros Bizjak
Hello! > Ping? > >Thanks! > -Zhenqiang > On 9 June 2014 17:08, Zhenqiang Chen wrote: > Ping ^2? > > Thanks! > -Zhenqiang > > On 28 May 2014 15:02, Zhenqiang Chen wrote: >> Ping? >> >> Thanks! >> -Zhenqiang >> >> On 22 May 2014 17:52, Zhenqiang Chen wrote: >>> On 21 May 2014 20:43, Steven Bossc

Re: [PATCH] x86: extend vect-args testcase to AVX flavors

2014-10-30 Thread Uros Bizjak
On Thu, Oct 30, 2014 at 8:50 AM, Jan Beulich wrote: > gcc/testsuite: > 2014-10-30 Jan Beulich > > * gcc.target/i386/i386.exp: Extend option set to test > vect-args.c with to include -mavx, -mavx2, and -mavx512f. > * gcc.target/i386/vect-args.c: Add AVX* modes and tests.

Re: [PATCH 5/5] add libcc1

2014-10-30 Thread Thomas Schwinge
Hi! On Tue, 28 Oct 2014 13:23:50 +0100, Jakub Jelinek wrote: > On Tue, Oct 28, 2014 at 11:47:31AM +, Phil Muldoon wrote: > > I think I have a solution. Though my automake fu is very weak. Does > > this patch work for you? I'm really not sure how to deal with the > > three possible versions

Re: libcc1

2014-10-30 Thread Paolo Bonzini
On 10/29/2014 09:10 PM, Jakub Jelinek wrote: > On Wed, Oct 29, 2014 at 11:45:51AM +0100, Jakub Jelinek wrote: >> On Wed, Oct 29, 2014 at 11:37:26AM +0100, Paolo Bonzini wrote: >>> On 10/29/2014 11:31 AM, Jakub Jelinek wrote: shouldn't libcc1 be in build_tools instead? I mean, it is a li

RE: [PATCH 2/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code

2014-10-30 Thread Zamyatin, Igor
Posted a patch in libc-alpha: https://sourceware.org/ml/libc-alpha/2014-10/msg00701.html > -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Jeff Law > Sent: Saturday, October 25, 2014 3:42 AM > To: Evgeny Stupachenko; Andrew P

Re: genmatch infinite loop during bootstrap on AIX

2014-10-30 Thread Richard Biener
On Wed, Oct 29, 2014 at 6:13 PM, David Edelsohn wrote: > On Wed, Oct 29, 2014 at 9:24 AM, Richard Biener > wrote: > >> Because only genmatch calls functions from libstdc++. Btw, why >> would genmatch miscompile an empty function or the call to it? > > I tried bootstrapping with libstdc++ built w

Re: [PATCH 5/5] add libcc1

2014-10-30 Thread Jakub Jelinek
On Thu, Oct 30, 2014 at 09:33:08AM +0100, Thomas Schwinge wrote: > Here is a patch that I'm testing; OK? I didn't understand what the > conditions are that libcc1 might not be built as a shared library: is it > always built as one -- but is that really supported on all systems? If It is not unco

[PATCH, aarch64] Add prefetch support

2014-10-30 Thread Gopalasubramanian, Ganesh
Hi, Below is the patch that implements prefetching support. This patch has been already discussed on a) https://gcc.gnu.org/ml/gcc-patches/2014-02/msg01644.html b) https://gcc.gnu.org/ml/gcc-patches/2014-07/msg00612.html I have not added a test as there are ample tests in compile and execute su

Re: [PATCH 2/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code

2014-10-30 Thread Jakub Jelinek
On Thu, Oct 30, 2014 at 08:48:57AM +, Zamyatin, Igor wrote: > Posted a patch in libc-alpha: > > https://sourceware.org/ml/libc-alpha/2014-10/msg00701.html That looks wrong. The non-PIC patterns that are enabled unconditionally with the patch set/use ebx, which will not work with pre-GCC 5 in

[PATCH] Fix fold making valid VEC_PERMs invalid

2014-10-30 Thread Richard Biener
The following patch makes fold_ternary no longer make VEC_PERMs valid for the target invalid. As pointed out in the PR we only need to make sure this doesn't happen after vector lowering. I won't have time to improve on the following patch this week - Marc, can you take over here? Bootstrapped

Re: [PATCH] Fix fold making valid VEC_PERMs invalid

2014-10-30 Thread Jakub Jelinek
On Thu, Oct 30, 2014 at 09:56:32AM +0100, Richard Biener wrote: > > The following patch makes fold_ternary no longer make > VEC_PERMs valid for the target invalid. As pointed out > in the PR we only need to make sure this doesn't happen > after vector lowering. Well, even if you do that before v

Re: [PATCH] Fix fold making valid VEC_PERMs invalid

2014-10-30 Thread Richard Biener
On Thu, 30 Oct 2014, Jakub Jelinek wrote: > On Thu, Oct 30, 2014 at 09:56:32AM +0100, Richard Biener wrote: > > > > The following patch makes fold_ternary no longer make > > VEC_PERMs valid for the target invalid. As pointed out > > in the PR we only need to make sure this doesn't happen > > aft

Re: [PATCH 5/5] add libcc1

2014-10-30 Thread Thomas Schwinge
Hi! On Thu, 30 Oct 2014 09:51:59 +0100, Jakub Jelinek wrote: > On Thu, Oct 30, 2014 at 09:33:08AM +0100, Thomas Schwinge wrote: > > Here is a patch that I'm testing; OK? I didn't understand what the > > conditions are that libcc1 might not be built as a shared library: is it > > always built as

[4.9 RFA PATCH, RTL-optimization]: Backport recent AND-alignment alias fixes to 4.9 branch

2014-10-30 Thread Uros Bizjak
Hello! I would like to backport recent alias fixes to correctly handle memory references with AND-alignment to 4.9 branch. These patches fix hundreds of failures in gfortran testsuite on alpha-linux-gnu due to invalid aliasing of AND-aligned memory references of two QImode flags. These patches we

Re: [patch,avr,4.9] Fix PR63633 ICEs for expanders colliding hard-regs

2014-10-30 Thread Georg-Johann Lay
Am 10/30/2014 07:48 AM, schrieb Denis Chertykov: Am 10/28/2014 01:34 PM, schrieb Georg-Johann Lay: Middle-end might come up with hard registers as operands for expanders which clobber respective hard regs. This patch uses freshly created pseudos for respective expander operands and emits pseud

Re: [patch,avr,4.9] Fix PR63633 ICEs for expanders colliding hard-regs

2014-10-30 Thread Jakub Jelinek
On Thu, Oct 30, 2014 at 11:41:26AM +0100, Georg-Johann Lay wrote: > Am 10/30/2014 07:48 AM, schrieb Denis Chertykov: > >>Am 10/28/2014 01:34 PM, schrieb Georg-Johann Lay: > >>> > >>>Middle-end might come up with hard registers as operands for expanders > >>>which > >>>clobber respective hard regs.

[gomp4] Merge trunk r216846 (2014-10-29) into gomp-4_0-branch

2014-10-30 Thread Thomas Schwinge
Hi! In r216917, I have committed a merge from trunk r216846 (2014-10-29) into gomp-4_0-branch. Grüße, Thomas pgpwOzbsDFp_f.pgp Description: PGP signature

[gomp4] Re: [PATCH 5/5] add libcc1

2014-10-30 Thread Thomas Schwinge
Hi! On Thu, 30 Oct 2014 11:10:51 +0100, I wrote: > Build a shared host libiberty also for libcc1's benefit. Backported to gomp-4_0-branch in r216918: commit 595db85c7323b08d29bf344911a7bd709d68685b Author: tschwinge Date: Thu Oct 30 11:09:14 2014 + Build a shared host libiberty a

[Ada] Case variable from another project in an extended project

2014-10-30 Thread Arnaud Charlet
When a case variable is declared in another imported project and its project is itself extended, the Project Manager is confused and may crash or report incorrect errors. Tested on x86_64-pc-linux-gnu, committed on trunk 2014-10-30 Vincent Celier * prj-proc.adb (Process_Case_Construct

[Ada] Insertion of child into multiway tree yields bad cursor

2014-10-30 Thread Arnaud Charlet
This patch corrects the implementation of routine Insert_Child in the following multiway tree packages: Ada.Containers.Indefinite_Multiway_Trees Ada.Containers.Multiway_Trees As a result, Insert_Child no longer returns a faulty Position when inserting elements. -- Source -- --

[Ada] Prevent generation of gotos during inlining for GNATprove

2014-10-30 Thread Arnaud Charlet
In GNATprove mode, the special frontend inlining could generate gotos on return statements inside blocks, thus causing errors in GNATprove later. Now prevent inlining of such subprograms. Tested on x86_64-pc-linux-gnu, committed on trunk 2014-10-30 Yannick Moy * inline.adb (Has_Single

[Ada] Missing finalization of controlled function result

2014-10-30 Thread Arnaud Charlet
This patch modifies the finalization machinery to detect a subprogram call that returns a constrolled transient temporary in the context of a function call that returns an unconstrained result as part of the initialization expression of an object declaration. -- Source --

[Ada] Aspect/pragma Extensions_Visible

2014-10-30 Thread Arnaud Charlet
This patch implements aspect/pragma Extensions_Visible. This construct has the following rules: Extensions_Visible is a Boolean-valued aspect which may be specified for a subprogram. If directly specified, the aspect_definition shall be a static [Boolean] expression. The aspect is inherited by an

[PATCH 4/4] OpenMP 4.0 offloading to Intel MIC: non-fallback testing

2014-10-30 Thread Ilya Verbin
Hello, This patch allows to run non-fallback 'make check-target-libgomp'. It passes to the host compiler additional -B options with the paths to the offload compilers, since non-installed host compiler doesn't know where to find mkoffload tools. Also in case of intelmic offload targets it appends

RE: [PATCH 2/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code

2014-10-30 Thread Zamyatin, Igor
> > On Thu, Oct 30, 2014 at 08:48:57AM +, Zamyatin, Igor wrote: > > Posted a patch in libc-alpha: > > > > https://sourceware.org/ml/libc-alpha/2014-10/msg00701.html > > That looks wrong. The non-PIC patterns that are enabled unconditionally > with the patch set/use ebx, which will not work w

Re: [PATCH][BUILDROBOT] Unused static function (was: RFA: AVR: add infrastructure for device packages)

2014-10-30 Thread Jan-Benedict Glaw
On Thu, 2014-10-30 10:46:39 +0400, Denis Chertykov wrote: > 2014-10-29 13:42 GMT+03:00 Jan-Benedict Glaw : > > On Wed, 2014-10-29 02:23:31 +0100, Jan-Benedict Glaw > > wrote: > > > On Wed, 2014-10-08 18:50:32 +0100, Joern Rennecke > > > wrote: > > > > Attached is the GCC patch for the basic de

[PATCH][9/n] Merge from match-and-simplify, more patterns

2014-10-30 Thread Richard Biener
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Richard. 2014-10-30 Richard Biener * match.pd: Implement more patterns that simplify to a single value. * fold-const.c (fold_binary_loc): Remove them here. * tree-ssa-forwprop.c (simplify_bitwise_binary): L

Re: [PATCH 2/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code

2014-10-30 Thread Jakub Jelinek
On Thu, Oct 30, 2014 at 12:34:45PM +, Zamyatin, Igor wrote: > > > > On Thu, Oct 30, 2014 at 08:48:57AM +, Zamyatin, Igor wrote: > > > Posted a patch in libc-alpha: > > > > > > https://sourceware.org/ml/libc-alpha/2014-10/msg00701.html > > > > That looks wrong. The non-PIC patterns that a

Re: [PATCH][9/n] Merge from match-and-simplify, more patterns

2014-10-30 Thread Richard Biener
On Thu, 30 Oct 2014, Richard Biener wrote: > > Bootstrapped and tested on x86_64-unknown-linux-gnu, applied. Oops, posted the wrong patch. The following is correct - I've removed the single-use restriction as no patterns would behave badly but stuff like x & x wouldn't match. Richard. 2014-10

[PATCH] config-list.mk: Build Go only for supported targets (was: Patch RFA: Top-level configure patch: disable go on systems where it doesn't work)

2014-10-30 Thread Jan-Benedict Glaw
On Mon, 2014-10-27 09:33:41 -0700, Ian Taylor wrote: > On Mon, Oct 27, 2014 at 9:02 AM, Jan-Benedict Glaw wrote: > > On Mon, 2014-10-27 08:19:34 -0700, Ian Taylor wrote: > > > On Mon, Oct 27, 2014 at 8:06 AM, Jan-Benedict Glaw > > > wrote: > > > > On Wed, 2014-10-22 20:36:53 -0700, Ian Taylor

Re: [PATCH] microblaze: microblaze.md: Use 'SI' instead of 'VOID' for operand 1 of 'call_value_intern'

2014-10-30 Thread Chen Gang
On 10/29/14 23:58, Chen Gang wrote: > On 10/27/14 9:42, Chen Gang wrote: >> On 10/27/14 2:22, Michael Eager wrote: >>> >>> Microblaze-sim provides basic instruction set architecture and memory >>> simulation. >>> There is no operating system support. (It's also quite old. I'm not sure >>> which

Re: genmatch infinite loop during bootstrap on AIX

2014-10-30 Thread David Edelsohn
On Thu, Oct 30, 2014 at 4:51 AM, Richard Biener wrote: > On Wed, Oct 29, 2014 at 6:13 PM, David Edelsohn wrote: >> On Wed, Oct 29, 2014 at 9:24 AM, Richard Biener >> wrote: >> >>> Because only genmatch calls functions from libstdc++. Btw, why >>> would genmatch miscompile an empty function or t

[PATCH, committed] AIX libstdc++ configure.host LD_FLAGS

2014-10-30 Thread David Edelsohn
AIX has been unable to bootstrap since the match-and-simplify merge. Richard Biener and I tracked this back to a bad interaction between a GCC optimization and the AIX linker -G option to allow for SVR4-style runtime linking. The following patch removes the linker option from the libstdc++ build.

Re: [Ping] Port of VTV for Cygwin and MinGW

2014-10-30 Thread Patrick Wollgast
Since I haven't heard back for quite a while, I wanted to ask what the current stat of the patch is. Is the patch from the last mail approved ( https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01524.html ), or should the matters discussed further? regards, Patrick

RE: [Patch] MIPS configuration patch

2014-10-30 Thread Moore, Catherine
> -Original Message- > From: Steve Ellcey [mailto:sell...@imgtec.com] > Sent: Thursday, October 23, 2014 4:37 PM > To: matthew.fort...@imgtec.com; Moore, Catherine; gcc- > patc...@gcc.gnu.org > Subject: [Patch] MIPS configuration patch > > Here is another patch to reduce the differences

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-30 Thread Ian Taylor
On Thu, Oct 30, 2014 at 12:25 AM, Dominik Vogt wrote: > On Wed, Oct 29, 2014 at 10:16:40AM -0700, Ian Taylor wrote: >> Thanks. Part of the problem is that the m68k max alignment is 16 >> bits, but the godump test expects it to be at least 64 bits. This is >> BIGGEST_ALIGNMENT in config/m68k/m68k

[PATCH AVX512] Fix dg.torture tests with avx512

2014-10-30 Thread Ilya Tocar
Hi, I've run gcc.dg/torture/* tests with -mavx512bw -mavx512vl -mavx512dq flags, and got a bunch of fails (mostly in permutes autogen). Patch below fixes them. Ok for trunk? 2014-10-30 Ilya Tocar * config/i386/i386.c (expand_vec_perm_pshufb): Try vpermq/vpermd for 512-bit wide

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-30 Thread Uros Bizjak
Hello! > I don't mind skipping the test on other platforms, but xfail is not > correct. When an xfail test passes, we get an XPASS error from the > testsuite. We need dg-skip-if. I committed this patch. > > > 2014-10-30 Dominik Vogt > > * gcc.misc-tests/godump-1.c: Skip -fdump-go-spec tests

Re: [PATCH] config-list.mk: Build Go only for supported targets (was: Patch RFA: Top-level configure patch: disable go on systems where it doesn't work)

2014-10-30 Thread Ian Taylor
On Thu, Oct 30, 2014 at 6:19 AM, Jan-Benedict Glaw wrote: > > This updates contrib/config-list.mk to build Go for all but > known-non-working targets. A comment to configure{.ac,} is also added. > diff --git a/contrib/config-list.mk b/contrib/config-list.mk > index 94884d9..16900e1 100644 > ---

Make soft-fp symbols into compat symbols for powerpc*-*-linux*

2014-10-30 Thread Joseph S. Myers
Continuing preparations for implementing TARGET_ATOMIC_ASSIGN_EXPAND_FENV for powerpc*-*-linux* soft-float and e500, this patch makes soft-fp symbols used for those targets into compat symbols when building with glibc >= 2.19, so that they are only in shared libgcc for existing binaries requiring t

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-30 Thread Ian Taylor
On Thu, Oct 30, 2014 at 8:05 AM, Uros Bizjak wrote: > > /* { dg-options "-c -fdump-go-spec=godump-1.out" } */ > /* { dg-do compile } */ > +/* { dg-skip-if "not supported for target" { ! "s390*-*-* x86_64-*-*" } } */ > > x86_64 also needs && lp64, otherwise -m32 will defeat this condition. Thank

Re: [PING^2][PATCH] Warn about unclosed pragma omp declare target.

2014-10-30 Thread Ilya Tocar
Ping. On 20 Oct 19:26, Ilya Tocar wrote: > Ping. > > On 02 Oct 17:38, Ilya Tocar wrote: > > Ping. > > On 15 Aug 16:26, Ilya Tocar wrote: > > > Ping. > > > > > > On 29 Jul 18:45, Ilya Tocar wrote: > > > > Hi, > > > > > > > > As discussed here in https://gcc.gnu.org/ml/gcc/2014-01/msg00189.html >

[PATCH] Fix some missing CASE_CONVERTs, improve genmatch side-effect handling

2014-10-30 Thread Richard Biener
The following replaces NOP_EXPR uses with CASE_CONVERT appropriately and improves genmatch handling of side-effects for captures used in C expressions. Bootstrapped and tested on x86_64-unknow-linux-gnu, applied. Richard. 2014-10-30 Richard Biener * genmatch.c (capture_info::walk_c_e

[PATCH] Remove std::map use from genmatch

2014-10-30 Thread Richard Biener
The following removes std::map use from genmatch, avoiding an AIX issue (and also making the code more GCC-ish). I had to add an elements() member to hash_map and implement some GGC stubs. Not too bad I guess. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2014

[patch] flatten/adjust optabs.h

2014-10-30 Thread Andrew MacLeod
This patch "adjusts" optabs.h. which was really sub-work of looking at expr.h. I moved the prototypes from expr.h to optabs.h that belong there, and realigned the stuff in optabs.h to be in the same order as the .c file. I also moved gen_move_insn from optabs.c to expr.c... a number of new fi

Re: [Ping] [PATCH, 4/10] expand ccmp

2014-10-30 Thread Richard Henderson
On 10/29/2014 03:30 AM, Zhenqiang Chen wrote: > + > +bool > +ccmp_insn_p (rtx object) > +{ > + rtx x = PATTERN (object); > + if (targetm.gen_ccmp_first > + && GET_CODE (x) == SET > + && GET_CODE (XEXP (x, 1)) == COMPARE > + && (GET_CODE (XEXP (XEXP (x, 1), 0)) == IOR > + || G

Re: [PATCH, Pointer Bounds Checker 14/x] Passes [1/n] Expand interfaces

2014-10-30 Thread Ilya Enkovich
On 29 Oct 23:37, Jeff Law wrote: > On 10/15/14 11:54, Ilya Enkovich wrote: > > > >Thanks for review! I see no more patches not reviewed at all. I see > >4 more patches requiring approve before I can start a merge. > > > >Two of them are parts of split #14 (Passes): #14.3 (Helper functions) > >and

Re: Make soft-fp symbols into compat symbols for powerpc*-*-linux*

2014-10-30 Thread David Edelsohn
On Thu, Oct 30, 2014 at 11:13 AM, Joseph S. Myers wrote: > Continuing preparations for implementing > TARGET_ATOMIC_ASSIGN_EXPAND_FENV for powerpc*-*-linux* soft-float and > e500, this patch makes soft-fp symbols used for those targets into > compat symbols when building with glibc >= 2.19, so tha

[PATCH][PPC] Skip gcc.target tests with conflicting -mcpu

2014-10-30 Thread Andrew Stubbs
Many of the tests in gcc.target/powerpc specify an explicit -mcpu option with dg-options. This is a problem for multilib configurations that use -mcpu in their definition; the test commands will list both -mcpu options, with the multilib option overriding the test option. This causes many bogus

Re: [PATCH x86] Increase PARAM_MAX_COMPLETELY_PEELED_INSNS when branch is costly

2014-10-30 Thread Jan Hubicka
> On Tue, Oct 28, 2014 at 1:07 PM, Evgeny Stupachenko > wrote: > > make check for gcc passed > > > > On Mon, Oct 27, 2014 at 11:10 AM, Evgeny Stupachenko > > wrote: > >> The results are the same for Silvermont. > >> There are no significant changes on Haswell. > >> So I agree with Richard, let'

Re: ptx preliminary rtl patches [1/4]

2014-10-30 Thread Segher Boessenkool
On Thu, Sep 11, 2014 at 03:24:54PM +0200, Bernd Schmidt wrote: > The nvptx backend is somewhat unusual in that call insns set a pseudo. > The combiner is surprised by this and allows combining them into other > insns, which remain as INSN rather than CALL_INSN. Aborts ensue. distribute_notes has

Re: [PATCH x86] Increase PARAM_MAX_COMPLETELY_PEELED_INSNS when branch is costly

2014-10-30 Thread Evgeny Stupachenko
Yes the speed up is the same. However I'm testing only x86 performance. Potentially we can somehow hurt ARM or others performance. GCC already has the tuning enabled for rs6000,s390, spu. Evgeny On Thu, Oct 30, 2014 at 8:27 PM, Jan Hubicka wrote: >> On Tue, Oct 28, 2014 at 1:07 PM, Evgeny Stupac

Re: [PATCH][PPC] Skip gcc.target tests with conflicting -mcpu

2014-10-30 Thread Mike Stump
On Oct 30, 2014, at 10:25 AM, Andrew Stubbs wrote: > Many of the tests in gcc.target/powerpc specify an explicit -mcpu option with > dg-options. So, I think this isn’t the strategy people like for this sort of thing. The problem is default flags. You can have a certain cpu as a target but no

[PATCH] Optimize UBSAN_NULL checks

2014-10-30 Thread Marek Polacek
This patch tries to optimize away redundant UBSAN_NULL checks. It walks the statements, looks for UBSAN_NULL calls and keeps track of pointers and statements checking that pointer in a hash map. Now, if we can prove that some UBSAN_NULL stmt is dominated by other one which requires the same or les

Re: [PATCH 06/10] Heart of the JIT implementation (was: Re: [PATCH 0/5] Merger of jit branch (v2))

2014-10-30 Thread David Malcolm
On Fri, 2014-10-17 at 21:52 +, Joseph S. Myers wrote: > Does libgccjit.so end up getting linked with -static-libstdc++ > -static-libgcc? (sorry for belated reply) It does when built with a bootstrap, but doesn't with --disable-bootstrap. In the former case, the builddir's gcc/Makefile in th

Re: [PATCH] config-list.mk: Build Go only for supported targets (was: Patch RFA: Top-level configure patch: disable go on systems where it doesn't work)

2014-10-30 Thread Jan-Benedict Glaw
On Thu, 2014-10-30 08:08:51 -0700, Ian Taylor wrote: > On Thu, Oct 30, 2014 at 6:19 AM, Jan-Benedict Glaw wrote: > > > > This updates contrib/config-list.mk to build Go for all but > > known-non-working targets. A comment to configure{.ac,} is also added. > > > diff --git a/contrib/config-list.m

Re: [PATCH] Optimize UBSAN_NULL checks

2014-10-30 Thread Marek Polacek
And I wonder whether it'd be worth it to create sanopt.c - and move .sanopt related stuff there (it'd mean making asan_expand_check_ifn non-static, but that's pretty much it). Marek

Re: [PATCH RFC]Pair load store instructions using a generic scheduling fusion pass

2014-10-30 Thread Jeff Law
On 10/10/14 21:32, Bin.Cheng wrote: Mike already gave great answers, here are just some of my thoughts on the specific questions. See embedded below. Thanks to both of you for your answers. Fundamentally, what I see is this scheme requires us to be able to come up with a key based solely on i

RE: [Patch, MIPS] Add Octeon3 support

2014-10-30 Thread Moore, Catherine
> -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > Sent: Thursday, October 30, 2014 2:59 AM > Subject: Re: [Patch, MIPS] Add Octeon3 support > > Hi, > > Thanks for the review and your comments. > > >> Is it intentional that you have not updated driver-nat

Re: [PATCH] Optimize UBSAN_NULL checks

2014-10-30 Thread ygribov
> And I wonder whether it'd be worth it to create sanopt.c - > and move sanopt related stuff there +1 -- View this message in context: http://gcc.1065356.n5.nabble.com/PATCH-Optimize-UBSAN-NULL-checks-tp1084891p1084905.html Sent from the gcc - patches mailing list archive at Nabble.com.

Re: [gofrontend-dev] Re: [PATCH 7/9] Gccgo port to s390[x] -- part I

2014-10-30 Thread Joseph S. Myers
On Thu, 30 Oct 2014, Dominik Vogt wrote: > platforms need to be added. Personally I cannot provide fixed > tests for all the Abis either, so my suggestion is to "xfail" the > test on all targets except s390[x] and x86_64 and leave it to the You should never do something in a test for x86_64 and

Re: [PATCH] Add zero-overhead looping for xtensa backend

2014-10-30 Thread augustine.sterl...@gmail.com
On Tue, Oct 28, 2014 at 5:22 AM, Yangfei (Felix) wrote: > Hi Sterling, > How do you think about this issue? > As c6x/bfin port handles this the same way, is it OK for the patch to be > applied? > Thanks. I have committed this patch as attached. I made a couple of minor cleanups, plus some

Re: ptx preliminary rtl patches [1/4]

2014-10-30 Thread Jeff Law
On 10/30/14 11:36, Segher Boessenkool wrote: On Thu, Sep 11, 2014 at 03:24:54PM +0200, Bernd Schmidt wrote: The nvptx backend is somewhat unusual in that call insns set a pseudo. The combiner is surprised by this and allows combining them into other insns, which remain as INSN rather than CALL_I

Re: [testsuite,ARM] PR61153 Fix vbic and vorn tests

2014-10-30 Thread Christophe Lyon
On 29 October 2014 16:28, Ramana Radhakrishnan wrote: > On Wed, Oct 29, 2014 at 3:26 PM, Christophe Lyon > wrote: >> Hi, >> >> In PR61153, the vbic and vorn tests fail because when compiled at -O0 >> the expected Neon instructions are not generated, making >> scan-assembler fail. >> >> This patch

Re: [PATCH RFC]Pair load store instructions using a generic scheduling fusion pass

2014-10-30 Thread Mike Stump
On Oct 30, 2014, at 12:43 PM, Jeff Law wrote: > Fundamentally, what I see is this scheme requires us to be able to come up > with a key based solely on information in a particular insn. To get fusion > another insn has to have the same or a closely related key. Right.

Re: [PATCH] config-list.mk: Build Go only for supported targets (was: Patch RFA: Top-level configure patch: disable go on systems where it doesn't work)

2014-10-30 Thread Ian Taylor
On Thu, Oct 30, 2014 at 12:14 PM, Jan-Benedict Glaw wrote: > On Thu, 2014-10-30 08:08:51 -0700, Ian Taylor wrote: >> On Thu, Oct 30, 2014 at 6:19 AM, Jan-Benedict Glaw wrote: >> > >> > This updates contrib/config-list.mk to build Go for all but >> > known-non-working targets. A comment to config

[gomp4] acc enter/exit data

2014-10-30 Thread Cesar Philippidis
This patch add support for OpenACC's enter/exit data directive. Note that there is a problem in the 2.0a spec regarding the live ranges of variables in data clauses. Section 2.6.5.7 states that exit data delete should deallocate memory without writing it back. However, that may conflict with an acc

[jit] Remove some dead code

2014-10-30 Thread David Malcolm
Pushed to the dmalcolm/jit branch: gcc/jit/ChangeLog.jit: * dummy-frontend.c (jit_langhook_init): Remove some dead code. --- gcc/jit/ChangeLog.jit| 4 gcc/jit/dummy-frontend.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/jit/ChangeLog.jit b/gcc/jit/

Re: [PATCH 06/10] Heart of the JIT implementation (was: Re: [PATCH 0/5] Merger of jit branch (v2))

2014-10-30 Thread Joseph S. Myers
On Thu, 30 Oct 2014, David Malcolm wrote: > Looking at the build logs, I see: > -fPIC > within the xgcc args in the libgcc build logs, and That seems to depend on t-libgcc-pic, but that appears to cover most likely hosts (including any where I can be confident PIC is actually needed for share

Fwd: [testsuite patch] avoid test when compile options is conflict with default mthumb

2014-10-30 Thread Wang Deqiang
This is a ping for https://gcc.gnu.org/ml/gcc-patches/2014-10/msg01049.html -- Original message -- From: Wang Deqiang Date: 11 October 2014 11:27 Subject: [testsuite patch] avoid test when compile options is conflict with default mthumb To: gcc-patches@gcc.gnu.org When testing

Re: [PATCH 06/10] Heart of the JIT implementation

2014-10-30 Thread Jeff Law
On 10/30/14 18:50, Joseph S. Myers wrote: I don't see it as a blocker, but I would not be surprised if having the libraries statically linked into libgccjit.so causes problems (is it safe to have two completely separate copies of libstdc++ in the same process? I don't know.). Jason, Jakub, Aldy

Re: [PATCH RFC]Pair load store instructions using a generic scheduling fusion pass

2014-10-30 Thread Bin.Cheng
Thanks for giving it a try. On Fri, Oct 31, 2014 at 3:43 AM, Jeff Law wrote: > On 10/10/14 21:32, Bin.Cheng wrote: >> >> Mike already gave great answers, here are just some of my thoughts on >> the specific questions. See embedded below. > > Thanks to both of you for your answers. > > Fundamenta

RE: [PATCH, ifcvt] Check size cost in noce_try_store_flag_mask

2014-10-30 Thread Zhenqiang Chen
Thank you all for the comments. Patch is updated. Bootstrap and no make check regression on X86-64. No make check regression with Cortex-M0 qemu. No performance changes for coremark, dhrystone, spec2000 and spec2006 on X86-64 and Cortex-A15. For CSiBE, ARM Cortex-M0 result is a little better. A l

Re: [PATCH, ifcvt] Check size cost in noce_try_store_flag_mask

2014-10-30 Thread Andrew Pinski
On Thu, Oct 30, 2014 at 11:30 PM, Zhenqiang Chen wrote: > Thank you all for the comments. Patch is updated. > > Bootstrap and no make check regression on X86-64. > No make check regression with Cortex-M0 qemu. > No performance changes for coremark, dhrystone, spec2000 and spec2006 on > X86-64 and

Re: [Patch, MIPS] Add Octeon3 support

2014-10-30 Thread Hurugalawadi, Naveen
Hi Catherine, >> Would you please add some testcases and resubmit your patch? Thanks for the review and suggestions. Added the testcase "gcc.target/mips/octeon3-pipe-1.c" Please review the modified patch and let us know if its good. Thanks, Naveen 2014-10-31 Andrew Pinski * config/