<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Everyone,<br>
<br>
I am new to LLVM and I am not sure if its capable of being a compilation<br>
strategy to accelerate Dynamic Compiled Instruction set Simulation.<br>
<br>
I have tried changing the source code of: <a class="fixed" href="https://webmail.adelaide.edu.au/horde/util/go.php?url=http%3A%2F%2Fsimit-arm.sourceforge.net%2F&Horde=37090b4f530b63898b0c168e16f52c97" target="_blank">http://simit-arm.sourceforge.net/</a> to<br>
compile pages of C++ code (translated from Arm Assembly) on the fly using<br>
llvm-g++ and it gave the following errors:<br>
<br>
In file included from<br>
/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/bittypes.h:22,<br>
                 from<br>
/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/misc.h:20,<br>
                 from<br>
/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/armemul.h:20,<br>
                 from<br>
/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/arch.hpp:120,<br>
                 from<br>
/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/arch_jit.hpp:20,<br>
                 from /home/wanghao/.ema/u512//Xcompiled_0.cpp:1:<br>
/usr/include/inttypes.h:385: error: `__extern_inline' does not name a type<br>
/usr/include/inttypes.h:401: error: `__extern_inline' does not name a type<br>
/usr/include/inttypes.h:415: error: `__extern_inline' does not name a type<br>
/usr/include/inttypes.h:432: error: `__extern_inline' does not name a type<br>
In file included from<br>
/home/wanghao/Desktop/SimIt-ARM-3.0/build/include/dyn_arm_emul.hpp:18,<br>
                 from /home/wanghao/.ema/u512//Xcompiled_0.cpp:2:<br>
/usr/include/pthread.h:1110: error: expected constructor, destructor, or type<br>
conversion<br>
/usr/include/pthread.h:1110: error: expected `,' or `;'<br>
Total user time  : 3.188 sec.<br>
Total system time: 0.472 sec.<br>
Simulation user time  : 2.892 sec.<br>
Simulation system time: 0.400 sec.<br>
Caching user time  : 0.296 sec.<br>
Caching system time: 0.072 sec.<br>
Simulation speed : 2.285e+07 inst/sec.<br>
Total instructions : 83634854 (83M)<br>
Requested blocks  : 1.<br>
Cache-hit count : 0.<br>
Connected servers/threads : 2 of 2.<br>
Compilation count :<br>
  thread 0: 0<br>
  thread 1: 0<br>
<br>
Please also advise on whether LLVM-GCC is able to do any aid to Instruction Set<br>
Simulation. Thanks in advance.<br>
<br>
Regards<br>
Wang Hao Lee<br /><hr />check out the rest of the Windows Live™.
More than mail–Windows Live™ goes way beyond your inbox.
 <a href='http://www.microsoft.com/windows/windowslive/' target='_new'>More than messages</a></body>
</html>