<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<BR>
<DIV>
<DIV>
<BLOCKQUOTE><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate">
<DIV class=EC_hmmessage style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">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:<SPAN class=EC_Apple-converted-space> </SPAN><A class=EC_fixed href="https://webmail.adelaide.edu.au/horde/util/go.php?url=http://simit-arm.sourceforge.net/&Horde=37090b4f530b63898b0c168e16f52c97">http://simit-arm.sourceforge.net/</A><SPAN class=EC_Apple-converted-space> </SPAN>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</DIV></SPAN></BLOCKQUOTE></DIV></DIV><br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>