Difference: XiaomingGu (25 vs. 26)

Revision 262011-04-20 - XiaomingGu

Line: 1 to 1
 
META TOPICPARENT name="TWikiUsers"

My Personal Info

Line: 7 to 7
 

Technical Tips

  • build llvm gold plugin
    1. download binutils source code package, llvm source code package, and llvm-gcc frondend executable package
Changed:
<
<
    1. build gold from binutils source code package with configure options --enable-gold --enable-plugins
>
>
    1. build gold from binutils source code package with configure options --enable-gold --enable-plugins, and use ld.gold to replace ld in the bin directory
 
    1. build llvm from llvm source code package with a configure option --with-binutils-include=/path/to/binutils/src/include
    2. unzip llvm-gcc frondend executable package
    3. copy /path/to/llvm/install/lib/LLVMgold.so to /path/to/llvm-gcc-frontend/libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/
    4. add all executable directories to PATH
Changed:
<
<
    1. add /path/to/llvm/install/lib to LD_LIBRARY_PATH
>
>
    1. add /path/to/llvm/install/lib to LD_LIBRARY_PATH and export it
 
    1. call llvm-gcc -O4 -c to generate bit-code objective files, and call llvm-gcc -use-gold-plugin to do link-time optimizations and generate the final executable

  • cache info is in /sys/devices/system/cpu/cpu0/cache/index0. "cpu+(a number)" is for a specific physical thread. "index+(a number)" is for a specific cache like L1 data/inst cache or L2 unified cache.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback