This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR52252] Vectorization for load/store groups of size 3.
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Evgeny Stupachenko <evstupac at gmail dot com>
- Cc: Richard Biener <rguenther at suse dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>
- Date: Tue, 13 May 2014 10:35:53 +0200
- Subject: Re: [PATCH, PR52252] Vectorization for load/store groups of size 3.
- Authentication-results: sourceware.org; auth=none
- References: <CAOvf_xxEQ3tm+fwL5EfVSOUKDQnaBt+jTz4huK66T_8+TXzzfQ at mail dot gmail dot com> <alpine dot LSU dot 2 dot 11 dot 1402111351160 dot 1593 at zhemvz dot fhfr dot qr> <CAOvf_xw5iRcDyrQ3isi1d0HCdG8Hb9HV6OwjSctTLyGEq7e_zQ at mail dot gmail dot com> <alpine dot LSU dot 2 dot 11 dot 1402111614400 dot 1593 at zhemvz dot fhfr dot qr> <CAOvf_xy1sASGm-GxFAGemU48U+xkJZn_u6+R4OwE2+=r0eNKFQ at mail dot gmail dot com> <CAOvf_xwm5xa=LFeHOc_XPG7DwF6jzY42GN5u36Rp=mU71P9_3A at mail dot gmail dot com> <CAOvf_xwFX6dG9ypKBYGyF18MBKapdoOEPstk1xxrFc9KXGvVKw at mail dot gmail dot com> <CAOvf_xxQjF3GmsupiRkWfmQSv_Xxu8qrTPyqJZFmp5qeY3f9gQ at mail dot gmail dot com> <CAOvf_xyFZMQusRaXp1FP-MTVKbeMZfm-8EzOgMQvEdOhBwUHaA at mail dot gmail dot com> <alpine dot LSU dot 2 dot 11 dot 1405061342150 dot 18709 at zhemvz dot fhfr dot qr> <CAOvf_xwC9kHmvQ0a3cq=+hWo4q41aZJGFwxQ2Ye3BAZ2B0vd8w at mail dot gmail dot com> <yddzjinjah0 dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <CAOvf_xz_45u6NYPVTrWzBeSYwsm6=VE=U19tw0ZmvWOeOKKZ+w at mail dot gmail dot com>
Evgeny Stupachenko <evstupac@gmail.com> writes:
> The test is on general changes. However I was able to test it on x86 only.
> I see 2 possible solutions:
> 1. Set the test for x86 only.
> 2. Modify it so that it will pass on sparc-sun-solaris2.
>
> If 2. is not acceptable I'll create patch for 1.
> Currently I don't see why "in0_9 = *in_27" is not supported. Does the
> test fail because of unsupported permutation?
The .vect dump has
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: ==> examining statement: in0_9 = *in_27;
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: vect_is_simple_use: operand *in_27
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: not ssa-name.
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: use not simple.
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: vect_is_simple_use: operand *in_27
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: not ssa-name.
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: use not simple.
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: no array mode for V8QI[3]
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: shuffle of 3 loads is not supported by target
gcc/testsuite/gcc.dg/vect/pr52252-ld.c:10:3: note: not vectorized: relevant stmt not supported: in0_9 = *in_27;
I can send you the full dump if necessary.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University