search for: _launcher_

Displaying 2 results from an estimated 2 matches for "_launcher_".

2011 Jul 28
4
[LLVMdev] [RFC] Coroutines
...ned below is the implementation plan I'm following, for suggestions, flames and other input. Using segmented stacks is a prerequisite. The idea is to associate every coroutine with a coroutine descriptor. A coroutine descriptor consists of four words: w0, w1, w2 and w3. w0 always contains the _launcher_, and invoking a coroutine always involves setting a predefined register (%eax or %rax on x86) to point to the descriptor and calling into w0. The contents of w1, w2 and w3 are decided by the state the coroutine is in. As of now, there are two possibilities: A. The coroutine has just been created:...
2011 Aug 04
0
[LLVMdev] [RFC] Coroutines
...C with a bit of assembly for saving/restoring registers also does. What are the benefits of doing it in llvm itself? > The idea is to associate every coroutine with a coroutine descriptor. A > coroutine descriptor consists of four words: w0, w1, w2 and w3. > > w0 always contains the _launcher_, and invoking a coroutine always > involves setting a predefined register (%eax or %rax on x86) to point to > the descriptor and calling into w0. The contents of w1, w2 and w3 are > decided by the state the coroutine is in. As of now, there are two > possibilities: > > A. The cor...