This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Enable AUTOPREFETCHER_WEAK with -mcpu=generic
- From: Jim Wilson <jim dot wilson at linaro dot org>
- To: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>, James Greenhalgh <James dot Greenhalgh at arm dot com>, "Andrew dot pinski at cavium dot com" <Andrew dot pinski at cavium dot com>, Evandro Menezes <e dot menezes at samsung dot com>
- Date: Wed, 5 Apr 2017 09:44:46 -0700
- Subject: Re: [PATCH][AArch64] Enable AUTOPREFETCHER_WEAK with -mcpu=generic
- Authentication-results: sourceware.org; auth=none
- References: <AM5PR0802MB26108A29134FE37A5335A38F830A0@AM5PR0802MB2610.eurprd08.prod.outlook.com>
On Wed, Apr 5, 2017 at 5:38 AM, Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
> Many supported cores use the AUTOPREFETCHER_WEAK setting which tries
> to order loads and stores to improve streaming performance. Since significant
> gains were reported in http://patchwork.ozlabs.org/patch/534469/ it seems
> like a good idea to enable this setting too for -mcpu=generic. Since the
> weak model only keeps the order if it doesn't make the schedule worse, it
> should not impact performance adversely on cores that don't show a gain.
> Any objections?
This is fine with me also.
Jim