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 up vpshufb for -mavx512vl -mno-avx512bw


On 13 May 19:17, Jakub Jelinek wrote:
> Hi!
> 
> vpshufb is AVX512BW & AVX512VL insn, so we shouldn't allow it for
> AVX512VL only.
> 
> 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>_pshufb<mode>3<mask_name>): Use
> 	constraint x instead of v in second alternative, add avx512bw
> 	alternative.
> 
> 	* gcc.target/i386/avx512vl-vpshufb-3.c: New test.
> 	* gcc.target/i386/avx512bw-vpshufb-3.c: New test.
OK.

--
Thanks, K


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