This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, GCC/testsuite] Fix gen-vect-26.c requirements


On Tue, Jun 13, 2017 at 11:10 AM, Thomas Preudhomme
<thomas.preudhomme@foss.arm.com> wrote:
> Hi,
>
> gen-vect-26.c tests the vectorizer but only requires vect_cmdline_needed
> effective target. It should also depends on vect_int to make sure a
> vector unit is available on the target. This patch fixes that.
>
> ChangeLog entry is as follows:
>
> *** gcc/testsuite/ChangeLog ***
>
> 2017-06-05  Thomas Preud'homme  <thomas.preudhomme@arm.com>
>
>         * gcc.dg/tree-ssa/gen-vect-26.c: Also require vect_int effective
>         target.
>
>
> Testing: Testcase is now skipped when targeting Cortex-M3.
>
> Is this ok for trunk?

No -- the test tests for generic vectorization using integer mode vectors.  See
how we pass -mno-sse on x86_64.

Richard.

> Best regards,
>
> Thomas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]