<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Place post these types of questions to llvmdev.<div><br></div><div>That said, this looks like a frontend issue. </div><div><br></div><div>Evan</div><div><br><div><div>On Jan 14, 2009, at 12:31 AM, Lee Wanghao wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div class="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="Apple-converted-space"> </span><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><span class="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<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><span class="Apple-converted-space"> </span>_______________________________________________<br>LLVMbugs mailing list<br><a href="mailto:LLVMbugs@cs.uiuc.edu">LLVMbugs@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs">http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs</a><br></div></span></blockquote></div><br></div></body></html>