[PATCH] Fix up vpalignr for -mavx512vl -mno-avx512bw

Kirill Yukhin kirill.yukhin@gmail.com
Wed May 18 08:52:00 GMT 2016


On 13 May 19:18, Jakub Jelinek wrote:
> Hi!
> 
> vpalignr is AVX512BW & VL, so we shouldn't enable it just for VL.
> 
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
> 
> 2016-05-13  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* config/i386/sse.md (<ssse3_avx2>_palignr<mode>): Use
> 	constraint x instead of v in second alternative, add avx512bw
> 	alternative.
> 
> 	* gcc.target/i386/avx512vl-vpalignr-3.c: New test.
> 	* gcc.target/i386/avx512bw-vpalignr-3.c: New test.
OK.

--
Thanks, K



More information about the Gcc-patches mailing list