[PATCH] D10683: AVX-512 vector shuffle lowering

Simon Pilgrim llvm-dev at redking.me.uk
Sun Jul 19 03:38:31 PDT 2015


RKSimon added a comment.

The lowerVectorShuffleWithPERMV looks alright, but why did you merge the lowerV8F64VectorShuffle/lowerV8I64VectorShuffle and lowerV16F32VectorShuffle/lowerV16I32VectorShuffle functions? Yes the permutevar instructions are available on all domains but when you come to adding support for the faster immediate shuffle instructions (vpshufd/vpshufps/vpermilps/vpermilpd etc.) the implementations will diverge quite quickly again.

Also, it'd be nice if you could add shuffle decode support for the AVX512 vperm* instructions so there are helpful assembly comments.


Repository:
  rL LLVM

http://reviews.llvm.org/D10683







More information about the llvm-commits mailing list