[PATCH] [X86] For Silvermont CPU use 16-bit division instead of 64-bit for small positive numbers

Alexey Volkov avolkov.intel at gmail.com
Thu Oct 23 07:38:01 PDT 2014


Hi nadav,

This patch enables use of smaller 16-bit division instead of 64-bit for positive numbers less than 65536.
This is profitable for some tests since on Silvermont 64-bit division is quite slow.

http://reviews.llvm.org/D5938

Files:
  lib/Target/X86/X86.td
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86Subtarget.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5938.15328.patch
Type: text/x-patch
Size: 4708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141023/05a46200/attachment.bin>


More information about the llvm-commits mailing list