Re: [PATCH 01/15] add more coalescing to simplify constraints

2016-01-21 Thread Matthew Wahab
On 15/01/16 17:14, Sebastian Pop wrote: From: Sebastian Pop 2015-12-30 Aditya Kumar Sebastian Pop * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce. (add_pdr_constraints): Same. (scop_get_reads): Same. (scop_get_must_writes

Re: [PATCH 01/15] add more coalescing to simplify constraints

2016-01-21 Thread Matthew Wahab
On 21/01/16 14:22, Matthew Wahab wrote: On 15/01/16 17:14, Sebastian Pop wrote: From: Sebastian Pop 2015-12-30 Aditya Kumar Sebastian Pop * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce. (add_pdr_constraints): Same. (scop_get_reads): Same

Re: [PATCH][AArch64] Remove an unused reload hook.

2016-02-29 Thread Matthew Wahab
On 25/02/16 11:00, Yvan Roux wrote: Hi, On 26 January 2015 at 18:01, Matthew Wahab wrote: Hello, The LEGITIMIZE_RELOAD_ADDRESS macro is only needed for reload. Since the Aarch64 backend no longer supports reload, this macro is not needed and this patch removes it. Tested aarch64-none-linux

Re: [ARM] Correct spelling of references to ARMv6KZ

2015-07-23 Thread Matthew Wahab
On 24/06/15 10:25, Matthew Wahab wrote: Ping. Attached updated patch which also actually removes "armv6zk" from doc/invoke.texi. Also, retested: - arm-none-linux-gnueabihf native bootstrap and cross-compiled make checck. - arm-none-eabi: cross-compiled make check. gcc/ 2015-07-2

Re: [PATCH 1/4][ARM] Make room for more CPU feature flags.

2015-07-24 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested the series for arm-none-linux-gnueabihf with native bootstrap and make check and arm-none-abi with cross-compiled make check. On 22/06/15 16:41, Matthew Wahab wrote: Hello, The ARM backend uses an unsigned long to record CPU feature flags and there

Re: [PATCH 2/4][ARM] Add feature set definitions.

2015-07-24 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested the series for arm-none-linux-gnueabihf with native bootstrap and make check and arm-none-eabi with cross-compiled make check. On 22/06/15 16:45, Matthew Wahab wrote: Hello, The ARM backend uses an unsigned long to record CPU feature flags and

Re: [PATCH 3/4][ARM] Use new feature set representation.

2015-07-24 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested the series for arm-none-linux-gnueabihf with native bootstrap and make check and arm-none-eabi with cross-compiled make check. On 22/06/15 16:52, Matthew Wahab wrote: Hello, The ARM backend uses an unsigned long to record CPU feature flags and

Re: [PATCH 4/4][ARM] Move initializer into arm-cores.def and arm-arches.def

2015-07-24 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested the series for arm-none-linux-gnueabihf with native bootstrap and make check and arm-none-eabi with cross-compiled make check. On 22/06/15 16:54, Matthew Wahab wrote: Hello, The ARM backend uses an unsigned long to record CPU feature flags and

Re: [ARM] Correct spelling of references to ARMv6KZ

2015-07-27 Thread Matthew Wahab
re mentioning the deliberate oversight. Respun patch attached. I've removed "armv6kz" entry from config/arm/driver-arm.c and replaced it with a comment for the "armv6zk" entry. Tested for arm-none-linux-gnueabihf with native bootstrap and make check. Matthew

Re: [PATCH 1/4][ARM][PR target/65697][5.1] Backport stronger barriers for __sync fetch-op builtins.

2015-07-27 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested for arm-none-linux-gnueabihf with native bootstrap and make check and for arm-none-eabi with cross compiled make check. On 02/07/15 14:12, Matthew Wahab wrote: The __sync builtins are implemented using barriers that are too weak for ARMv8 targets

Re: [PATCH 2/4][ARM][PR target/65697][5.1] Backport stronger barriers for __sync,compare-and-swap builtins.

2015-07-27 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested for arm-none-linux-gnueabihf with native bootstrap and make check and for arm-none-eabi with cross compiled make check. On 02/07/15 14:15, Matthew Wahab wrote: This patch backports the changes made to strengthen the barriers emitted for the __sync

Re: [PATCH 3/4][ARM][PR target/65697][5.1] Add tests for __sync_builtins.

2015-07-27 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested for arm-none-linux-gnueabihf with native bootstrap and make check and for arm-none-eabi with cross compiled make check. On 02/07/15 14:17, Matthew Wahab wrote: This patch backports the tests added for code generated by the ARM back-end for the

Re: [PATCH 4/4][ARM][PR target/65697][5.1] Fix tests for __sync_builtins.

2015-07-27 Thread Matthew Wahab
Ping. Updated patch attached. Also, retested for arm-none-linux-gnueabihf with native bootstrap and make check and for arm-none-eabi with cross compiled make check. On 02/07/15 14:18, Matthew Wahab wrote: This patch backports fixes for the __sync builtin tests. The trunk patch submission is

[AArch64][PATCH 1/5] Use atomic instructions for swap and fetch-update operations.

2015-09-17 Thread Matthew Wahab
c swap. Tested the series for aarch64-none-linux-gnu with native bootstrap and make check. Also tested for aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator with +lse enabled by default. Ok for trunk? Matthew gcc/ 2015-09-17 Matthew Wahab * config/aarch64/aarch64-pr

[AArch64][PATCH 2/5] Add BIC instruction.

2015-09-17 Thread Matthew Wahab
operation. Tested the series for aarch64-none-linux-gnu with native bootstrap and make check. Also tested for aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator with +lse enabled by default. Ok for trunk? Matthew 2015-09-17 Matthew Wahab * config/aarch64/aarch64.md (bic_3

[AArch64][PATCH 3/5] Add atomic load-operate instructions.

2015-09-17 Thread Matthew Wahab
cross-compiled check-gcc on an ARMv8.1 emulator with +lse enabled by default. Ok for trunk? Matthew 2015-09-17 Matthew Wahab * config/aarch64/aarch64/atomics.md (UNSPECV_ATOMIC_LDOP): New. (UNSPECV_ATOMIC_LDOP_OR): New. (UNSPECV_ATOMIC_LDOP_BIC): New

[AArch64][PATCH 4/5] Use atomic load-operate instructions for fetch-update patterns.

2015-09-17 Thread Matthew Wahab
e ARMv8 load-exclusive/store-exclusive instructions Tested the series for aarch64-none-linux-gnu with native bootstrap and make check. Also tested for aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator with +lse enabled by default. Ok for trunk? Matthew gcc/

[AArch64][PATCH 5/5] Use atomic load-operate instructions for update-fetch patterns.

2015-09-17 Thread Matthew Wahab
ilt with the ARMv8 load-exclusive/store-exclusive instructions Tested the series for aarch64-none-linux-gnu with native bootstrap and make check. Also tested for aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator with +lse enabled by default. Ok for trunk? Matthew

[ARM] Add ARMv8.1 command line options.

2015-09-17 Thread Matthew Wahab
generated by gcc. Tested for arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew 2015-09-17 Matthew Wahab * config/arm/arm-arches.def: Add "armv8.1-a" and "armv8.1-a+crc". * config/arm/arm-fpus.def: Add "neon-fp-

Re: [AArch64][PATCH 1/5] Use atomic instructions for swap and fetch-update operations.

2015-09-21 Thread Matthew Wahab
On 18/09/15 08:58, James Greenhalgh wrote: On Thu, Sep 17, 2015 at 05:37:55PM +0100, Matthew Wahab wrote: diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md index 65d2cc9..0e71002 100644 --- a/gcc/config/aarch64/atomics.md +++ b/gcc/config/aarch64/atomics.md @@ -27,6

Re: [AArch64][PATCH 2/5] Make BIC, other logical instructions, available. (was: Add BIC instruction.)

2015-09-21 Thread Matthew Wahab
On 18/09/15 09:05, James Greenhalgh wrote: On Thu, Sep 17, 2015 at 05:40:48PM +0100, Matthew Wahab wrote: Hello, ARMv8.1 adds atomic swap and atomic load-operate instructions with optional memory ordering specifiers. This patch adds an expander to generate a BIC instruction that can be

Re: [AArch64][PATCH 3/5] Add atomic load-operate instructions.

2015-09-21 Thread Matthew Wahab
On 18/09/15 09:39, James Greenhalgh wrote: On Thu, Sep 17, 2015 at 05:42:35PM +0100, Matthew Wahab wrote: --- gcc/config/aarch64/atomics.md | 41 + 1 file changed, 41 insertions(+) diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64

Re: [AArch64][PATCH 4/5] Use atomic load-operate instructions for fetch-update patterns.

2015-09-21 Thread Matthew Wahab
On 18/09/15 09:55, James Greenhalgh wrote: On Thu, Sep 17, 2015 at 05:47:43PM +0100, Matthew Wahab wrote: Hello, ARMv8.1 adds atomic swap and atomic load-operate instructions with optional memory ordering specifiers. This patch uses the ARMv8.1 atomic load-operate instructions to implement the

Re: [AArch64][PATCH 5/5] Use atomic load-operate instructions for update-fetch patterns.

2015-09-21 Thread Matthew Wahab
On 17/09/15 17:54, Matthew Wahab wrote: ARMv8.1 adds atomic swap and atomic load-operate instructions with optional memory ordering specifiers. This patch uses the ARMv8.1 load-operate instructions to implement the atomic__fetch patterns. The approach is to use the atomic load-operate

Re: [ARM] Add ARMv8.1 command line options.

2015-10-08 Thread Matthew Wahab
Ping. Updated patch attached, I've broken the over-long lines added to arm-arches.def and arm-fpus.def. Matthew On 17/09/15 18:54, Matthew Wahab wrote: Hello, ARMv8.1 is a set of architectural extensions to ARMv8. Support has been enabled in binutils for ARMv8.1 for the architechure,

Re: [ARM] Add ARMv8.1 command line options.

2015-10-13 Thread Matthew Wahab
Some of the command line options may be unnecessary so I'll drop this patch. Matthew On 08/10/15 12:00, Matthew Wahab wrote: Ping. Updated patch attached, I've broken the over-long lines added to arm-arches.def and arm-fpus.def. Matthew On 17/09/15 18:54, Matthew Wahab wro

[AArch64][PATCH 1/7] Add support for ARMv8.1 Adv.SIMD,instructions.

2015-10-23 Thread Matthew Wahab
the series for aarch64-none-linux-gnu with native bootstrap and make check on an ARMv8 architecture. Also tested aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator. Ok for trunk? Matthew gcc/ 2015-10-23 Matthew Wahab * config/aarch64/aarch64.h (AARCH64_ISA_RDMA): New

[AArch64][PATCH 2/7] Add sqrdmah, sqrdmsh instructions.

2015-10-23 Thread Matthew Wahab
native bootstrap and make check on an ARMv8 architecture. Also tested aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator. Ok for trunk? Matthew gcc/ 2015-10-23 Matthew Wahab * config/aarch64/aarch64-simd.md (aarch64_sqmovun): Fix some white-space

[AArch64][PATCH 3/7] Add builtins for ARMv8.1 Adv.SIMD,instructions.

2015-10-23 Thread Matthew Wahab
make check on an ARMv8 architecture. Also tested aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator. Ok for trunk? Matthew gcc/ 2015-10-23 Matthew Wahab * config/aarch64/aarch64-simd-builtins.def (sqrdmlah, sqrdmlsh): New. (sqrdmlah_lane

[AArch64][PATCH 4/7] Add ACLE feature macro for ARMv8.1,Adv.SIMD instructions.

2015-10-23 Thread Matthew Wahab
series for aarch64-none-linux-gnu with native bootstrap and make check on an ARMv8 architecture. Also tested aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator. Ok for trunk? Matthew gcc/ 2015-10-23 Matthew Wahab * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins

[AArch64][dejagnu][PATCH 5/7] Dejagnu support for ARMv8.1 Adv.SIMD.

2015-10-23 Thread Matthew Wahab
-gcc on an ARMv8.1 emulator. Ok for trunk? Matthew gcc/testsuite 2015-10-23 Matthew Wahab * lib/target-supports.exp (add_options_for_arm_v8_1a_neon): New. (check_effective_target_arm_arch_FUNC_ok) (add_options_for_arm_arch_FUNC

[AArch64][PATCH 6/7] Add NEON intrinsics vqrdmlah and vqrdmlsh.

2015-10-23 Thread Matthew Wahab
make check on an ARMv8 architecture. Also tested aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator. Ok for trunk? Matthew gcc/ 2015-10-23 Matthew Wahab * gcc/config/aarch64/arm_neon.h (vqrdmlah_s16, vqrdmlah_s32): New. (vqrdmlahq_s16, vqrdmlahq_s32): New

[AArch64][PATCH 7/7] Add NEON intrinsics vqrdmlah_lane and vqrdmlsh_lane.

2015-10-23 Thread Matthew Wahab
bootstrap and make check on an ARMv8 architecture. Also tested aarch64-none-elf with cross-compiled check-gcc on an ARMv8.1 emulator. Ok for trunk? Matthew gcc/ 2015-10-23 Matthew Wahab * gcc/config/aarch64/arm_neon.h (vqrdmlah_laneq_s16, vqrdmlah_laneq_s32): New

Re: [AArch64][dejagnu][PATCH 5/7] Dejagnu support for ARMv8.1 Adv.SIMD.

2015-10-27 Thread Matthew Wahab
On 24/10/15 08:16, Bernhard Reutner-Fischer wrote: On October 23, 2015 2:24:26 PM GMT+02:00, Matthew Wahab wrote: The ARMv8.1 architecture extension adds two Adv.SIMD instructions,. This patch adds support in Dejagnu for ARMv8.1 Adv.SIMD specifiers and checks. The new test options are - { dg

Re: [AArch64][PATCH 2/7] Add sqrdmah, sqrdmsh instructions.

2015-10-27 Thread Matthew Wahab
On 27/10/15 11:18, James Greenhalgh wrote: ;; --- @@ -932,6 +934,8 @@ UNSPEC_SQSHRN UNSPEC_UQSHRN UNSPEC_SQRSHRN UNSPEC_UQRSHRN]) +(define_int_iterator SQRDMLAH [U

Re: [AArch64][PATCH 6/7] Add NEON intrinsics vqrdmlah and vqrdmlsh.

2015-10-30 Thread Matthew Wahab
On 30/10/15 12:51, Christophe Lyon wrote: On 23 October 2015 at 14:26, Matthew Wahab wrote: The ARMv8.1 architecture extension adds two Adv.SIMD instructions, sqrdmlah and sqrdmlsh. This patch adds the NEON intrinsics vqrdmlah and vqrdmlsh for these instructions. The new intrinsics are of the

[AArch64] Move iterators from atomics.md to iterators.md

2015-11-02 Thread Matthew Wahab
. This patch moves both into iterators.md. Tested aarch64-none-elf with cross-compiled check-gcc and aarch64-none-linux-gnu with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-02 Matthew Wahab * config/aarch64/atomics.md (unspecv): Move to iterators.md

Re: [AArch64][PATCH 6/7] Add NEON intrinsics vqrdmlah and vqrdmlsh.

2015-11-09 Thread Matthew Wahab
On 09/11/15 13:31, Christophe Lyon wrote: On 30 October 2015 at 16:52, Matthew Wahab wrote: On 30/10/15 12:51, Christophe Lyon wrote: On 23 October 2015 at 14:26, Matthew Wahab wrote: The ARMv8.1 architecture extension adds two Adv.SIMD instructions, sqrdmlah and sqrdmlsh. This patch adds

[AArch64] Rework ARMv8.1 command line options.

2015-11-16 Thread Matthew Wahab
-elf with cross-compiled check-gcc and aarch64-none-linux-gnu with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-16 Matthew Wahab * config/aarch64/aarch64-options-extensions.def: Remove AARCH64_FL_RDMA from "fp" and "simd".

Re: [AArch64][dejagnu][PATCH 5/7] Dejagnu support for ARMv8.1 Adv.SIMD.

2015-11-23 Thread Matthew Wahab
On 23/11/15 12:24, James Greenhalgh wrote: On Tue, Oct 27, 2015 at 03:32:04PM +, Matthew Wahab wrote: On 24/10/15 08:16, Bernhard Reutner-Fischer wrote: On October 23, 2015 2:24:26 PM GMT+02:00, Matthew Wahab wrote: The ARMv8.1 architecture extension adds two Adv.SIMD instructions

Re: [AArch64][dejagnu][PATCH 5/7] Dejagnu support for ARMv8.1 Adv.SIMD.

2015-11-25 Thread Matthew Wahab
On 23/11/15 16:38, Matthew Wahab wrote: On 23/11/15 12:24, James Greenhalgh wrote: On Tue, Oct 27, 2015 at 03:32:04PM +, Matthew Wahab wrote: On 24/10/15 08:16, Bernhard Reutner-Fischer wrote: On October 23, 2015 2:24:26 PM GMT+02:00, Matthew Wahab wrote: The ARMv8.1 architecture

Re: [AArch64][PATCH 6/7] Add NEON intrinsics vqrdmlah and vqrdmlsh.

2015-11-25 Thread Matthew Wahab
On 23/11/15 13:35, James Greenhalgh wrote: On Fri, Oct 23, 2015 at 01:26:11PM +0100, Matthew Wahab wrote: The ARMv8.1 architecture extension adds two Adv.SIMD instructions, sqrdmlah and sqrdmlsh. This patch adds the NEON intrinsics vqrdmlah and vqrdmlsh for these instructions. The new

Re: [AArch64][PATCH 7/7] Add NEON intrinsics vqrdmlah_lane and vqrdmlsh_lane.

2015-11-25 Thread Matthew Wahab
On 23/11/15 13:37, James Greenhalgh wrote: On Fri, Oct 23, 2015 at 01:30:46PM +0100, Matthew Wahab wrote: The ARMv8.1 architecture extension adds two Adv.SIMD instructions, sqrdmlah and sqrdmlsh. This patch adds the NEON intrinsics vqrdmlah_lane and vqrdmlsh_lane for these instructions. The new

[PATCH 1/7][ARM] Add support for ARMv8.1.

2015-11-26 Thread Matthew Wahab
native bootstrap and make check. Is this ok for trunk? Matthew gcc/ 2015-11-26 Matthew Wahab * config/arm/arm-arches.def: Add "armv8.1-a" and "armv8.1-a+crc". * config/arm/arm-protos.h (FL2_ARCH8_1): New. (FL2_FOR_ARCH8_1A): New. * confi

[PATCH 2/7][ARM] Multilib support for ARMv8.1.

2015-11-26 Thread Matthew Wahab
arm-none-eabi with cross-compiled check-gcc on an ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-26 Matthew Wahab * config/arm/t-aprofile: Make "armv8.1-a" and "armv8.1-a+crc"

[PATCH 3/7][ARM] Add patterns for new instructions

2015-11-26 Thread Matthew Wahab
with cross-compiled check-gcc on an ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-26 Matthew Wahab * config/arm/iterators.md (VQRDMLH_AS): New. (neon_rdma_as): New. * config/arm/neon.md

[PATCH 4/7][ARM] Add ACLE feature macro for ARMv8.1 instructions.

2015-11-26 Thread Matthew Wahab
with cross-compiled check-gcc on an ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-26 Matthew Wahab * config/arm/arm-c.c (arm_cpu_builtins): Define __ARM_FEATURE_QRDMX. >F

[PATCH 5/7][Testsuite] Support ARMv8.1 ARM tests.

2015-11-26 Thread Matthew Wahab
. - check_effective_target_arm_v8_1a_neon_hw: Add a test for ARM targets. Tested the series for arm-none-eabi with cross-compiled check-gcc on an ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew testsuite/ 2015-11-26 Matthew Wahab * lib/target

[PATCH 6/7][ARM] Add ACLE intrinsics vqrdmlah and vqrdmlsh

2015-11-26 Thread Matthew Wahab
together with appropriate fpu options. Tested the series for arm-none-eabi with cross-compiled check-gcc on an ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-26 Matthew Wahab * config/arm/arm_neon.h

[PATCH 7/7][ARM] Add ACLE intrinsics vqrdmlah_lane and vqrdmlsh_lane

2015-11-26 Thread Matthew Wahab
enabled together with appropriate fpu options. Tested the series for arm-none-eabi with cross-compiled check-gcc on an ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native bootstrap and make check. Ok for trunk? Matthew gcc/ 2015-11-26 Matthew Wahab * config/arm/arm_neon.h

Re: [PATCH 5/7][Testsuite] Support ARMv8.1 ARM tests.

2015-11-26 Thread Matthew Wahab
Attached the missing patch. Matthew On 26/11/15 16:02, Matthew Wahab wrote: Hello, This patch adds ARMv8.1 support to GCC Dejagnu, to allow ARM tests to specify targest and to set up command line options. It builds on the ARMv8.1 target support added for AArch64 tests, partly reworking that

Re: [PATCH 7/7][ARM] Add ACLE intrinsics vqrdmlah_lane and vqrdmlsh_lane

2015-11-26 Thread Matthew Wahab
Attached the missing patch. Matthew On 26/11/15 16:04, Matthew Wahab wrote: Hello, This patch adds the ACLE intrinsics for the instructions introduced in ARMv8.1. It adds the vqrmdlah_lane and vqrdmlsh_lane forms of the instrinsics to the arm_neon.h header, together with the ARM builtins used

Re: [AArch64] Rework ARMv8.1 command line options.

2015-11-27 Thread Matthew Wahab
On 24/11/15 15:22, James Greenhalgh wrote: > On Mon, Nov 16, 2015 at 04:31:32PM +0000, Matthew Wahab wrote: >> >> The command line options for target selection allow ARMv8.1 extensions >> to be individually enabled/disabled. They also allow the extensions to >> be

Re: [PATCH 1/7][ARM] Add support for ARMv8.1.

2015-11-27 Thread Matthew Wahab
On 27/11/15 14:05, Christophe Lyon wrote: On 26 November 2015 at 16:55, Matthew Wahab wrote: ARMv8.1 includes an extension to ARM which adds two Adv.SIMD instructions, vqrdmlah and vqrdmlsh. This patch set adds support for ARMv8.1 and for the new instructions, enabling the architecture with

Re: [PATCH 5/7][Testsuite] Support ARMv8.1 ARM tests.

2015-11-27 Thread Matthew Wahab
On 27/11/15 13:44, Christophe Lyon wrote: On 26/11/15 16:02, Matthew Wahab wrote: This patch adds ARMv8.1 support to GCC Dejagnu, to allow ARM tests to specify targest and to set up command line options. It builds on the ARMv8.1 target support added for AArch64 tests, partly reworking that

Re: [PATCH 5/7][Testsuite] Support ARMv8.1 ARM tests.

2015-11-27 Thread Matthew Wahab
On 27/11/15 13:44, Christophe Lyon wrote: On 26/11/15 16:02, Matthew Wahab wrote: This patch adds ARMv8.1 support to GCC Dejagnu, to allow ARM tests to specify targest and to set up command line options. It builds on the ARMv8.1 target support added for AArch64 tests, partly reworking that

Re: [AArch64] Rework ARMv8.1 command line options.

2015-12-07 Thread Matthew Wahab
Ping. Updated patch attached. Matthew On 27/11/15 09:23, Matthew Wahab wrote: On 24/11/15 15:22, James Greenhalgh wrote: > On Mon, Nov 16, 2015 at 04:31:32PM +0000, Matthew Wahab wrote: >> >> The command line options for target selection allow ARMv8.1 extensions >&g

Re: [Fortran, Patch] Memory sync after coarray image control statements and assignment

2015-12-07 Thread Matthew Wahab
On 07/12/15 10:06, Tobias Burnus wrote: I wrote: I wonder whether using __asm__ __volatile__ ("":::"memory"); would be sufficient as it has a way lower overhead than __sync_synchronize(). Namely, something like the attached patch. Regarding the original patch submission: Is there a reason t

Re: [PATCH 1/7][ARM] Add support for ARMv8.1.

2015-12-07 Thread Matthew Wahab
Ping. Updated patch attached. Matthew On 26/11/15 15:55, Matthew Wahab wrote: Hello, ARMv8.1 includes an extension to ARM which adds two Adv.SIMD instructions, vqrdmlah and vqrdmlsh. This patch set adds support for ARMv8.1 and for the new instructions, enabling the architecture with --march

Re: [PATCH 2/7][ARM] Multilib support for ARMv8.1.

2015-12-07 Thread Matthew Wahab
Ping. Updated patch attached. Matthew On 26/11/15 15:58, Matthew Wahab wrote: This patch sets up multilib support for ARMv8.1, treating it as a synonym for ARMv8. Since ARMv8.1 integer, FP or SIMD instructions are only generated for the new, instruction-specific instrinsics, mapping to ARMv8

Re: [PATCH 3/7][ARM] Add patterns for new instructions

2015-12-07 Thread Matthew Wahab
Ping. Updated patch attached. Matthew On 26/11/15 16:00, Matthew Wahab wrote: Hello, This patch adds patterns for the instructions, vqrdmlah and vqrdmlsh, introduced in the ARMv8.1 architecture. The instructions are made available when -march=armv8.1-a is enabled with suitable fpu settings

Re: [PATCH 4/7][ARM] Add ACLE feature macro for ARMv8.1 instructions.

2015-12-07 Thread Matthew Wahab
Ping. Updated patch attached. Matthew On 26/11/15 16:01, Matthew Wahab wrote: Hello, This patch adds the feature macro __ARM_FEATURE_QRDMX to indicate the presence of the ARMv8.1 instructions vqrdmlah and vqrdmlsh. It is defined when the instructions are available, as it is when -march

Re: [PATCH 5/7][Testsuite] Support ARMv8.1 ARM tests.

2015-12-07 Thread Matthew Wahab
On 27/11/15 17:11, Matthew Wahab wrote: On 27/11/15 13:44, Christophe Lyon wrote: On 26/11/15 16:02, Matthew Wahab wrote: This patch adds ARMv8.1 support to GCC Dejagnu, to allow ARM tests to specify targest and to set up command line options. It builds on the ARMv8.1 target support added

Re: [PATCH 7/7][ARM] Add ACLE intrinsics vqrdmlah_lane and vqrdmlsh_lane

2015-12-07 Thread Matthew Wahab
Ping. Updated patch attached. Matthew On 26/11/15 16:10, Matthew Wahab wrote: Attached the missing patch. Matthew On 26/11/15 16:04, Matthew Wahab wrote: Hello, This patch adds the ACLE intrinsics for the instructions introduced in ARMv8.1. It adds the vqrmdlah_lane and vqrdmlsh_lane forms

Re: [PATCH 6/7][ARM] Add ACLE intrinsics vqrdmlah and vqrdmlsh

2015-12-07 Thread Matthew Wahab
Ping. Updated patch attached. Matthew On 26/11/15 16:04, Matthew Wahab wrote: Hello, This patch adds the ACLE intrinsics for the instructions introduced in ARMv8.1. It adds the vqrmdlah and vqrdmlsh forms of the instrinsics to the arm_neon.h header, together with the ARM builtins used to

Re: [C] Issue an error on scalar va_list with reverse storage order

2015-12-08 Thread Matthew Wahab
Hello On 03/12/15 14:53, Eric Botcazou wrote: further testing revealed an issue with va_arg handling and reverse scalar storage order on some platforms: when va_list is scalar, passing a field of a structure with reverse SSO as first argument to va_start/va_arg/va_end doesn't work because the

Re: [Fortran, Patch] Memory sync after coarray image control statements and assignment

2015-12-09 Thread Matthew Wahab
On 08/12/15 09:25, Tobias Burnus wrote: On Mon, Dec 07, 2015 at 02:09:22PM +, Matthew Wahab wrote: I wonder whether using __asm__ __volatile__ ("":::"memory"); would be sufficient as it has a way lower overhead than __sync_synchronize(). I don't know anything abou

Re: [PATCH] Fix memory orders description in atomic ops built-ins docs.

2015-05-18 Thread Matthew Wahab
Hello, On 15/05/15 17:22, Torvald Riegel wrote: This patch improves the documentation of the built-ins for atomic operations. The "memory model" to "memory order" change does improve things but I think that the patch has some problems. As it is now, it makes some of the descriptions quite diff

Re: [PATCH] Fix memory orders description in atomic ops built-ins docs.

2015-05-21 Thread Matthew Wahab
On 19/05/15 20:20, Torvald Riegel wrote: On Mon, 2015-05-18 at 17:36 +0100, Matthew Wahab wrote: Hello, On 15/05/15 17:22, Torvald Riegel wrote: This patch improves the documentation of the built-ins for atomic operations. The "memory model" to "memory order" change doe

[PATCH 1/3][AArch64] Strengthen barriers for sync-fetch-op builtins.

2015-05-21 Thread Matthew Wahab
erated for __sync_fetch_and_ and __sync__and_fetch builtins. Tested with check-gcc for aarch64-none-linux-gnu. Ok for trunk? Matthew gcc/ 2015-05-21 Matthew Wahab * config/aarch64/aarch64.c (aarch64_emit_post_barrier): New. (aarch64_split_atomic_op): Check for __sync memory mo

[AArch64][PATCH 2/3] Strengthen barriers for sync-compare-swap builtins.

2015-05-21 Thread Matthew Wahab
-linux-gnu. Ok for trunk? Matthew 2015-05-21 Matthew Wahab * config/aarch64/aarch64.c (aarch64_split_compare_and_swap): Check for __sync memory models, emit appropriate initial and final barriers. From 6f748034d25b75ea7829192d94e54189c2fbf99e Mon Sep 17 00:00:00 2001 From

[PATCH 3/3][Aarch64] Add tests for __sync_builtins.

2015-05-21 Thread Matthew Wahab
This patch adds tests for the code generated by the Aarch64 backend for the __sync builtins. Tested aarch64-none-linux-gnu with check-gcc. Ok for trunk? Matthew gcc/testsuite/ 2015-05-21 Matthew Wahab * gcc.target/aarch64/sync-comp-swap.c: New. * gcc.target/aarch64/sync

Re: [PATCH 1/3][AArch64][PR target/65697] Strengthen barriers for sync-fetch-op builtins.

2015-05-22 Thread Matthew Wahab
This patch changes the code generated for __sync_fetch_and_ and __sync__and_fetch builtins. Tested with check-gcc for aarch64-none-linux-gnu. Ok for trunk? Matthew gcc/ 2015-05-22 Matthew Wahab PR target/65697 * config/aarch64/aarch64.c (aarch64_emit_post_bar

Re: [PATCH 2/3][AArch64][PR target/65697] Strengthen barriers for sync-compare-swap builtins.

2015-05-22 Thread Matthew Wahab
Tested with check-gcc for aarch64-none-linux-gnu. Ok for trunk? Matthew 2015-05-22 Matthew Wahab PR target/65697 * config/aarch64/aarch64.c (aarch64_split_compare_and_swap): Check for __sync memory models, emit appropriate initial and final barriers. From

Re: [PATCH 3/3][Aarch64][PR target/65697] Add tests for __sync_builtins.

2015-05-22 Thread Matthew Wahab
[Added PR number and updated patches] This patch adds tests for the code generated by the Aarch64 backend for the __sync builtins. Tested aarch64-none-linux-gnu with check-gcc. Ok for trunk? Matthew gcc/testsuite/ 2015-05-21 Matthew Wahab PR target/65697 * gcc.target

Re: [PATCH 1/3][AArch64] Strengthen barriers for sync-fetch-op builtins.

2015-05-22 Thread Matthew Wahab
On 22/05/15 12:26, Ramana Radhakrishnan wrote: Ok for trunk? I can't approve but do you mind taking care of -march=armv8-a in the arm backend too as that would have the same issues. Will do, Matthew

Re: [PATCH] Fix memory orders description in atomic ops built-ins docs.

2015-05-22 Thread Matthew Wahab
On 21/05/15 19:26, Torvald Riegel wrote: On Thu, 2015-05-21 at 16:45 +0100, Matthew Wahab wrote: On 19/05/15 20:20, Torvald Riegel wrote: On Mon, 2015-05-18 at 17:36 +0100, Matthew Wahab wrote: Hello, On 15/05/15 17:22, Torvald Riegel wrote: This patch improves the documentation of the

Re: [PATCH 1/3][AArch64][PR target/65797] Strengthen barriers for sync-fetch-op builtins.

2015-06-01 Thread Matthew Wahab
code for the initial load. Tested with check-gcc for aarch64-none-linux-gnu. Ok? Matthew 2015-06-01 Matthew Wahab PR target/65697 * config/aarch64/aarch64.c (aarch64_split_compare_and_swap): Check for __sync memory models, emit initial loads and final barriers as

Re: [PATCH 2/3][AArch64][PR target/65697] Strengthen barriers for sync-compare-swap builtins.

2015-06-01 Thread Matthew Wahab
On 22/05/15 09:28, Matthew Wahab wrote: [Added PR number and updated patches] This patch changes the code generated for __sync_type_compare_and_swap to ldxr reg; cmp; bne label; stlxr; cbnz; label: dmb ish; mov .., reg This removes the acquire-barrier from the load and ends the operation

[Aarch64] Add support for ARMv8.1 command line options.

2015-06-04 Thread Matthew Wahab
eration in gcc. Tested aarch64-none-linux-gnu with check-gcc. Ok for trunk? Matthew gcc/ 2015-06-4 Matthew Wahab * config/aarch64/aarch64-arches.def: Add "armv8.1-a". * config/aarch64/aarch64-options-extensions.def: Update "fP", "simd&qu

Update __atomic builtins documentation.

2015-04-20 Thread Matthew Wahab
04-20 Matthew Wahab * doc/extend.texi (__atomic Builtins): Move implementation details to the end of the description, rewrite opening paragraphs, state difference with __sync builtins, state C11/C++11 assumptions, weaken itemized descriptions, add explanation of m

[PATCH][AArch64] Add branch-cost to cpu tuning information.

2015-04-21 Thread Matthew Wahab
correct values for will need to be decided for each core. Tested aarch64-none-linux-gnu with gcc-check. Ok for trunk? Matthew 2015-05-21 Matthew Wahab * gcc/config/aarch64-protos.h (struct cpu_branch_cost): New. (tune_params): Add field branch_costs

Re: [PATCH][ARM] Remove an unused reload hook.

2015-04-23 Thread Matthew Wahab
On 27/02/15 09:41, Richard Earnshaw wrote: On 19/02/15 12:19, Matthew Wahab wrote: The LEGITIMIZE_RELOAD_ADDRESS macro is only needed for reload. Since the ARM backend no longer supports reload, this macro is not needed and this patch removes it. This is OK for stage 1. Committed as

[PATCH][docs] Re: Update __atomic builtins documentation.

2015-04-30 Thread Matthew Wahab
[added tags to subject] Ping. On 20/04/15 14:29, Matthew Wahab wrote: Hello, The documentation for the __atomic builtins isn't clear about their expectations and behaviour. In particular, assumptions about the C11/C++11 restrictions on programs should be stated and the different behavio

Re: [PATCH][AArch64] Add branch-cost to cpu tuning information.

2015-05-05 Thread Matthew Wahab
On 01/05/15 10:18, Marcus Shawcroft wrote: On 21 April 2015 at 15:00, Matthew Wahab wrote: +int aarch64_branch_cost (bool, bool); + You would never guess looking at this .h today, but long ago there was something close to alphabetical order by function name in place. Please lift this

Re: [PATCH][ARM] Remove an unused reload hook.

2015-03-05 Thread Matthew Wahab
On 27/02/15 09:41, Richard Earnshaw wrote: On 19/02/15 12:19, Matthew Wahab wrote: The LEGITIMIZE_RELOAD_ADDRESS macro is only needed for reload. Since the ARM backend no longer supports reload, this macro is not needed and this patch removes it. gcc/ 2015-02-19 Matthew Wahab * config

Re: [PATCH][ARM] Remove an unused reload hook.

2015-03-05 Thread Matthew Wahab
On 05/03/15 16:34, Matthew Wahab wrote: thumb_legitimize_reload_address was added by https://gcc.gnu.org/ml/gcc-patches/2005-08/msg01140.html to fix PR 23436. It replaces sequences like mov r3, r9 mov r2, r10 ldr r0, [r3, r2] with mov r3, r9

Re: [PATCH][libstdc++][Testsuite] isctype test fails for newlib.

2015-03-10 Thread Matthew Wahab
On 09/03/15 12:47, Jonathan Wakely wrote: On 13/02/15 13:48 +, Matthew Wahab wrote: Some DOS line endings were introduced into the char/isctype.cc file when I committed this change These aren't visible in a terminal or with svn diff but do show up in emacs. This is causing the test to

[PATCH][doc] Update __sync builtins, preferring __atomics.

2015-04-14 Thread Matthew Wahab
viour. Tested by looking at the html and info files. Ok for trunk? Matthew 2015-04-14 Matthew Wahab * doc/extend.texi (__sync Builtins): Simplify some text. Update details about implementation. Make clear preference for __atomic builtins. Reduce possibility of f

Re: [PATCH][doc] Update __sync builtins, preferring __atomics.

2015-04-15 Thread Matthew Wahab
Committed with a typo-fix in the text, /an list/a list/, and in the change log /details about implementation/details about the implementation/. 2015-04-14 Matthew Wahab * doc/extend.texi (__sync Builtins): Simplify some text. Update details about the implementation. Make

Re: [Aarch64] Add support for ARMv8.1 command line options.

2015-06-16 Thread Matthew Wahab
Ping. Updated patch attached. On 04/06/15 10:16, Matthew Wahab wrote: ARMv8.1 is a set of optional architectural extensions to ARMv8. Support, added by other patches, is enabled in binutils for ARMv8.1 and for the individual extensions by using architechure name "armv8.1-a" or by

[PATCH 1/3][ARM][PR target/65697] Strengthen memory barriers for __sync builtins

2015-06-22 Thread Matthew Wahab
the code generated for __sync_fetch_and_ and __sync__and_fetch builtins. Tested as part of a series for arm-none-linux-gnueabihf with check-gcc. Ok for trunk? Matthew gcc/ 2015-06-22 Matthew Wahab PR Target/65697 * config/armc/arm.c (arm_split_atomic_op): For ARMv8, replace an

[PATCH 2/3][ARM][PR target/65697] Strengthen barriers for compare-and-swap builtin.

2015-06-22 Thread Matthew Wahab
Matthew Wahab PR Target/65697 * config/armc/arm.c (arm_split_compare_and_swap): For ARMv8, replace an initial acquire barrier with a final full barrier. From ddb9a45acda7bb64d91c446bc40afe4b78fcc1e1 Mon Sep 17 00:00:00 2001 From: Matthew Wahab Date: Fri, 22 May 2015 13:36:39

[PATCH 3/3][ARM][PR target/65697] Add tests for __sync builtins.

2015-06-22 Thread Matthew Wahab
-gnueabihf with check-gcc. Ok for trunk? Matthew gcc/testsuite 2015-06-22 Matthew Wahab PR Target/65697 * gcc.target/arm/armv8-sync-comp-swap.c: New. * gcc.target/arm/armv8-sync-op-acquire.c: New. * gcc.target/arm/armv8-sync-op-full.c: New. * gcc.target

[PATCH 1/2][ARM] Record FPU features as a bit-set

2015-06-22 Thread Matthew Wahab
flags, as is done elsewhere. This patch adds the new FPU feature representation, with feature sets represented as unsigned longs. Tested the series for arm-none-linux-gnueabihf with check-gcc Ok for trunk? Matthew gcc/ 2015-06-22 Matthew Wahab * config/arm/arm.h (arm_fpu_fset): New

[PATCH 2/2][ARM] Use new FPU features representation

2015-06-22 Thread Matthew Wahab
Matthew Wahab * config/arm/arm-fpus.def: Replace neon, fp16 and crypto boolean fields with feature flags. Update comment. * config/arm/arm.c (ARM_FPU): Update macro. * config/arm/arm.h (TARGET_NEON_FP16): Update feature test. (TARGET_FP16): Likewise

[PATCH 1/4][ARM] Make room for more CPU feature flags.

2015-06-22 Thread Matthew Wahab
2015-06-22 Matthew Wahab * gcc/config/arm/arm-cores.def: Add FL_FOR_ARCH flag for each ARM_CORE entry. Fix some white-space. * gcc/config/arm/arm.c: Remove FL_FOR_ARCH derivation from ARM_CORE definition. From b8d4b4ef938d64996d0d20aaa9974757057aaad2 Mon Sep 17

[PATCH 2/4][ARM] Add feature set definitions.

2015-06-22 Thread Matthew Wahab
fixed with ARM_FSET to represent and operate on feature sets. Tested by building with no errors. Also tested as part of the series, for arm-none-linux-gnueabihf with check-gcc. Ok for trunk? Matthew gcc/ 2015-06-22 Matthew Wahab * config/arm/arm-protos.h (FL_NONE): New. (F

[PATCH 3/4][ARM] Use new feature set representation.

2015-06-22 Thread Matthew Wahab
the type arm_feature_set and ARM_FSET macros added in an earlier patch in this series. Tested arm-none-linux-gnueabihf with check-gcc. Also tested as part of the series for arm-none-linux-gnueabihf with check-gcc. Ok for trunk? Matthew gcc/ 2015-06-22 Matthew Wahab * config/arm/arm

[PATCH 4/4][ARM] Move initializer into arm-cores.def and arm-arches.def

2015-06-22 Thread Matthew Wahab
files for the new arm_feature_set representation, moving the initializers from a macro expansion and making them explicit in the file entries. Tested for arm-none-linux-gnueabihf with check-gcc. Ok for trunk? Matthew gcc/ 2015-08-22 Matthew Wahab * config/arm/arm-arches.def: Replace

  1   2   3   >