Re: [Patch, AARCH64] Fix warning: TARGET_FIXED_CONDITION_CODE_REGS redefined

2013-01-25 Thread Marcus Shawcroft
On 25/01/13 06:15, Hurugalawadi, Naveen wrote: Hi, Please find attached the patch that fixes following warning in aarch64:- warning: TARGET_FIXED_CONDITION_CODE_REGS redefined Thanks, Naveen.H.S 2013-01-25 Naveen H.S naveen.hurugalaw...@caviumnetworks.com *

Re: [Patch, AArch64, AArch64-4.7] Fix sqrdmulhq_laneq_* intrinsics.

2013-01-25 Thread Marcus Shawcroft
On 14/01/13 18:00, Tejas Belagod wrote: Hi, Attached is a patch that fixes sqrdmulhq_lane_* intrinsics. Previously they, used to accept 128-bit lane index range. This fixes this bug to accept 64-bit lane index range. sqrdmulhq_laneq_* and AdvSIMD scalar ones still accept 128-bit lane index

[PATCH][IRA] Analysis of register usage of functions for usage by IRA.

2013-01-25 Thread Tom de Vries
Vladimir, this patch adds analysis of register usage of functions for usage by IRA. The patch: - adds analysis in pass_final to track which hard registers are set or clobbered by the function body, and stores that information in a struct cgraph_node. - adds a target hook

Re: [PATCH] Add faster HTM fastpath for libitm TSX v2

2013-01-25 Thread Uros Bizjak
Hello! The libitm TSX hardware transaction fast path currently does quite a bit of unnecessary work (saving registers etc.) before even trying to start a hardware transaction. This patch moves the initial attempt at a transaction early into the assembler stub. Complicated work like retries

Re: [google gcc-4_7, integration] Scribble on destructed strings to catch invalid accesses.

2013-01-25 Thread Diego Novillo
On Thu, Jan 24, 2013 at 7:15 PM, Jonathan Wakely jwakely@gmail.com wrote: Googlers, please include the libstdc++ list on patches to the libstdc++ code, even if it's only to a google branch. I don't read gcc-patches but am still interested in the changes you make to the code on your

Re: [PATCH, regression?] Support --static-libstdc++ with native AIX ld

2013-01-25 Thread Michael Haubenwallner
On 01/24/2013 06:45 PM, David Edelsohn wrote: Since switching to C++ inside gcc, it isn't possible to get working gcc/g++ binaries installed using native ld on AIX without this patch, as these need dynamic libstdc++.a from builddir(!). Even after successful build with the workaround from

Re: [google gcc-4_7, integration] Scribble on destructed strings to catch invalid accesses.

2013-01-25 Thread Paul Pluzhnikov
On Thu, Jan 24, 2013 at 4:15 PM, Jonathan Wakely jwakely@gmail.com wrote: This does look like something that could be included in debug mode, but probably not until we're back in Stage 1. Please either put it in Bugzilla (and CC me) or if you're diligent enough to remember please email

ira-improv merged with the trunk

2013-01-25 Thread Vladimir Makarov
ira-improv branch has been merged with trunk @ 195439. Committed as rev. 195438.

Re: [PATCH][IRA] Analysis of register usage of functions for usage by IRA.

2013-01-25 Thread Vladimir Makarov
On 01/25/2013 08:05 AM, Tom de Vries wrote: Vladimir, this patch adds analysis of register usage of functions for usage by IRA. The patch: - adds analysis in pass_final to track which hard registers are set or clobbered by the function body, and stores that information in a struct

Re: [PATCH] Add faster HTM fastpath for libitm TSX v2

2013-01-25 Thread Andi Kleen
Probably the attached (RFC) patch can be useful in this case. The patch allows to specify the label for xbegin, so it is possible to implement code like following (non-sensical) example: It can be actually implemented using asm goto. I have some macros for this. And the tree optimizers should

Re: [PATCH, regression?] Support --static-libstdc++ with native AIX ld

2013-01-25 Thread David Edelsohn
On Fri, Jan 25, 2013 at 8:55 AM, Michael Haubenwallner michael.haubenwall...@salomon.at wrote: Hmm - which oslevel -s do you use? Here I've tried on 7100-01-05-1228. Also available are 5300-08-09-1013 and 6100-07-05-1228. I used to bootstrap on AIX 5.3. I now bootstrap on AIX 7.1 and I try

RE: [PATCH,ARM] remove incscc and decscc patterns

