Hello,
On 18 May 23:03, Jakub Jelinek wrote:
> Hi!
> 
> The vinsert[if]64x2 instructions are AVX512VL & AVX512DQ, so
> if only AVX512VL is on, we should emit the other insns - 32x4,
> which without masking do the same thing.
> With masking, we have to require TARGET_AVX512DQ.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
OK.
> 
> 2016-05-18  Jakub Jelinek  <ja...@redhat.com>
> 
>       * config/i386/sse.md (vec_set_lo_<mode><mask_name>,
>       vec_set_hi_<mode><mask_name>): Add && <mask_avx512dq_condition>
>       condition.  For !TARGET_AVX512DQ, emit 32x4 instruction instead
>       of 64x2.
> 
>       * gcc.target/i386/avx512dq-vinsert-1.c: New test.
>       * gcc.target/i386/avx512vl-vinsert-1.c: New test.

--
Thanks, K

Reply via email to