[PATCH 1/2] Allow REG_EQUAL for ZERO_EXTRACT

2015-06-28 Thread Kugan
This patch allows setting REG_EQUAL for ZERO_EXTRACT and handle that in cse (where the src for the ZERO_EXTRACT needs to be calculated) Thanks, Kugan 2015-06-26 Kugan Vivekanandarajah kug...@linaro.org * cse.c (cse_insn): Calculate src_eqv for ZERO_EXTRACT. * emit-rtl.c

[PATCH 2/2] Set REG_EQUAL

2015-06-28 Thread Kugan
This patch sets REG_EQUAL when emitting arm_emit_movpair. Thanks, Kugan gcc/testsuite/ChangeLog: 2015-06-26 Kugan Vivekanandarajah kug...@linaro.org * gcc.target/arm/reg_equal_test.c: New test. gcc. 2015-06-26 Kugan Vivekanandarajah kug...@linaro.org * config/arm/arm.c

Re: Remove redundant AND from count reduction loop

2015-06-28 Thread Marc Glisse
On Fri, 26 Jun 2015, Richard Biener wrote: OK. The reason I was being paranoid was that I couldn't see anywhere where we enforced that the vector condition in a VEC_COND had to have the same element width as the values being selected. We don't require that indeed. tree-cfg.c only checks

[PATCH 0/2] Set REG_EQUAL when emitting arm_emit_movpair

2015-06-28 Thread Kugan
When we split constants with the arm_emit_movpair, we are not setting the REG_EQUAL note. This patch attempts to do that. Fist patch allow setting REG_EQUAL for ZERO_EXTRACT and handle that in cse (where the src for the ZERO_EXTRACT needs to be calculated) Second patch sets REG_EQUAL when

New Swedish PO file for 'gcc' (version 5.1.0)

2015-06-28 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Swedish team of translators. The file is available at: http://translationproject.org/latest/gcc/sv.po (This file, 'gcc-5.1.0.sv.po', has

Re: [PATCH] Use PIE_SPEC/NO_PIE_SPEC for crtend.o/crtendS.o

2015-06-28 Thread H.J. Lu
On Thu, Jun 25, 2015 at 04:37:29AM -0700, H.J. Lu wrote: On Wed, Jun 10, 2015 at 6:20 AM, Rainer Orth r...@cebitec.uni-bielefeld.de wrote: H.J. Lu hjl.to...@gmail.com writes: On Tue, May 19, 2015 at 8:33 AM, Joseph Myers jos...@codesourcery.com wrote: On Tue, 19 May 2015, H.J. Lu

[PATCH] config/bfin/bfin.c (hwloop_optimize): Use return false instead of gcc_assert for checking jump_insn.

2015-06-28 Thread Chen Gang
For bfin looping optimization, after lsetup optimization, it can have the correct lsetup related insns which causes gcc_assert for jump_insn. The related bug is Bug 66620. 2015-06-28 Chen Gang gang.chen.5...@gmail.com * config/bfin/bfin.c (hwloop_optimize): Use return false instead

[wwwdocs] move a link to https in java/done.html

2015-06-28 Thread Gerald Pfeifer
Applied. Gerald 2015-06-27 Gerald Pfeifer ger...@pfeifer.com * done.html: www.pdflabs.com now uses https. Index: done.html === RCS file: /cvs/gcc/wwwdocs/htdocs/java/done.html,v retrieving revision 1.53 diff -u -r1.53

[wwwdocs] Fix link from about.html to contribute.html

2015-06-28 Thread Gerald Pfeifer
A little embarrassing to have such a broken link on this page. Fixed. Gerald Index: about.html === RCS file: /cvs/gcc/wwwdocs/htdocs/about.html,v retrieving revision 1.25 diff -u -r1.25 about.html --- about.html 1 Feb 2015 19:38:35

[wwwdocs] Link maintenance for projects/cli.html

2015-06-28 Thread Gerald Pfeifer
Applied. Gerald Index: projects/cli.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/cli.html,v retrieving revision 1.26 diff -u -r1.26 cli.html --- projects/cli.html 30 Jun 2014 22:07:35 - 1.26 +++ projects/cli.html

[doc] invoke.texi: -mno-fancy-math-387 and FreeBSD

2015-06-28 Thread Gerald Pfeifer
Now that Andreas is on board, time to dust off some older issues of mine. :-) I verified that current GCC HEAD generates fsincos on FreeBSD/i386 with -ffastmath (and no options otherwise), and generates a call to a sin() function otherwise. So, okay to apply this patch? And if so, okay to push

