[PATCH] D150324: [X86] Make constant `mul` -> `shl` + `add`/`sub` work for vector types

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 17:03:45 PDT 2023


efriedma added a comment.

On current chips, pmullw has the same throughput as psllw; it seems unlikely to me that it's profitable to replace a pmullw with a four-instruction sequence.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150324/new/

https://reviews.llvm.org/D150324



More information about the llvm-commits mailing list