[PATCH] D17289: [X86] Fix False Data Dependency in popcnt

Asaf Badouh via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 04:12:25 PST 2016


AsafBadouh created this revision.
AsafBadouh added reviewers: aaboud, zansari, DavidKreitzer.
AsafBadouh added a subscriber: llvm-commits.
AsafBadouh set the repository for this revision to rL LLVM.

popcnt have a false dependency on the destination register dest, the instruction will wait until dest is ready before executing.

more details in:
http://stackoverflow.com/questions/25078285/replacing-a-32-bit-loop-count-variable-with-64-bit-introduces-crazy-performance


Repository:
  rL LLVM

http://reviews.llvm.org/D17289

Files:
  ../llvm/lib/Target/X86/CMakeLists.txt
  ../llvm/lib/Target/X86/X86.h
  ../llvm/lib/Target/X86/X86PopcntOpt.cpp
  ../llvm/lib/Target/X86/X86TargetMachine.cpp
  ../llvm/test/CodeGen/X86/popcnt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17289.48062.patch
Type: text/x-patch
Size: 7659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160216/fa3c5efa/attachment.bin>


More information about the llvm-commits mailing list