Re: [PATCH i386 AVX512] [41/n] Extend extract insn patterns.

2014-09-16 Thread Uros Bizjak
On Tue, Sep 16, 2014 at 12:10 PM, Kirill Yukhin wrote: > Updated ChangeLog entry: > gcc/ > * config/i386/i386.c > (ix86_expand_vector_extract): Handle V32HI and V64QI modes. > * config/i386/sse.md > (define_mode_iterator VI48F_256): New. > (define_mode_attr

Re: [PATCH i386 AVX512] [41/n] Extend extract insn patterns.

2014-09-16 Thread Kirill Yukhin
Hello Uroš, On 16 Sep 09:47, Uros Bizjak wrote: > > + "TARGET_AVX512DQ && (INTVAL (operands[2]) = INTVAL (operands[3]) - 1)" > > Ouch, you have assignment instead of comparison here! Thanks, fixed! > > + (set (attr "memory") > > + (if_then_else (match_test "MEM_P (operands[0])") > > +

Re: [PATCH i386 AVX512] [41/n] Extend extract insn patterns.

2014-09-16 Thread Uros Bizjak
On Tue, Sep 16, 2014 at 7:26 AM, Kirill Yukhin wrote: > Hello, > This patch extends extract insn patterns. > It also fixes ICE on testsuite when F16C switched off. > Also it fixes condition in old xtract pattern. > > Bootstrapped. > AVX-512* tests on top of patch-set all pass > under simulator. >

[PATCH i386 AVX512] [41/n] Extend extract insn patterns.

2014-09-15 Thread Kirill Yukhin
Hello, This patch extends extract insn patterns. It also fixes ICE on testsuite when F16C switched off. Also it fixes condition in old xtract pattern. Bootstrapped. AVX-512* tests on top of patch-set all pass under simulator. Is it ok for trunk? gcc/ * config/i386/i386.c (ix86_ex