Re: Extract and insert merging patch

2014-11-06 Thread Jeff Law
On 11/05/14 13:46, Petr Murzin wrote: Hi, Bootstrapped. No regressions detected. Please have a look. Is it ok for trunk? 2014-11-05 Petr Murzin gcc/ * simplify-rtx.c (simplify_ternary_operation): Simplify vec_merge (vec_duplicate (vec_select)). gcc/testsuite/

Re: Extract and insert merging patch

2014-11-05 Thread Petr Murzin
Hi, Bootstrapped. No regressions detected. Please have a look. Is it ok for trunk? 2014-11-05 Petr Murzin gcc/ * simplify-rtx.c (simplify_ternary_operation): Simplify vec_merge (vec_duplicate (vec_select)). gcc/testsuite/ * gcc.target/i386/extract-insert-combining

Re: Extract and insert merging patch

2014-10-22 Thread Marc Glisse
On Wed, 22 Oct 2014, Petr Murzin wrote: + && UINTVAL (op2) == 1 << UINTVAL (tem)) With modes like V64QI around, it is better to replace 1 with HOST_WIDE_INT_1U, though we are not consistent about it. -- Marc Glisse

Re: Extract and insert merging patch

2014-10-22 Thread Jeff Law
On 10/22/14 09:01, Petr Murzin wrote: Hi, Please have a look at updated patch. 2014-10-22 Petr Murzin gcc/ * simplify-rtx.c (simplify_ternary_operation): Simplify vec_merge (vec_duplicate (vec_select)). gcc/testsuite/ * gcc.target/i386/extract-insert-combining.c

Re: Extract and insert merging patch

2014-10-22 Thread Petr Murzin
Hi, Please have a look at updated patch. 2014-10-22 Petr Murzin gcc/ * simplify-rtx.c (simplify_ternary_operation): Simplify vec_merge (vec_duplicate (vec_select)). gcc/testsuite/ * gcc.target/i386/extract-insert-combining.c: New. On Fri, Sep 19, 2014 at 1:43 AM, Je

Re: Extract and insert merging patch

2014-09-18 Thread Jeff Law
On 09/16/14 13:40, Andrew Pinski wrote: On Tue, Sep 16, 2014 at 4:40 AM, Petr Murzin wrote: Hi, This patch allows merging of extract and insert. Please have a look. 2014-09-16 Petr Murzin * simplify-rtx.c (simplify_ternary_operation): Allow extract and insert merging. Besides no testcase

Re: Extract and insert merging patch

2014-09-16 Thread Andrew Pinski
On Tue, Sep 16, 2014 at 4:40 AM, Petr Murzin wrote: > Hi, > This patch allows merging of extract and insert. Please have a look. > > 2014-09-16 Petr Murzin > > * simplify-rtx.c (simplify_ternary_operation): Allow extract and > insert merging. Besides no testcase. Can your changelog mention ve

Re: Extract and insert merging patch

2014-09-16 Thread Marc Glisse
On Tue, 16 Sep 2014, Petr Murzin wrote: Hi, This patch allows merging of extract and insert. Please have a look. 2014-09-16 Petr Murzin * simplify-rtx.c (simplify_ternary_operation): Allow extract and insert merging. Hello, no testcase? You could probably generalize 0 and 1 to i and 1