AVX-512: dec/inc instructions are slow on KNL
authorElena Demikhovsky <elena.demikhovsky@intel.com>
Wed, 2 Jul 2014 14:11:05 +0000 (14:11 +0000)
committerElena Demikhovsky <elena.demikhovsky@intel.com>
Wed, 2 Jul 2014 14:11:05 +0000 (14:11 +0000)
commit0780b6db5d6cdc25bea8ce16e391835d98ac21ad
tree7c93fd8739b0b644584f144aa2d87a85af5c9410
parentf5ec1bd705460cb98a7c5218987b2b1d72d82d8a
AVX-512: dec/inc instructions are slow on KNL
After Alexey Volkov, I'm adding the same property for KNL, that prefers ADD/SUB instead of INC/DEC.
Added a test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212178 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86.td
test/CodeGen/X86/avx512-inc-dec.ll [new file with mode: 0644]