[PATCH] D28104: update TTI costs for arithmetic instructions on X86\SLM arch.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 15:03:50 PST 2017


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86TargetTransformInfo.cpp:624
+    // slm muldq version throughput is 2 
+    { ISD::MUL,     MVT::v2i64,    11 },
+  };
----------------
I've been simplifying the code in X86TTIImpl::getArithmeticInstrCost and this won't fire now. It would be be better off in the earlier ST->isSLM() LUT. 


https://reviews.llvm.org/D28104





More information about the llvm-commits mailing list