Re: [PATCH][AAarch64][v3] Add support for TARGET_COMPUTE_FRAME_LAYOUT

2018-09-12 Thread Vlad Lazar
On 11/09/18 17:53, James Greenhalgh wrote: On Mon, Aug 06, 2018 at 11:14:17AM -0500, Vlad Lazar wrote: Hi, The patch adds support for the TARGET_COMPUTE_FRAME_LAYOUT hook on AArch64 and removes unneeded frame layout recalculation. The removed aarch64_layout_frame calls are unnecessary because

[PATCH] Schedule by INSN_COST in case of tie

2018-09-11 Thread Vlad Lazar
ldrhw12, [x0, 6] b .L759 Bootstrapped and regtested on aarch64-none-linux-gnu and there are no regressions. Ok for trunk? Thanks, Vlad gcc/ Changelog for gcc/Changelog 2018-09-11 Vlad Lazar * haifa-sched.c (rank_for_schedule): Schedule by INSN_COST. (rfs_decision

Re: [PATCH][AArch64] Implement new intrinsics vabsd_s64 and vnegd_s64

2018-08-31 Thread Vlad Lazar
On 28/08/18 22:58, James Greenhalgh wrote: On Tue, Aug 28, 2018 at 03:59:25AM -0500, Vlad Lazar wrote: Gentle ping. On 08/08/18 17:38, Vlad Lazar wrote: On 01/08/18 18:35, James Greenhalgh wrote: On Wed, Aug 01, 2018 at 07:13:53AM -0500, Vlad Lazar wrote: On 31/07/18 22:48, James Greenhalgh

Re: [GCC][PATCH] Enable underflow check in canonicalize_comparison. (PR86995)

2018-08-30 Thread Vlad Lazar
On 29/08/18 17:55, Jakub Jelinek wrote: On Wed, Aug 29, 2018 at 05:49:02PM +0100, Vlad Lazar wrote: On 29/08/18 17:43, Jakub Jelinek wrote: On Wed, Aug 29, 2018 at 05:39:26PM +0100, Vlad Lazar wrote: r263591 introduced the following regressions on multiple platforms: +FAIL: c-c++-common

Re: [GCC][PATCH] Enable underflow check in canonicalize_comparison. (PR86995)

2018-08-29 Thread Vlad Lazar
On 29/08/18 17:43, Jakub Jelinek wrote: On Wed, Aug 29, 2018 at 05:39:26PM +0100, Vlad Lazar wrote: r263591 introduced the following regressions on multiple platforms: +FAIL: c-c++-common/torture/builtin-arith-overflow-17.c -O0 execution test +FAIL: c-c++-common/torture/builtin-arith

[GCC][PATCH] Enable underflow check in canonicalize_comparison. (PR86995)

2018-08-29 Thread Vlad Lazar
Hi. r263591 introduced the following regressions on multiple platforms: +FAIL: c-c++-common/torture/builtin-arith-overflow-17.c -O0 execution test +FAIL: c-c++-common/torture/builtin-arith-overflow-17.c -O2 execution test +FAIL: c-c++-common/torture/builtin-arith-overflow-17.c -O2 -flto

[MAINTAINERS, committed] Add myself to write after approval

2018-08-29 Thread Vlad Lazar
Add myself to write after approval. Committed in r263949. Vlad --- Index: ChangeLog === --- ChangeLog (revision 263948) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2018-08-29 Vlad Lazar + + * MAINTAINERS (write

Re: [PATCH][AAarch64][v3] Add support for TARGET_COMPUTE_FRAME_LAYOUT

2018-08-28 Thread Vlad Lazar
Gentle ping. On 06/08/18 17:14, Vlad Lazar wrote: Hi, The patch adds support for the TARGET_COMPUTE_FRAME_LAYOUT hook on AArch64 and removes unneeded frame layout recalculation. The removed aarch64_layout_frame calls are unnecessary because the functions in which they appear will be called

Re: [PATCH][AArch64] Implement new intrinsics vabsd_s64 and vnegd_s64

2018-08-28 Thread Vlad Lazar
Gentle ping. On 08/08/18 17:38, Vlad Lazar wrote: On 01/08/18 18:35, James Greenhalgh wrote: On Wed, Aug 01, 2018 at 07:13:53AM -0500, Vlad Lazar wrote: On 31/07/18 22:48, James Greenhalgh wrote: On Fri, Jul 20, 2018 at 04:37:34AM -0500, Vlad Lazar wrote: Hi, The patch adds implementations

Re: [RFC][PATCH][mid-end] Optimize immediate choice in comparisons.

2018-08-16 Thread Vlad Lazar
On 16/08/18 17:35, Jeff Law wrote: On 08/14/2018 11:01 AM, Vlad Lazar wrote: On 13/08/18 15:00, Richard Sandiford wrote: Vlad Lazar writes: diff --git a/gcc/expmed.h b/gcc/expmed.h index 2890d9c9bbd034f01030dd551d544bf73e73b784..86a32a643fdd0fc9f396bd2c7904244bd484df16 100644 --- a/gcc

Re: [RFC][PATCH][mid-end] Optimize immediate choice in comparisons.

2018-08-14 Thread Vlad Lazar
On 13/08/18 15:00, Richard Sandiford wrote: Vlad Lazar writes: diff --git a/gcc/expmed.h b/gcc/expmed.h index 2890d9c9bbd034f01030dd551d544bf73e73b784..86a32a643fdd0fc9f396bd2c7904244bd484df16 100644 --- a/gcc/expmed.h +++ b/gcc/expmed.h @@ -702,6 +702,10 @@ extern rtx emit_store_flag (rtx

Re: [RFC][PATCH][mid-end] Optimize immediate choice in comparisons.

2018-08-10 Thread Vlad Lazar
On 09/08/18 06:48, Jeff Law wrote: On 08/07/2018 02:11 PM, Richard Sandiford wrote: Hi Vlad, Thanks for the patch. Vlad Lazar writes: Hi. This patch optimises the choice of immediates in integer comparisons. Integer comparisons allow for different choices (e.g. a > b is equival

Re: [PATCH][AArch64] Implement new intrinsics vabsd_s64 and vnegd_s64

2018-08-08 Thread Vlad Lazar
On 01/08/18 18:35, James Greenhalgh wrote: On Wed, Aug 01, 2018 at 07:13:53AM -0500, Vlad Lazar wrote: On 31/07/18 22:48, James Greenhalgh wrote: On Fri, Jul 20, 2018 at 04:37:34AM -0500, Vlad Lazar wrote: Hi, The patch adds implementations for the NEON intrinsics vabsd_s64 and vnegd_s64

[RFC][PATCH][mid-end] Optimize immediate choice in comparisons.

2018-08-07 Thread Vlad Lazar
gcc/testsuite/ Changelog for gcc/testsuite/Changelog 2018-07-30 Vlad Lazar * gcc.target/aarch64/imm_choice_comparison.c: New. gcc/ Changelog for gcc/Changelog 2018-07-30 Vlad Lazar * cfgexpand.c (optimize_immediate_choice): New. (ca

[PATCH][AAarch64][v3] Add support for TARGET_COMPUTE_FRAME_LAYOUT

2018-08-06 Thread Vlad Lazar
Vlad Lazar * config/aarch64/aarch64.h (TARGET_COMPUTE_FRAME_LAYOUT): Define. * config/aarch64/aarch64.c (aarch64_expand_prologue): Remove aarch64_layout_frame call. (aarch64_expand_epilogue): Likewise. (aarch64_initial_elimination_offset): Likewise

Re: [PATCH][AArch64] Implement new intrinsics vabsd_s64 and vnegd_s64

2018-08-01 Thread Vlad Lazar
On 31/07/18 22:48, James Greenhalgh wrote: On Fri, Jul 20, 2018 at 04:37:34AM -0500, Vlad Lazar wrote: Hi, The patch adds implementations for the NEON intrinsics vabsd_s64 and vnegd_s64. (https://developer.arm.com/products/architecture/cpu-architecture/a-profile/docs/ihi0073/latest/arm-neon

[PATCH][AArch64] Implement new intrinsics vabsd_s64 and vnegd_s64

2018-07-20 Thread Vlad Lazar
and there are no regressions. OK for trunk? Thanks, Vlad gcc/ 2018-07-02 Vlad Lazar * config/aarch64/arm_neon.h (vabsd_s64, vnegd_s64): New. gcc/testsuite/ 2018-07-02 Vlad Lazar * gcc.target/aarch64/scalar_intrinsics.c (test_vabsd_s64, test_vabsd_s64): New. --- diff --git

[PATCH][AAarch64][v2] Add support for TARGET_COMPUTE_FRAME_LAYOUT

2018-07-20 Thread Vlad Lazar
On 09/07/18 12:58, Vlad Lazar wrote: Hi all, The patch adds support for the TARGET_COMPUTE_FRAME_LAYOUT hook on AArch64 and removes unneeded frame layout recalculation. Bootstrapped and regtested on aarch64-none-linux-gnu and there are no regressions. Thanks, Vlad gcc/ 2018-07-02 Vlad

[PATCH][AAarch64] Add support for TARGET_COMPUTE_FRAME_LAYOUT

2018-07-09 Thread Vlad Lazar
Hi all, The patch adds support for the TARGET_COMPUTE_FRAME_LAYOUT hook on AArch64 and removes unneeded frame layout recalculation. Bootstrapped and regtested on aarch64-none-linux-gnu and there are no regressions. Thanks, Vlad gcc/ 2018-07-02 Vlad Lazar * config/aarch64/aarch64.h