RFC: [patch] Shark host CPU capabilities autotuner.
Xerxes Rånby
xerxes at zafena.se
Wed Feb 17 05:52:11 PST 2010
Gary Benson wrote:
> Xerxes Rånby wrote:
>
>> The attached patch adds a host CPU features autotuner for Shark by using
>> new API's found in llvm 2.7.
>>
>> * ports/hotspot/src/share/vm/shark/sharkCompiler.cpp :
>> (SharkCompiler::SharkCompiler): Implement host CPU feature
>> autotuner using LLVM 2.7 APIs.
>> * ports/hotspot/src/share/vm/shark/llvmHeaders.hpp :
>> Define llvm/ADT/StringMap.h and llvm/System/Host.h
>> depending on LLVM version.
>> Allways define llvm/Support/CommandLine.h.
>>
>> This patch will become more and more usefull over time when
>> llvm/System/Host.cpp gets filled with actual host detection code for
>> various targets.
>>
>
> Commit away :)
>
> Cheers,
> Gary
>
>
Ok!
Commited to icedtea6 hg trunk:
http://icedtea.classpath.org/hg/icedtea6/rev/6dccdd4c25c7
Cheers,
Xerxes
More information about the distro-pkg-dev
mailing list