about summary refs log tree commit diff
path: root/src/rt/intrinsics
AgeCommit message (Collapse)AuthorLines
2012-03-23Remove last vestiges of old-style intrinsicsMarijn Haverbeke-796/+0
Closes #2048
2012-03-23Revert removal of intrinsicsMarijn Haverbeke-0/+796
Oops. We can't do this yet until the next snapshot.
2012-03-23Remove support for the old-style intrinsicsMarijn Haverbeke-796/+0
Closes #2042 Closes #1981
2012-03-02retool inline encoding to handle methods, fix testsNiko Matsakis-354/+351
2012-02-17rt: Make upcall_vec_push an intrinsicBrian Anderson-46/+286
2012-02-07made leak an intrinsic to avoid a c-call. added memmove and memcpy intrinsicsMagnus Auvinen-0/+73
2012-02-03rt: Rename rust_scheduler to rust_task_threadBrian Anderson-13/+12
2012-02-02rt: Rename task_sleep intrinsic to task_yield. Remove usec paramBrian Anderson-14/+11
2012-02-02rt: Generate intrinsicsBrian Anderson-71/+85
2012-02-02rt: Fix intrinsics bustageBrian Anderson-0/+1
intrinsics.cpp and the file to generate the ll had bitrotted.
2011-11-18intrinsics: Remove declaration of port_recvBrian Anderson-3/+0
2011-11-18rt: Remove fail calls from rust_task::yieldBrian Anderson-9/+10
2011-11-18intrinsics: Eliminate recv intrinsicBrian Anderson-55/+71
This intrinsic existed just to get ahold of the return pointer. I replaced it with a call_with_retptr intrinsic that grabs the return pointer and passes it to another Rust function, thereby eliminating the need to call C functions on the Rust stack.
2011-11-18intrinsics: Remove the call to get_task from task_sleepBrian Anderson-12/+11
2011-11-18intrinsics: Add some commentsBrian Anderson-2/+4
2011-11-18intrinsics: Move the call to upcall_fail out of rust_intrinsic_castBrian Anderson-47/+4
2011-11-17Remove intrinsic_2 functionsBrian Anderson-189/+0
2011-11-17Stop using temporary intrinsic_2 functionsBrian Anderson-194/+224
2011-11-16remove wrappers from intrinsicsNiko Matsakis-160/+326
2011-11-08Make task_sleep an intrinsic.Brian Anderson-118/+165
2011-11-02get things checking on ia32Niko Matsakis-18/+28
2011-11-02enable intrinsics for multiple archNiko Matsakis-17/+130
2011-10-24update intrinsics fileNiko Matsakis-10/+9
2011-10-24move sys fns into c-stack-cdecl and get_type_desc() into rustiNiko Matsakis-75/+84
there is one test failure, stdtest/sys.rs, which inexplicably (thus far) fails to compile because it invokes sys::rustrt::last_os_error() instead of invoking sys::last_os_error(). If stdtest/sys.rs is updated to invoke the wrapper, it passes. Still tracing the source of this error.
2011-10-20Get rid of taskpointer-passing throughout the compilerMarijn Haverbeke-6/+6
Only intrinsics still take a dummy taskptr. We'll have to do some makefile stunts to snapshot a version without taskptrs-in-intrinsics. Issue #466
2011-09-28rt: Add an upcall to allocate space on the C stack. This will be used for ↵Patrick Walton-0/+2
native calls on the C stack.
2011-08-29Implement non-internal ivecsMarijn Haverbeke-32/+8
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.
2011-08-18Remove rust_intrinsic_vec_lenBrian Anderson-19/+0
I just edited the ll by hand since I don't have clang on hand
2011-08-18Rename rust_vec to rust_evecBrian Anderson-1/+1
2011-08-05Rewrote receive to return a value. This lets us initialize variables by ↵Eric Holk-4/+3
receiving them.
2011-08-01Adding an intrinsic for recv.Eric Holk-51/+206
2011-07-25remove datalayout from the intrinsics.ll.in file, silence linkage warning.Graydon Hoare-1/+0
2011-07-11stdlib: Add addr_of() to the standard libraryPatrick Walton-0/+12
2011-07-10rt: Remove the _2 prefix from intrinsics; all rust-intrinsics now use ↵Patrick Walton-62/+7
explicit return pointers
2011-07-09rustc: Make rust-intrinsics take an explicit return pointerPatrick Walton-12/+72
2011-07-09stdlib: Implement casts. The horror.Patrick Walton-0/+46
2011-07-08stdlib: Add an offset function for simple pointer arithmetic on unsafe pointersPatrick Walton-23/+39
2011-06-29Don't enable ssp everywhere.Rafael Ávila de Espíndola-2/+2
2011-06-16rt: Add an ivec length intrinsic and an ivec reserve function, both untested ↵Patrick Walton-24/+74
as of yet
2011-05-05rustc: Link with intrinsics.bc; change intrinsics linkage to linkonce_odrPatrick Walton-1/+4
2011-05-04build: Build intrinsics.bcPatrick Walton-1/+1
2011-05-03rustc: Stub Rust intrinsics. We check in the .ll file for now to temporarily ↵Patrick Walton-0/+74
dodge a dependency on clang.