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] Fix middle-end/36444, ICE gen_lowpart_general with -O1 with vector registers


On Fri, Aug 29, 2008 at 3:20 PM, Andrew Pinski
<Andrew_Pinski@playstation.sony.com> wrote:
> On Fri, Aug 29, 2008 at 3:14 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> You need -mavx to trigger this bug on x86 since V8SI is only supported
>> with -mavx.
>> That is why my original testcase is in gcc.target/i386
>
> You can test the whole testsuite with -mavx enabled (and most likely
> should as there are vector testcases there already).  I wanted to get

We did. That is how we noticed it.

> a generic testcase so it tests every where.  If you want to add
> special options to the testcase, you can by adding a new testcase.
>
> Thanks,
> Andrew Pinski

Can you add

/* { dg-options " -mavx" { target { i?86-*-* x86_64-*-* } } } */

to gcc.c-torture/compile/vector-4.c?

Thanks.

-- 
H.J.


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