This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH GCC][5/5]Enable tree loop distribution at -O3 and above optimization levels.
- From: Jeff Law <law at redhat dot com>
- To: Bin Cheng <Bin dot Cheng at arm dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: nd <nd at arm dot com>
- Date: Tue, 6 Jun 2017 11:47:56 -0600
- Subject: Re: [PATCH GCC][5/5]Enable tree loop distribution at -O3 and above optimization levels.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=law at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3AC1A85359
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3AC1A85359
- References: <VI1PR0802MB217690CCFBA9CD0059C5F289E7F70@VI1PR0802MB2176.eurprd08.prod.outlook.com>
On 06/02/2017 05:52 AM, Bin Cheng wrote:
> Hi,
> This patch enables -ftree-loop-distribution by default at -O3 and above optimization levels.
> Bootstrap and test at O2/O3 on x86_64 and AArch64. is it OK?
>
> Note I don't have strong opinion here and am fine with either it's accepted or rejected.
>
> Thanks,
> bin
> 2017-05-31 Bin Cheng <bin.cheng@arm.com>
>
> * opts.c (default_options_table): Enable OPT_ftree_loop_distribution
> for -O3 and above levels.
I think the question is how does this generally impact the performance
of the generated code and to a lesser degree compile-time.
Do you have any performance data?
jeff