This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/testsuite] Skip vect-strided-shift-1.c on MIPS with -mpaired-single option.
- From: Jeff Law <law at redhat dot com>
- To: Paul Hua <paul dot hua dot gm at gmail dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: "Moore, Catherine (Catherine_Moore at mentor dot com)" <catherine_moore at mentor dot com>, mfortune at gmail dot com
- Date: Tue, 20 Mar 2018 15:03:54 -0600
- Subject: Re: [PATCH/testsuite] Skip vect-strided-shift-1.c on MIPS with -mpaired-single option.
- References: <CAKjxQHkyctMeYmmeLcHAKZV1bq1v2EtFyC_1yJ9FrEoC_pf=_g@mail.gmail.com>
On 03/14/2018 12:29 AM, Paul Hua wrote:
> Hi:
>
> The vect-strided-shift-1.c test fails on MIPS target.
>
> FAIL: gcc.dg/vect/vect-strided-shift-1.c -mpaired-single
> scan-tree-dump-times vect "vectorized 1 loops in function" 1 (found 0
> times)
> FAIL: gcc.dg/vect/vect-strided-shift-1.c -flto -ffat-lto-objects
> -mpaired-single scan-tree-dump-times vect "vectorized 1 loops in
> function" 1 (found 0 times)
>
> Because the MIPS paired single insns only support for float
> operations, not suite for this test.
> added dg-skip-if directives on it for skip -mpaired-single option.
>
> Ok for commit ?
>
> Paul Hua
>
> ChangeLog entries:
>
> gcc/testsuite/ChangeLog
>
> 2018-03-14 Chenghua Xu <paul.hua.gm@gmail.com>
>
> * gcc.dg/vect/vect-strided-shift-1.c: Add dg-skip-if for
> MIPS with -mpaired-single directives.
>
OK. Though this may point to a need to have a new target-supports routine.
jeff