2013-01-25 Thread Greta Yorsh
Ping? Thanks, Greta -Original Message- From: Greta Yorsh [mailto:greta.yo...@arm.com] Sent: 18 January 2013 11:44 To: GCC Patches Cc: richard.sandif...@linaro.org; Ramana Radhakrishnan; Richard Earnshaw Subject: [PATCH,ARM] remove incscc and decscc patterns Remove incscc and

Re: [PATCH,ARM] remove incscc and decscc patterns

2013-01-25 Thread Richard Earnshaw
On 18/01/13 11:44, Greta Yorsh wrote: Remove incscc and decscc expanders that appear to be dead, along with the related patterns. This patch is a follow up on: http://gcc.gnu.org/ml/gcc-patches/2011-09/msg01128.html No regression qemu for arm-none-eabi. Bootstrap successful. Ok for trunk?

C++ PATCH for c++/56104 (bogus warning with pointer to member function)

2013-01-25 Thread Jason Merrill
We were getting type-punning warnings while building up code to dereference a pointer to member function because the compiler can see that the complete object doesn't have a vtable. In such cases, we can also see that and avoid building up that code in the first place. Tested

[PATCH,ARM][0/5] Updates to cortex-a7 pipeline description

2013-01-25 Thread Greta Yorsh
This sequence of patches improves Cortex-A7 pipeline description. [1/5] Add ffmas and ffmad type attribute and use it instead of fmacs and fmacd (respectively) for fused multiply and accumulate operations. [2/5] Update pipeline description of vdiv, vsqrt, and various vfp and neon mac operations.

[doc,committed] Fix missing ':' in inline asm example

2013-01-25 Thread Georg-Johann Lay
Applied as obvious: http://gcc.gnu.org/r195471 * doc/extend.texi (Example of asm with clobbered asm reg): Fix missing ':' in asm example.

[PATCH,ARM][1/5] Add ffmas and ffmad type attribute

2013-01-25 Thread Greta Yorsh
Fused and not fused multiply and accumulated operations may have different timing characteristics, for example in Cortex-A7. Currently, the compiler captures all of these operations using the same type attribute fmac. This patch adds a new type attribute ffma to separate fused operations from

[PATCH] Don't optimize volatile stores or loads in cselim (PR tree-optimization/56098)

2013-01-25 Thread Jakub Jelinek
Hi! As shown by the testcases, we shouldn't try to optimize volatile stores resp. loads in tree-ssa-phiopt.c. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2013-01-25 Jakub Jelinek ja...@redhat.com PR tree-optimization/56098 *

[PATCH,ARM][2/5] Update cortex-a7 vfp/neon pipeline description

