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]

[Patch, testsuite] fix failure in test gcc.dg/vect/slp-perm-8.c


The test gcc.dg/vect/slp-perm-8.c fails on arm-none-eabi with neon enabled:
FAIL: gcc.dg/vect/slp-perm-8.c scan-tree-dump-times vect "vectorized 1
loops" 2

The test expects 2 loops to be vectorized, while gcc successfully vectorizes
3 loops in this test using neon on arm. This patch adjusts the expected
output. Fixed test passes on qemu for arm and powerpc.

OK for trunk?

Thanks,
Greta

gcc/testsuite/ChangeLog

2012-04-23  Greta Yorsh  <Greta.Yorsh@arm.com>

        * gcc.dg/vect/slp-perm-8.c (dg-final): Adjust expected number
        of vectorized loops for arm with neon.

Attachment: test-slp-perm-8.patch.txt
Description: Text document


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