This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix SLP wrong-code with VECTOR_BOOLEAN_TYPE_P (PR tree-optimization/71259)
- From: Christophe Lyon <christophe dot lyon at linaro dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Biener <rguenther at suse dot de>, Ilya Enkovich <enkovich dot gnu at gmail dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 9 Jun 2016 14:18:44 +0200
- Subject: Re: [PATCH] Fix SLP wrong-code with VECTOR_BOOLEAN_TYPE_P (PR tree-optimization/71259)
- Authentication-results: sourceware.org; auth=none
- References: <20160111171343 dot GB18720 at tucnak dot redhat dot com> <CAMbmDYaE0P0VEUu9mJT17SAZAtQhyFQ6VqPvS_-xjNqx9zGv0Q at mail dot gmail dot com> <20160603173343 dot GM7387 at tucnak dot redhat dot com> <CAKdteOau6DxGK_6rbr7=ZFF=3zek7XhOSDQhTkprM4m_uCmCHw at mail dot gmail dot com> <20160607092816 dot GO7387 at tucnak dot redhat dot com> <CAKdteOao+DTx-KMgKcQu3Fzz_MEhqvh-eqzLKWnSHn=Pk5bR8A at mail dot gmail dot com> <alpine dot LSU dot 2 dot 11 dot 1606081226060 dot 1493 at t29 dot fhfr dot qr> <20160608103220 dot GA7387 at tucnak dot redhat dot com> <alpine dot LSU dot 2 dot 11 dot 1606081233220 dot 1493 at t29 dot fhfr dot qr> <CAKdteOba1Z3GPi7x2uPEOs7j1WoVV6MsL+ntC7Ttcob5PrF4Xg at mail dot gmail dot com> <20160608145000 dot GG7387 at tucnak dot redhat dot com>
On 8 June 2016 at 16:50, Jakub Jelinek <jakub@redhat.com> wrote:
> On Wed, Jun 08, 2016 at 04:44:00PM +0200, Christophe Lyon wrote:
>> I've tried the attached patch (which does only dg-options ->
>> dg-additional-options).
>> For GCC, it's better, except that on arm-none-eabi qemu complains about
>> an illegal instruction when asked to use arm926 and GCC is configured with
>> the default cpu. Maybe that's because check_vect does not have the expected
>
> check_vect installs a SIGILL handler and if the insn is invalid, excepts
> a signal to be raised. Is that not the case with qemu? Or is qemu just
> being too noisy?
>
qemu complains when executing check_vect's prologue, which contains
movw r1, #35712
which is not supported either on arm926.
I don't know if the signal is not raised or if qemu hides it (I'm using qemu
user mode)
>> <DATE> Christophe Lyon <christophe.lyon@linaro.org>
>>
>> * gcc.dg/vect/YYY.c: Use dg-additional options instead of dg-options.
>
> Please list all the changed tests in the ChangeLog (with : Likewise. for
> all but the first one).
>
Yes, that's what I meant.
> Ok with that change.
>
> Jakub