[Patch AArch64] Stop generating BSL for simple integer code

2017-06-12 Thread James Greenhalgh
Hi, In this testcase, all argument registers and the return register will be general purpose registers: long long foo (long long a, long long b, long long c) { return ((a ^ b) & c) ^ b; } However, due to the implementation of aarch64_simd_bsl_internal we'll match that pattern and em

[Patch AArch64] Stop generating BSL for simple integer code

2017-06-12 Thread James Greenhalgh
[Sorry for the re-send. I spotted that the attributes were not right for the new pattern I was adding. The change between this and the first version was: + [(set_attr "type" "neon_bsl,neon_bsl,neon_bsl,multiple") + (set_attr "length" "4,4,4,12")] ] --- Hi, In this testcase, all argument

Re: [Patch AArch64] Stop generating BSL for simple integer code

2017-06-21 Thread James Greenhalgh
*ping* Thanks, James On Mon, Jun 12, 2017 at 02:44:40PM +0100, James Greenhalgh wrote: > [Sorry for the re-send. I spotted that the attributes were not right for the > new pattern I was adding. The change between this and the first version was: > > + [(set_attr "type" "neon_bsl,neon_bsl,neon

Re: [Patch AArch64] Stop generating BSL for simple integer code

2017-07-27 Thread James Greenhalgh
On Mon, Jun 12, 2017 at 02:44:40PM +0100, James Greenhalgh wrote: > [Sorry for the re-send. I spotted that the attributes were not right for the > new pattern I was adding. The change between this and the first version was: > > + [(set_attr "type" "neon_bsl,neon_bsl,neon_bsl,multiple") > +

Re: [Patch AArch64] Stop generating BSL for simple integer code

2017-07-03 Thread James Greenhalgh
On Wed, Jun 21, 2017 at 11:49:07AM +0100, James Greenhalgh wrote: > *ping* *ping*x2 Thanks, James > On Mon, Jun 12, 2017 at 02:44:40PM +0100, James Greenhalgh wrote: > > [Sorry for the re-send. I spotted that the attributes were not right for the > > new pattern I was adding. The change between

Re: [Patch AArch64] Stop generating BSL for simple integer code

2017-10-04 Thread James Greenhalgh
On Thu, Jul 27, 2017 at 06:49:01PM +0100, James Greenhalgh wrote: > > On Mon, Jun 12, 2017 at 02:44:40PM +0100, James Greenhalgh wrote: > > [Sorry for the re-send. I spotted that the attributes were not right for the > > new pattern I was adding. The change between this and the first version > >

Re: [Patch AArch64] Stop generating BSL for simple integer code

2017-11-14 Thread James Greenhalgh
On Wed, Oct 04, 2017 at 05:44:07PM +0100, James Greenhalgh wrote: > > On Thu, Jul 27, 2017 at 06:49:01PM +0100, James Greenhalgh wrote: > > > > On Mon, Jun 12, 2017 at 02:44:40PM +0100, James Greenhalgh wrote: > > > [Sorry for the re-send. I spotted that the attributes were not right for > > > th