about summary refs log tree commit diff
path: root/src/rt/arch
AgeCommit message (Collapse)AuthorLines
2011-11-17rt: Make morestack link on x86_64. Still utterly brokenBrian Anderson-4/+10
2011-11-17rt: Make stack growth code build on LinuxBrian Anderson-1/+6
2011-11-17rt: More work on morestackPatrick Walton-21/+98
2011-11-16Revert "rt: More work on morestack"Brian Anderson-98/+21
This reverts commit 68aff2ad6d55a051e9347aa38f945d114f282691.
2011-11-16Revert "rt: Make stack growth code build on Linux"Brian Anderson-6/+1
This reverts commit da4b7da4e142a4c2119312c0e24b7c20bbe74e60.
2011-11-16rt: Make stack growth code build on LinuxBrian Anderson-1/+6
2011-11-16rt: More work on morestackPatrick Walton-21/+98
2011-11-16Various fixes for x86_64 on linuxBrian Anderson-1/+1
Configure LLVM correctly, use the right data layout, add the readlink function back, fix C constants, etc.
2011-11-16add shim upcall funcNiko Matsakis-0/+16
2011-11-16correct alignmentNiko Matsakis-3/+4
2011-11-16begin efforts to use shim functions for c-stack callsNiko Matsakis-1/+17
2011-11-14Revert "rt: More work on morestack"Patrick Walton-98/+21
This reverts commit ced0d4f15e11e2c74766d1055146946ded3fba51.
2011-11-14rt: More work on morestackPatrick Walton-21/+98
2011-11-09hack around the problem that x86_64 expects first few args in regs.Niko Matsakis-3/+38
call on c-stack expects all data to be delivered on the stack.
2011-11-09use uint64_t when adjusting stack ptrNiko Matsakis-2/+2
2011-11-08correct stack alignmentNiko Matsakis-59/+60
2011-11-08cleanup, removing comments and dead codeNiko Matsakis-31/+10
2011-11-08fix bug in loading argument regsNiko Matsakis-2/+2
2011-11-08correct calling convention for x86_64Niko Matsakis-66/+107
2011-11-08fix alignment of xmm register storageNiko Matsakis-17/+20
2011-11-02add required symbolsNiko Matsakis-0/+8
2011-11-02hastily port so we don't fail to buildNiko Matsakis-0/+52
2011-11-02get things checking on ia32Niko Matsakis-28/+28
2011-11-02start going back to an i386 buildNiko Matsakis-36/+38
2011-11-02hack around on makefiles trying to get a 64 bit buildNiko Matsakis-0/+0
right now there are many temporary hacks, search for NDM to find them
2011-11-02modify x64 assembly and so forthNiko Matsakis-112/+93
2011-11-02do not preserve caller-saved registersNiko Matsakis-29/+29
2011-11-02copy over x86-specific codeNiko Matsakis-0/+233
2011-10-31rt: Fix long linesPatrick Walton-6/+6
2011-10-31rt: Have __morestack conform to the calling convention that LLVM generates ↵Patrick Walton-9/+12
on x86
2011-10-31Stub a __morestack implementation and stack segment allocation. Untested.Patrick Walton-0/+38
2011-10-24fix c-stack-cdecl when used w/ i64Niko Matsakis-0/+4
2011-10-24switch over sqrt from llvm to c-stack-cdecl, exposing a bug inNiko Matsakis-0/+4
the supported return types of upcall_c_stack
2011-10-23Fix an insane rt build error running 'make check -j3'Austin Seipp-3/+1
2011-10-21Get 'make tidy' to work rustllvm and rt againBrian Anderson-43/+43
2011-10-05rt: Make C stack switching Valgrind-clean by warning Valgrind when we're ↵Patrick Walton-1/+12
about to write to the C stack from the Rust stack
2011-09-30rt: Omit leading underscore on symbol names on LinuxPatrick Walton-0/+5
2011-09-29rt: Fix assembler for C calls to work more like a regular function callPatrick Walton-5/+8
2011-09-28rt: Add a call stub that switches to the C stack, untested as of yetPatrick Walton-0/+15
2011-09-28rt: Add an upcall to allocate space on the C stack. This will be used for ↵Patrick Walton-9/+18
native calls on the C stack.
2011-09-07Rewrite spawn yet againBrian Anderson-8/+0
The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236
2011-08-17Making more of the rust_task structure directly accessible from Rust.Eric Holk-0/+2
2011-08-15Fixing win32 build.Eric Holk-1/+1
2011-08-15Updating to build on Linux and Mac, and hopefully Windows too.Eric Holk-0/+4
2011-08-15Added a library version of spawn. Before long, we can remove the old version.Eric Holk-15/+24
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-2/+2
2011-06-23Combined set_registers and get_registers into swap_registers.Eric Holk-57/+20
2011-06-23Wrote swap_context in assembly. Closes #548. This also allows us to ↵Eric Holk-29/+36
re-enable optimization on OSX for both gcc and clang. Also, re-enamed task-comm-1.rs, which was previously broken by optimization.
2011-06-15Fixed a problem where spawn arguments were getting lost again. Also, fixed ↵Eric Holk-1/+13
up stack alignment, which closes #496
2011-06-13This is the mega-ucontext commit. It replaces the task switching mechanism ↵Eric Holk-0/+202
with a new one inspired by ucontext. It works under Linux, OS X and Windows, and is Valgrind clean on Linux and OS X (provided the runtime is built with gcc). This commit also moves yield and join to the standard library, as requested in #42. Join is currently a no-op though.