<div dir="ltr">Can you not achieve the same effect without adding intrinsics? Insert function calls to a __spawn and __join pseudo-function instead?<br><br><div class="gmail_quote">2009/3/30 Milos Puzovic <span dir="ltr"><<a href="mailto:milos.puzovic@gmail.com">milos.puzovic@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Nicolas,<br><br><div class="gmail_quote">2009/3/30 Nicolas Geoffray <span dir="ltr"><<a href="mailto:nicolas.geoffray@lip6.fr" target="_blank">nicolas.geoffray@lip6.fr</a>></span><div class="im">
<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">

Can you be more verbose on this? Are you planning to implement some JVM<br>
or .Net extension for supporting your new intrinsics? Or are you just<br>
looking for a runtime with a GC?</blockquote></div><div>At the moment I am not looking to add any new extensions to JVM or .NET. I would need a runtime with a GC to demonstrate and test building execution schedules using the randomized work-stealing algorithm. I thought that I could factor out some code from VMKit that would help me to get there? Otherwise I would look at working with LLVM interpreter to support multi- and many-core execution with new intrinsic. Once I am happy with the performance I will look into adding extensions to JVM and .NET. <br>


<br></div><div class="im"><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Why do you need to hack on a processor backend for such purpose? Aren't<br>

your OS primitives sufficient?</blockquote></div><div>Yes they are, but I also want to exploit any specific instructions from the multi-thread processors for creating and distributing threads. For examples, XCore ISA has an instruction TSTART to start and a group of instructions starting with TINIT for initialising different aspects of thread states. It would then be interesting to compare how would that generated code handle load balancing compared to work-stealing algorithm and if they can work together.<br>


<br>Milos.<br></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>