[PATCH] D146357: [X86] Alternative algorithm for vector-vector shifts
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 23 05:44:39 PDT 2023
LuoYuanke added inline comments.
================
Comment at: llvm/test/CodeGen/X86/avx2-shift.ll:547
+; X64-NEXT: vpsllvd %xmm1, %xmm0, %xmm0
+; X64-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm3[1],xmm0[2],xmm3[3],xmm0[4],xmm3[5],xmm0[6],xmm3[7]
; X64-NEXT: retq
----------------
The instruction count seems to increase from 5 to 7. Could you check if it improves performance with "https://uica.uops.info" or llvm-mca?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146357/new/
https://reviews.llvm.org/D146357
More information about the llvm-commits
mailing list