[X86] Restrict max long nop length for Lakemont.
authorAndrey Turetskiy <andrey.turetskiy@gmail.com>
Mon, 11 Apr 2016 10:07:36 +0000 (10:07 +0000)
committerAndrey Turetskiy <andrey.turetskiy@gmail.com>
Mon, 11 Apr 2016 10:07:36 +0000 (10:07 +0000)
commit9df334c28e35241e5971b086fd3b96d0a998e00c
tree6bee172e3a5fa614bda57388ae9f3c84018fdd12
parent036d0600448d6137300eb0bfcbf99a24e8632204
[X86] Restrict max long nop length for Lakemont.

Restrict the max length of long nops for Lakemont to 7. Experiments on MCU
benchmarks (Dhrystone, Coremark) show that this is the most optimal length.

Differential Revision: http://reviews.llvm.org/D18897

llvm-svn: 265924
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
llvm/test/MC/X86/x86_long_nop.s