[PATCH] D13851: [X86][XOP] Add support for lowering vector rotations

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 14:58:46 PDT 2015


RKSimon added a comment.

Thanks Elena, I ran that code replacing i32 with <4 x i32> and got the following as you expected:

  vpxor   %xmm2, %xmm2, %xmm2
  vpsubd  %xmm1, %xmm2, %xmm1
  vpand   .LCPI1_0(%rip), %xmm1, %xmm1
  vprotd  %xmm1, %xmm0, %xmm0
  retq


Repository:
  rL LLVM

http://reviews.llvm.org/D13851





More information about the llvm-commits mailing list