Re: [PATCH][AArch64] Optimized implementation of search_line_fast for the CPP lexer

2017-03-21 Thread Richard Earnshaw (lists)
On 20/03/17 17:27, Andreas Schwab wrote: > On Mär 20 2017, "Richard Earnshaw (lists)" wrote: > >> I don't have access to an ILP32 run-time environment, so I'm not sure >> how I'll be able to check this out. There are some pointer checks in >> the code so it's possible something is going awry. C

Re: [PATCH][AArch64] Optimized implementation of search_line_fast for the CPP lexer

2017-03-20 Thread Andreas Schwab
On Mär 20 2017, "Richard Earnshaw (lists)" wrote: > I don't have access to an ILP32 run-time environment, so I'm not sure > how I'll be able to check this out. There are some pointer checks in > the code so it's possible something is going awry. Can you compare the > assembly output for ILP32 a

Re: [PATCH][AArch64] Optimized implementation of search_line_fast for the CPP lexer

2017-03-20 Thread Richard Earnshaw (lists)
On 20/03/17 14:53, Andreas Schwab wrote: > On Nov 07 2016, "Richard Earnshaw (lists)" wrote: > >> This patch contains an implementation of search_line_fast for the CPP >> lexer. It's based in part on the AArch32 (ARM) code but incorporates >> new instructions available in AArch64 (reduction add

Re: [PATCH][AArch64] Optimized implementation of search_line_fast for the CPP lexer

2017-03-20 Thread Andreas Schwab
On Nov 07 2016, "Richard Earnshaw (lists)" wrote: > This patch contains an implementation of search_line_fast for the CPP > lexer. It's based in part on the AArch32 (ARM) code but incorporates > new instructions available in AArch64 (reduction add operations) plus > some tricks for reducing the

Re: [PATCH][AArch64] Optimized implementation of search_line_fast for the CPP lexer

2016-11-08 Thread Richard Earnshaw (lists)
On 08/11/16 09:46, James Greenhalgh wrote: > On Mon, Nov 07, 2016 at 01:39:53PM +, Richard Earnshaw (lists) wrote: >> This patch contains an implementation of search_line_fast for the CPP >> lexer. It's based in part on the AArch32 (ARM) code but incorporates >> new instructions available in A

Re: [PATCH][AArch64] Optimized implementation of search_line_fast for the CPP lexer

2016-11-08 Thread James Greenhalgh
On Mon, Nov 07, 2016 at 01:39:53PM +, Richard Earnshaw (lists) wrote: > This patch contains an implementation of search_line_fast for the CPP > lexer. It's based in part on the AArch32 (ARM) code but incorporates > new instructions available in AArch64 (reduction add operations) plus > some tr

[PATCH][AArch64] Optimized implementation of search_line_fast for the CPP lexer

2016-11-07 Thread Richard Earnshaw (lists)
This patch contains an implementation of search_line_fast for the CPP lexer. It's based in part on the AArch32 (ARM) code but incorporates new instructions available in AArch64 (reduction add operations) plus some tricks for reducing the realignment overheads. We assume a page size of 4k, but tha