This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp4 simd, RFC] Simple fix to override vectorization cost estimation.
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Sergey Ostanevich <sergos dot gnu at gmail dot com>
- Cc: Richard Biener <rguenther at suse dot de>, Yuri Rumyantsev <ysrumyan at gmail dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Igor Zamyatin <izamyatin at gmail dot com>, Areg Melik-Adamyan <areg dot melikadamyan at gmail dot com>
- Date: Tue, 12 Nov 2013 13:48:11 +0100
- Subject: Re: [gomp4 simd, RFC] Simple fix to override vectorization cost estimation.
- Authentication-results: sourceware.org; auth=none
- References: <CAEoMCqRPF8h_h0FU=+YHiizio-axzwx77q5gw-ewgbLRhv=cjQ at mail dot gmail dot com> <20131031151528 dot GS27813 at tucnak dot zalov dot cz> <c7dffd79-1947-4722-a75a-a25fdaafdeed at email dot android dot com> <CAGYS_T+m==Vu-bvWNUV0e3q2ZUZwSFSR526QiOiEsOoy_mnzQg at mail dot gmail dot com> <20131112110551 dot GP27813 at tucnak dot zalov dot cz> <CAGYS_TJ4qnkqgJR=8XRGc9cdQJ0CQ_nJpPxr8mC1DBWjf23L9Q at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Nov 12, 2013 at 04:45:17PM +0400, Sergey Ostanevich wrote:
> yes, ICC ignores cost analysis and follows user request on introduction of
> simd parallelism in the loop.they follow the omp parallel semantics.
What about #pragma ivdep? I.e. if we decided to follow ICC here, should
we ignore cost model just for loop->safelen && loop->force_vect loops
(or only loop->force_vect), or also for any other loop->safelen loops?
Jakub