2013-01-25 Thread Greta Yorsh
This patch updates the description of vmul, vdiv, vsqrt, vmla,vmls, vfma, vfms operations for vfp and neon. It uses ffmas and ffmad type attribute introduced by the previous patch. gcc/ 2013-01-03 Greta Yorsh greta.yo...@arm.com * config/arm/cortex-a7.md (cortex_a7_neon_mul,

[PATCH,ARM][3/5] New bypass between mac operations in cortex-a7 pipeline description

2013-01-25 Thread Greta Yorsh
Add bypasses to forward the result of one MAC operation to the accumulator of another MAC operation. Towards this end, we add a new function arm_mac_accumulator_is_result to be used as a guard for bypasses. Existing guard arm_mac_accumulator_is_mul_result requires a multiply operation as the

[PATCH,ARM][5/5] Cleanup in cortex-a7 pipeline description

2013-01-25 Thread Greta Yorsh
In cortex_a7_idiv, the use of cortex_a7_all reservation can be replaced by cortex_a7_both, because all other reservations require at least one of cortex_a7_ex1 or cortex_a7_ex2. Then, remove unused reservation units cortex_a7_neon and cortex_a7_all. gcc/ 2013-01-03 Greta Yorsh

[Patch] Fix PR54814

2013-01-25 Thread Georg-Johann Lay
PR54814 causes spill fails because reload.c:find_valid_class_1 tests only one hard register instead of all hard registers of regno:mode in rclass: http://gcc.gnu.org/PR54814 The patch was originally worked out by Bernd Schmidt and fixed a problem introduced in http://gcc.gnu.org/r190252 The

Re: Cortex-A15 vfnma/vfnms test patch

2013-01-25 Thread Mike Stump
Given what stage we are in for trunk, I'm going to let the arm folks review this… [ this is my form of a ping for you! ] On Jan 21, 2013, at 9:04 PM, amol pise amolpis...@gmail.com wrote: Please let me know the patch is OK for trunk ? On 1/21/13, amol pise amolpis...@gmail.com wrote: *

[doc,avr,committed] Document __XMEGA__ built-in macro

2013-01-25 Thread Georg-Johann Lay
Committed as obvious: http://gcc.gnu.org/r195473 http://gcc.gnu.org/r195472 * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.

Re: [Patch] Fix PR54814

2013-01-25 Thread Jeff Law
On 01/25/2013 11:41 AM, Georg-Johann Lay wrote: PR54814 causes spill fails because reload.c:find_valid_class_1 tests only one hard register instead of all hard registers of regno:mode in rclass: http://gcc.gnu.org/PR54814 The patch was originally worked out by Bernd Schmidt and fixed a

C++ PATCH for c++/56095 (ICE on invalid function pointer template argument)

2013-01-25 Thread Jason Merrill
We were assuming well-formed code. Tested x86_64-pc-linux-gnu, applying to trunk. commit dc80cbbc639c39dd8728aa14d6188bcd9061bfd0 Author: Jason Merrill ja...@redhat.com Date: Fri Jan 25 06:15:26 2013 -0500 PR c++/56095 * pt.c (convert_nontype_argument_function): Handle invalid

Re: [PATCH] Don't optimize volatile stores or loads in cselim (PR tree-optimization/56098)

2013-01-25 Thread Jeff Law
On 01/25/2013 11:21 AM, Jakub Jelinek wrote: Hi! As shown by the testcases, we shouldn't try to optimize volatile stores resp. loads in tree-ssa-phiopt.c. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2013-01-25 Jakub Jelinek ja...@redhat.com PR

Re: [Patch] Fix PR54814

2013-01-25 Thread Georg-Johann Lay
Jeff Law schrieb: On 01/25/2013 11:41 AM, Georg-Johann Lay wrote: PR54814 causes spill fails because reload.c:find_valid_class_1 tests only one hard register instead of all hard registers of regno:mode in rclass: http://gcc.gnu.org/PR54814 The patch was originally worked out by Bernd

libbacktrace patch committed: Don't crash if no DW_AT_comp_dir

2013-01-25 Thread Ian Lance Taylor
This patch, written by Jakub in PR 56076, avoids crashing in libbacktrace if it sees a relative file name but did not see a DW_AT_comp_dir attribute. Bootstrapped and ran libbacktrace testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian 2013-01-25 Jakub Jelinek ja...@redhat.com

libgo patch committed: Support sparc64 in lfstack.c

2013-01-25 Thread Ian Lance Taylor
Looks like sparc64 broke for libgo when parallel garbage collection was introduced. This patch is an attempt to get it working again. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu, not that that proves much. Committed to mainline. Ian diff -r b8ae4def7c14

Re: [PATCH 1/2] [pr53679] libgo: add a --enable-werror configure flag

2013-01-25 Thread Ian Lance Taylor
On Tue, Jan 15, 2013 at 9:45 AM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 15 January 2013 09:56:06 Ian Lance Taylor wrote: On Sun, Dec 23, 2012 at 3:30 PM, Mike Frysinger vap...@gentoo.org wrote: diff --git a/libgo/configure.ac b/libgo/configure.ac index 8cde50b..63d8cbc 100644

Update my entry into the contributions

2013-01-25 Thread Andrew Pinski
Hi all, I thought I would update my entry which just mentions the bug work which I have done. I mentioned pointer plus and other optimizations in the new entry. I think other people should update their own entry also. Thanks, Andrew Pinski * doc/contrib.texi (Contributors): Update Andrew

Re: [PATCH 1/2] [pr53679] libgo: add a --enable-werror configure flag

2013-01-25 Thread Mike Frysinger
On Friday 25 January 2013 19:13:55 Ian Lance Taylor wrote: On Tue, Jan 15, 2013 at 9:45 AM, Mike Frysinger wrote: On Tuesday 15 January 2013 09:56:06 Ian Lance Taylor wrote: On Sun, Dec 23, 2012 at 3:30 PM, Mike Frysinger wrote: diff --git a/libgo/configure.ac b/libgo/configure.ac index

Re: FW: [PATCH] [MIPS] microMIPS gcc support

2013-01-25 Thread Maciej W. Rozycki
On Wed, 23 Jan 2013, Richard Sandiford wrote: Index: config/mips/gnu-user.h === --- config/mips/gnu-user.h (revision 195351) +++ config/mips/gnu-user.h (working copy) @@ -137,3 +137,12 @@ extern const char