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

Andreas Schwab schwab@suse.de
Mon Mar 20 14:53:00 GMT 2017


On Nov 07 2016, "Richard Earnshaw (lists)" <Richard.Earnshaw@arm.com> 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 realignment overheads.

I'm getting erroneous behaviour when building the compiler in ILP32
mode.

build/genmatch --gimple ../../gcc/match.pd \
    > tmp-gimple-match.c
/home/abuild/rpmbuild/BUILD/gcc-7.0.1-r246083/obj-aarch64-suse-linux/gcc/cfn-operators.pd:91:5 error: expected (, got NAME
(define_operator_list EXPM1
    ^

Some part of the code appears to depend on LP64.  When I insert three
newlines before this line then the parser goes on further, but reports a
similar error later on.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Gcc-patches mailing list