RFC: [patch] Shark host CPU capabilities autotuner.

Gary Benson gbenson at redhat.com
Fri Feb 5 02:41:26 PST 2010


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

-- 
http://gbenson.net/



More information about the distro-pkg-dev mailing list