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

Evan Cheng echeng at apple.com
Wed Jan 14 10:20:45 PST 2009


Place post these types of questions to llvmdev.

That said, this looks like a frontend issue.

Evan

On Jan 14, 2009, at 12:31 AM, Lee Wanghao wrote:

> Hi Everyone,
>
> I am new to LLVM and I am not sure if its capable of being a  
> compilation
> strategy to accelerate Dynamic Compiled Instruction set Simulation.
>
> I have tried changing the source code of: http://simit-arm.sourceforge.net/ 
>  to
> compile pages of C++ code (translated from Arm Assembly) on the fly  
> using
> llvm-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/include/inttypes.h:415: error: `__extern_inline' does not name  
> a type
> /usr/include/inttypes.h:432: error: `__extern_inline' does not name  
> a type
> In 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 type
> conversion
> /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: 0
>
> Please also advise on whether LLVM-GCC is able to do any aid to  
> Instruction Set
> Simulation. Thanks in advance.
>
> Regards
> Wang Hao Lee
> check out the rest of the Windows Live™. More than mail–Windows  
> Live™ goes way beyond your inbox.More than messages  
> _______________________________________________
> LLVMbugs mailing list
> LLVMbugs at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20090114/67c4bc8c/attachment.html>


More information about the llvm-bugs mailing list