X86 machine model: reduce SandyBridge and Haswell ILPWindow.
authorAndrew Trick <atrick@apple.com>
Sat, 13 Apr 2013 06:07:43 +0000 (06:07 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 13 Apr 2013 06:07:43 +0000 (06:07 +0000)
commitf7fd6b9e3a011638adadeca9cda25d9cfc0ff271
tree2cb6c4347e24dce774c0eda925bdc4d01d76e33c
parente833e1cd6eeb722edbb5c5f316fbca16abd384c9
X86 machine model: reduce SandyBridge and Haswell ILPWindow.

The initial values were arbitrary. I want them to be more
conservative. This represents the number of latency cycles hidden by
OOO execution. In practice, I think it should be within a small factor
of the complex floating point operation latency so the scheduler can
make some attempt to hide latency even for smallish blocks.

These are by no means the best values, just a starting point for
tuning heuristics. Some benchmarks such as TSVC run faster with this
lower value for SandyBridge. I haven't run anything on Haswell, but
it's shouldn't be 2x SB.

llvm-svn: 179450
llvm/lib/Target/X86/X86SchedHaswell.td
llvm/lib/Target/X86/X86SchedSandyBridge.td