[PATCH] D33169: [X86] Adding vpopcntd and vpopcntq instructions

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 14 05:29:26 PDT 2017


RKSimon added a reviewer: RKSimon.
RKSimon added a comment.

Please can you rebase against trunk latest?

Add cost-model support in X86TTIImpl::getIntrinsicInstrCost



================
Comment at: lib/Target/X86/X86InstrAVX512.td:8656
+
+defm VPOPCNT : avx512_unary_rmb_popcnt_dq<0x55, "vpopcnt">;
+
----------------
You should be able to make 128/512 vector lowering legal as well using the same pattern technique as we do for VPABS and VPLZCNT on NoVLX targets


Repository:
  rL LLVM

https://reviews.llvm.org/D33169





More information about the llvm-commits mailing list