[PATCH][GCC] Make stackalign test LTO proof

2015-11-12 Thread Andre Vieira
as at link time it knows this global will never be read. By adding a read of the global, LTO will no longer optimize it away. Tested by running regressions for this testcase for various ARM targets. Is this OK to commit? Thanks, Andre Vieira gcc/testsuite/ChangeLog: 2015-11-06 Andre

Re: [PATCH][GCC][ARM] testcase memset-inline-10.c uses -mfloat-abi=hard but does not check whether target supports it

2015-11-12 Thread Andre Vieira
On 12/11/15 15:08, Andre Vieira wrote: Hi, This patch changes the memset-inline-10.c testcase to make sure that it is only compiled for ARM targets that support -mfloat-abi=hard using the fact that all non-thumb1 targets do. This is correct because all targets for which -mthumb causes

[PATCH][GCC][ARM] testcase memset-inline-10.c uses -mfloat-abi=hard but does not check whether target supports it

2015-11-12 Thread Andre Vieira
the generation of FP instructions. Tested by running regressions for this testcase for various ARM targets. Is this OK to commit? Thanks, Andre Vieira gcc/testsuite/ChangeLog: 2015-11-06 Andre Vieira <andre.simoesdiasvie...@arm.com> * gcc.target/arm/memset-inline-10.c:

Re: [PING][PATCHv2, ARM, libgcc] New aeabi_idiv function for armv6-m

