[PATCH] D32481: [X86] memset should be using REPSTOS for memset on recent CPU (that have ERMS).

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 11:22:52 PDT 2017


reames added a comment.

Looking at your plots and cross checking the intel docs, I don't see that this is obviously a good idea for unaligned copies.  The aligned case seems clear, but the unaligned case does show drops in performance for smaller sizes.


https://reviews.llvm.org/D32481





More information about the llvm-commits mailing list