This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH TEST]XFAIL gcc.dg/vect/pr56541.c for !vect_cond_mixed target for now
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Bin Cheng <Bin dot Cheng at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Tue, 8 Nov 2016 14:06:55 +0100
- Subject: Re: [PATCH TEST]XFAIL gcc.dg/vect/pr56541.c for !vect_cond_mixed target for now
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB2176EF30DE2ADB203188B930E7A60@VI1PR0802MB2176.eurprd08.prod.outlook.com>
On Tue, Nov 8, 2016 at 1:40 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> GCC should be able to vectorize gcc.dg/vect/pr56541.c on targets do not support vect_cond_mixed. Problem is jump threading factors comparison out of cond_expr and creates mixed-type cond_expr. As a result, it can only be vectorized with vect_cond_mixed. We don't have a good solution at the moment, this patch xfail it on such targets.
Ok.
Richard.
> Thanks,
> bin
>
> gcc/testsuite/ChangeLog
> 2016-11-04 Bin Cheng <bin.cheng@arm.com>
>
> * gcc.dg/vect/pr56541.c: Xfail on !vect_cond_mixed targets.