Re: [PATCH] [aarch64] Implemented reciprocal square root (rsqrt) estimation in -ffast-math

2015-06-28 Thread pinskia
On Jun 25, 2015, at 9:44 AM, Kumar, Venkataramanan venkataramanan.ku...@amd.com wrote: I got around ~12% gain with -Ofast -mcpu=cortex-a57. I get around 11/12% on thunderX with the patch and the decreasing the iterations change (1/2) compared to without the patch. Thanks, Andrew

Re: [wwwdocs] 4.9/changes.html: Mention -Wopenmp-simd/-fsimd-cost-model; Fortran update

2015-06-28 Thread Gerald Pfeifer
No feedback, so I now went ahead and applied this. Tobias, if you have any suggestions, please advise. Gerald On Sun, 12 Apr 2015, Gerald Pfeifer wrote: [ Tobias, your bur...@net-b.de account just bounced with mailbox full! ] On Tue, 18 Feb 2014, Tobias Burnus wrote: is the wording okay -

[wwwdocs] Adjust URL of StarPU in extensions.html

2015-06-28 Thread Gerald Pfeifer
Applied. Gerald Index: extensions.html === RCS file: /cvs/gcc/wwwdocs/htdocs/extensions.html,v retrieving revision 1.55 diff -u -r1.55 extensions.html --- extensions.html 21 Apr 2015 10:11:35 - 1.55 +++ extensions.html

Re: [wwwdocs] The C++ ABI specification has moved again

2015-06-28 Thread Gerald Pfeifer
On Sat, 27 Jun 2015, Gerald Pfeifer wrote: ...so adjust all the links. Applied. Plus one I missed yesterday. Gerald Index: gcc-3.2/c++-abi.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.2/c++-abi.html,v retrieving revision 1.7

[wwwdocs] debian.org has moved to https

2015-06-28 Thread Gerald Pfeifer
Applied. Gerald Index: gcc-4.6/porting_to.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/porting_to.html,v retrieving revision 1.7 diff -u -r1.7 porting_to.html --- gcc-4.6/porting_to.html 28 Jun 2014 22:44:29 - 1.7

Re: [Patch wwwdocs] Document caveat with guard initializations for C++ on architectures without barrier instructions.

2015-06-28 Thread Gerald Pfeifer
On Fri, 26 Jun 2015, Ramana Radhakrishnan wrote: OK ? One sence has will ... either ... or would where I think using will in both cases may be better? Apart from this it looks good to me. Plus, as maintainer you don't need approval for contributions like this. :-) Gerald

Re: [patch] fix regrename pass to ensure renamings produce valid insns

2015-06-28 Thread Sandra Loosemore
On 06/24/2015 09:46 PM, Jeff Law wrote: On 06/23/2015 07:00 PM, Sandra Loosemore wrote: On 06/18/2015 11:32 AM, Eric Botcazou wrote: The attached patch teaches regrename to validate insns affected by each register renaming before making the change. I can see at least two other ways to handle

[PATCH, i386]: Clean-up MPX patterns a bit

2015-06-28 Thread Uros Bizjak
Hello! Attached patch cleans MPX patterns a bit. Additionally, it moves a couple of checks out from the expander to the call site and uses a couple of helper functions. There are no functional changes in the patch. 2015-06-28 Uros Bizjak ubiz...@gmail.com * config/i386/i386.md

Re: Move ABS detection from fold-const.c to match.pd

2015-06-28 Thread Marc Glisse
(this message looks like it was lost in my draft folder...) On Tue, 26 May 2015, Richard Biener wrote: +(match zerop integer_zerop) +(match zerop real_zerop) Would it also include fixed_zerop? Probably, yes. The main issue is that I know next to nothing about fixed-point types, so I am

Re: [VRP] Improve value ranges for unsigned division

2015-06-28 Thread Kugan
On 26/06/15 04:27, Jeff Law wrote: On 06/24/2015 12:36 AM, Kugan wrote: On 23/06/15 01:09, Richard Biener wrote: On Sat, Jun 20, 2015 at 9:12 AM, Kugan kugan.vivekanandara...@linaro.org wrote: As discussed in PR64130, this patch improves the VRP value ranges for unsigned division.

Re: [PATCH] c/66516 - missing diagnostic on taking the address of a builtin function

2015-06-28 Thread Martin Sebor
Attached is a rewrite of the patch to enforce that GCC builtin functions with no library equivalents are only used to make calls or cast to void (or in sizeof and _Alignof expressions as a GCC extension). This version of the patch also addresses the requests made in responses to the first patch.