aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-06-07 23:30:34 +0000
committerVincent Lejeune <vljn@ovi.com>2013-06-07 23:30:34 +0000
commitd1a9d181206c4a614ad36383abf16f5a4ce990cc (patch)
treee961a1318a1b7b65e6cf5a44ed506e8c3e177421 /llvm/lib/Object/Binary.cpp
parent4d143328dfe507f36cad821a1319919f8debf557 (diff)
downloadllvm-d1a9d181206c4a614ad36383abf16f5a4ce990cc.zip
llvm-d1a9d181206c4a614ad36383abf16f5a4ce990cc.tar.gz
llvm-d1a9d181206c4a614ad36383abf16f5a4ce990cc.tar.bz2
R600: Use a refined heuristic to choose when switching clause
This is using a hint from AMD APP OpenCL Programming Guide with empirically tweaked parameters. I used Unigine Heaven 3.0 to determine best parameters on my system (i7 2600/Radeon 6950/Kernel 3.9.4) the benchmark : it went from 38.8 average fps to 39.6, which is ~3% gain. (Lightmark 2008.2 gain is much more marginal: from 537 to 539) There is no lit test provided as the parameter were determined empirically and it it would be nearly impossiblet to find a test program that check for optimal behavior. llvm-svn: 183593
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions