RFC: [patch] Shark host CPU capabilities autotuner.

Xerxes Rånby xerxes at zafena.se
Wed Feb 3 16:04:06 PST 2010


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: autotune_llvm_jit.patch
Type: text/x-patch
Size: 1892 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20100204/aee0f30b/autotune_llvm_jit.patch 

More information about the distro-pkg-dev mailing list