Re: [AArch64] Implement movmem for the benefit of inline memcpy

2014-08-07 Thread Richard Biener
On Thu, Aug 7, 2014 at 4:20 PM, James Greenhalgh wrote: > On Tue, Aug 05, 2014 at 08:05:00AM +0100, Andrew Pinski wrote: >> On Fri, Aug 1, 2014 at 2:21 AM, wrote: >> >> On Jun 6, 2014, at 1:50 AM, James Greenhalgh >> >> wrote: >> >> >> >> >> >> Hi, >> >> >> >> The move_by_pieces infrastructure

Re: [AArch64] Implement movmem for the benefit of inline memcpy

2014-08-07 Thread James Greenhalgh
On Tue, Aug 05, 2014 at 08:05:00AM +0100, Andrew Pinski wrote: > On Fri, Aug 1, 2014 at 2:21 AM, wrote: > >> On Jun 6, 2014, at 1:50 AM, James Greenhalgh > >> wrote: > >> > >> > >> Hi, > >> > >> The move_by_pieces infrastructure performs a copy by repeatedly trying > >> the largest safe copy it

Re: [AArch64] Implement movmem for the benefit of inline memcpy

2014-08-05 Thread Andrew Pinski
On Fri, Aug 1, 2014 at 2:21 AM, wrote: > > >> On Jun 6, 2014, at 1:50 AM, James Greenhalgh >> wrote: >> >> >> Hi, >> >> The move_by_pieces infrastructure performs a copy by repeatedly trying >> the largest safe copy it can make. So for a 15-byte copy we might see: >> >> offset amount bytes c

Re: [AArch64] Implement movmem for the benefit of inline memcpy

2014-08-01 Thread pinskia
> On Jun 6, 2014, at 1:50 AM, James Greenhalgh wrote: > > > Hi, > > The move_by_pieces infrastructure performs a copy by repeatedly trying > the largest safe copy it can make. So for a 15-byte copy we might see: > > offset amount bytes copied > 08 0-7 > 84 8-11

Re: [AArch64] Implement movmem for the benefit of inline memcpy

2014-08-01 Thread Richard Biener
On Fri, Aug 1, 2014 at 8:38 AM, Andrew Pinski wrote: > On Fri, Jun 6, 2014 at 1:50 AM, James Greenhalgh > wrote: >> >> Hi, >> >> The move_by_pieces infrastructure performs a copy by repeatedly trying >> the largest safe copy it can make. So for a 15-byte copy we might see: >> >> offset amount

Re: [AArch64] Implement movmem for the benefit of inline memcpy

2014-07-31 Thread Andrew Pinski
On Fri, Jun 6, 2014 at 1:50 AM, James Greenhalgh wrote: > > Hi, > > The move_by_pieces infrastructure performs a copy by repeatedly trying > the largest safe copy it can make. So for a 15-byte copy we might see: > > offset amount bytes copied > 08 0-7 > 84 8-11 > 12

Re: [AArch64] Implement movmem for the benefit of inline memcpy

2014-06-06 Thread Richard Earnshaw
On 06/06/14 09:50, James Greenhalgh wrote: > > Hi, > > The move_by_pieces infrastructure performs a copy by repeatedly trying > the largest safe copy it can make. So for a 15-byte copy we might see: > > offset amount bytes copied > 08 0-7 > 84 8-11 > 12 2

[AArch64] Implement movmem for the benefit of inline memcpy

2014-06-06 Thread James Greenhalgh
Hi, The move_by_pieces infrastructure performs a copy by repeatedly trying the largest safe copy it can make. So for a 15-byte copy we might see: offset amount bytes copied 08 0-7 84 8-11 12 2 12-13 14 1 14 However, we can implement a 15-by