[LLVMdev] Ubuntu LLVM compiled a page of Simit-ARM with errors

Lee Wanghao xaero_1 at hotmail.com
Wed Jan 14 16:43:11 PST 2009






Hi Everyone,I am new to LLVM and I am not sure if its capable of being a compilationstrategy to accelerate Dynamic Compiled Instruction set Simulation.I have tried changing the source code of: http://simit-arm.sourceforge.net/ tocompile pages of C++ code (translated from Arm Assembly) on the fly usingllvm-g++ and it gave the following errors:In file included from/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/bittypes.h:22,                 from/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/misc.h:20,                 from/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/armemul.h:20,                 from/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/arch.hpp:120,                 from/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/arch_jit.hpp:20,                 from /home/wanghao/.ema/u512//Xcompiled_0.cpp:1:/usr/include/inttypes.h:385: error: `__extern_inline' does not name a type/usr/include/inttypes.h:401: error: `__extern_inline' does not name a type/usr/includ!
 e/inttypes.h:415: error: `__extern_inline' does not name a type/usr/include/inttypes.h:432: error: `__extern_inline' does not name a typeIn file included from/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/dyn_arm_emul.hpp:18,                 from /home/wanghao/.ema/u512//Xcompiled_0.cpp:2:/usr/include/pthread.h:1110: error: expected constructor, destructor, or typeconversion/usr/include/pthread.h:1110: error: expected `,' or `;'Total user time  : 3.188 sec.Total system time: 0.472 sec.Simulation user time  : 2.892 sec.Simulation system time: 0.400 sec.Caching user time  : 0.296 sec.Caching system time: 0.072 sec.Simulation speed : 2.285e+07 inst/sec.Total instructions : 83634854 (83M)Requested blocks  : 1.Cache-hit count : 0.Connected servers/threads : 2 of 2.Compilation count :  thread 0: 0  thread 1: 0Please also advise on whether LLVM-GCC is able to do any aid to Instruction SetSimulation. Thanks in advance.RegardsWang Hao Lee
_________________________________________________________________
What can you do with the new Windows Live? Find out
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090115/f49a754b/attachment.html>


More information about the llvm-dev mailing list