OSDN Git Service

[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)
commit26a9873b72c6dbb425ae075fcf51caa9fc5e892b
tree01329e28755d3a5dc73f2e104cd48f0a23dfd615
parent0a4c40265be05bd2de039edeb417dc92ddb68850
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265924 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
test/MC/X86/x86_long_nop.s