2015-10-27 Thread Andre Vieira
Ping. BR, Andre On 13/10/15 18:01, Andre Vieira wrote: This patch ports the aeabi_idiv routine from Linaro Cortex-Strings (https://git.linaro.org/toolchain/cortex-strings.git), which was contributed by ARM under Free BSD license. The new aeabi_idiv routine is used to replace the one in libgcc

[PATCH][ARM] Fix for testcase after r228661

2015-10-20 Thread Andre Vieira
Hi, This patch addresses PR-67948 by changing the xor-and.c test, initially written for a simplify-rtx pattern, to make it pass post r228661 (see https://gcc.gnu.org/ml/gcc-patches/2015-10/msg00676.html). This test no longer triggered the simplify-rtx pattern it was written for prior to

Re: [PATCH][ARM] Fix for testcase after r228661

2015-10-20 Thread Andre Vieira
On 20/10/15 17:25, Ramana Radhakrishnan wrote: On Tue, Oct 20, 2015 at 4:52 PM, Andre Vieira <andre.simoesdiasvie...@arm.com> wrote: Hi, This patch addresses PR-67948 by changing the xor-and.c test, initially written for a simplify-rtx pattern, to make it pass post r228661 (see

[PATCHv2, ARM, libgcc] New aeabi_idiv function for armv6-m

2015-10-13 Thread Andre Vieira
check passed for armv6-m. libgcc/ChangeLog: 2015-08-10 Hale Wang <hale.w...@arm.com> Andre Vieira <andre.simoesdiasvie...@arm.com> * config/arm/lib1funcs.S: Add new wrapper. From 832a3d6af6f06399f70b5a4ac3727d55960c93b7 Mon Sep 17 00:00:00 2001 From: Andre Simoes Dias V

[PATCH V3][GCC] Algorithmic optimization in match and simplify

2015-10-07 Thread Andre Vieira
On 25/09/15 12:42, Richard Biener wrote: On Fri, Sep 25, 2015 at 1:30 PM, Andre Vieira <andre.simoesdiasvie...@arm.com> wrote: On 17/09/15 10:46, Richard Biener wrote: On Thu, Sep 3, 2015 at 1:11 PM, Andre Vieira <andre.simoesdiasvie...@arm.com> wrote: On 01/09/15 15:01, Ri

Re: [PATCH v2][GCC] Algorithmic optimization in match and simplify

2015-09-25 Thread Andre Vieira
On 17/09/15 10:46, Richard Biener wrote: On Thu, Sep 3, 2015 at 1:11 PM, Andre Vieira <andre.simoesdiasvie...@arm.com> wrote: On 01/09/15 15:01, Richard Biener wrote: On Tue, Sep 1, 2015 at 3:40 PM, Andre Vieira <andre.simoesdiasvie...@arm.com> wrote: Hi Marc, On 28/08/15

Re: [gcc-5-branch][PATCH][AARCH64]Fix for branch offsets over 1 MiB

2015-09-25 Thread Andre Vieira
Ping. On 11/09/15 18:15, Andre Vieira wrote: Conditional branches have a maximum range of [-1048576, 1048572]. Any destination further away can not be reached by these. To be able to have conditional branches in very large functions, we invert the condition and change the destination to jump

Re: [PATCH v2][GCC] Algorithmic optimization in match and simplify

2015-09-16 Thread Andre Vieira
On 03/09/15 12:11, Andre Vieira wrote: On 01/09/15 15:01, Richard Biener wrote: On Tue, Sep 1, 2015 at 3:40 PM, Andre Vieira <andre.simoesdiasvie...@arm.com> wrote: Hi Marc, On 28/08/15 19:07, Marc Glisse wrote: (not a review, I haven't even read the whole patch) On Fri, 28 Aug 2015,

[gcc-5-branch][PATCH][AARCH64]Fix for branch offsets over 1 MiB

2015-09-11 Thread Andre Vieira
, far away, destination. This patch backports the fix from trunk to the gcc-5-branch. The original patch is at: https://gcc.gnu.org/ml/gcc-patches/2015-08/msg01493.html gcc/ChangeLog: 2015-09-09 Andre Vieira <andre.simoesdiasvie...@arm.com> Backport from mainline: 2015-08-27

Re: [PATCH v2][GCC] Algorithmic optimization in match and simplify

2015-09-03 Thread Andre Vieira
On 01/09/15 15:01, Richard Biener wrote: On Tue, Sep 1, 2015 at 3:40 PM, Andre Vieira <andre.simoesdiasvie...@arm.com> wrote: Hi Marc, On 28/08/15 19:07, Marc Glisse wrote: (not a review, I haven't even read the whole patch) On Fri, 28 Aug 2015, Andre Vieira wrote: 2015-08-03

Re: Location of "dg-final" directives? (was Re: [PATCH][GCC] Algorithmic optimization in match and simplify)

2015-09-02 Thread Andre Vieira
On 01/09/15 17:54, Marek Polacek wrote: On Tue, Sep 01, 2015 at 12:50:27PM -0400, David Malcolm wrote: I can't comment on the patch itself, but I noticed that in the testsuite addition, you've gathered all the "dg-final" clauses at the end. I think that this is consistent with existing

Re: [PATCH][GCC] Algorithmic optimization in match and simplify

2015-09-01 Thread Andre Vieira
Hi Marc, On 28/08/15 19:07, Marc Glisse wrote: (not a review, I haven't even read the whole patch) On Fri, 28 Aug 2015, Andre Vieira wrote: 2015-08-03 Andre Vieira <andre.simoesdiasvie...@arm.com> * match.pd: Added new patterns: ((X {&,<<,>>} C0) {|,^

[PATCH][GCC] Algorithmic optimization in match and simplify

2015-08-28 Thread Andre Vieira
respectively. gcc/ChangeLog: 2015-08-03 Andre Vieira andre.simoesdiasvie...@arm.com * match.pd: Added new patterns: ((X {,,} C0) {|,^} C1) {^,|} C2) (X {|,^,} C0) {,} C1 - (X {,} C1) {|,^,} (C0 {,} C1) gcc/testsuite/ChangeLog: 2015-08-03 Andre Vieira andre.simoesdiasvie...@arm.com

[PATCH][AARCH64]Fix for branch offsets over 1 MiB

2015-08-25 Thread Andre Vieira
, far away, destination. gcc/ChangeLog: 2015-08-07 Ramana Radhakrishnan ramana.radhakrish...@arm.com Andre Vieira andre.simoesdiasvie...@arm.com * config/aarch64/aarch64.md (*condjump): Handle functions 1 Mib. (*cboptabmode1): Idem. (*tboptabmode1

Re: [PATCH][AARCH64]Fix for branch offsets over 1 MiB

2015-08-25 Thread Andre Vieira
On 25/08/15 10:52, Andrew Pinski wrote: On Tue, Aug 25, 2015 at 5:50 PM, Andrew Pinski pins...@gmail.com wrote: On Tue, Aug 25, 2015 at 5:37 PM, Andre Vieira andre.simoesdiasvie...@arm.com wrote: Conditional branches have a maximum range of [-1048576, 1048572]. Any destination further away can

<    3   4   5   6   7   8