about summary refs log tree commit diff
path: root/src/comp/back/x86.rs
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-53/+0
2012-02-06change gcc_args to cc_args and make win32 use gccJyun-Yan You-1/+1
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-12/+12
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-01freebsd supportUser Jyyou-0/+6
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-3/+0
2011-11-02add -m64 to gcc args if appropriateNiko Matsakis-1/+3
2011-11-02start to isolate target strings so that they can be configured forNiko Matsakis-22/+30
x64 or other targets
2011-09-02Reformat. Issue #855Brian Anderson-19/+17
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-7/+7
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-27Convert the rest of rustc::back to istrs. Issue #855Brian Anderson-15/+17
2011-08-27Convert std::os to istrs. Issue #855Brian Anderson-6/+7
2011-07-27Reformat for new syntaxMarijn Haverbeke-6/+6
2011-07-12rustc: Remove some useless std::vec importsPatrick Walton-1/+0
2011-07-06Remove temporary stdlib placeholders, use actual stdlib functionsMarijn Haverbeke-1/+0
(Possible now that a snapshot took place.)
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-1/+1
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.
2011-06-16Reformat a bunch of recent churn.Graydon Hoare-5/+3
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-21/+12
2011-05-26Remove native glues. All calls to C are direct now.Graydon Hoare-186/+1
2011-05-24There is only one yield glue.Rafael Ávila de Espíndola-42/+2
2011-05-24There is only one activate function now.Rafael Ávila de Espíndola-92/+2
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-17/+17
Except for _task, which is still a keyword.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-40/+40
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-41/+41
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-18/+18
(Have fun mergining your stuff with this.)
2011-05-05Fix x86.rs triple for linux.Graydon Hoare-1/+1
2011-05-05Use symbolic register names so that we get the correct encoding on OS X.Rafael Ávila de Espíndola-2/+2
2011-05-05rustc: Link with intrinsics.bc; change intrinsics linkage to linkonce_odrPatrick Walton-1/+3
2011-04-29rustc: Emit pure native glue; we don't call it yetPatrick Walton-8/+18
2011-04-28Add a very minimal set of .cfi_* statements to get part of backtracesRafael Ávila de Espíndola-2/+34
working (on hello world at least): ~/inst/gdb/bin/gdb --args ./foo (gdb) b write ... (gdb) r ... Breakpoint 1, 0xf7f04270 in write () from /lib32/libc.so.6 (gdb) bt 0 0xf7f04270 in write () from /lib32/libc.so.6 1 0x0804931a in rust_native_cdecl_3 () 2 0x080487d7 in _rust_wrapper3_ () 3 0x0804890a in _rust_fn5_main () 4 0x08049440 in rust_native_cdecl_7 ()
2011-03-25Trans nomenclature tidy-up: upcall vs. native vs. extern.Graydon Hoare-17/+18
2011-03-25Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare-1/+1
2011-03-25Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare-1/+1
build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
2011-03-25Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare-1/+1
off src root.
2011-03-21Every upcall needs a task pointer to find the C stack. It is just that whenRafael Ávila de Espíndola-9/+17
handling cdecl call they should skip it when calling the final function. There is some cleanup to be done on the generated IL, but this gets us running Hello World for real.
2011-03-16Fixed version of my previous patch to rename the upcall functions. This time ↵Rafael Ávila de Espíndola-3/+3
also update the inline assembly.
2011-03-11rustc: Add some stub metadata to each cratePatrick Walton-0/+10
2011-03-09Fix access to the rust stack.Rafael Ávila de Espíndola-15/+32
2011-03-09swap taskptr and callee in preparation for making taskptr optional.Rafael Ávila de Espíndola-8/+10
2011-02-22Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare-2/+2
so access to argv works.
2011-02-08Add the single instruction required in activate glue to fix burning darwin ↵Graydon Hoare-2/+99
tinderbox. And transplant 100 lines of comments from the ML code.
2010-12-03rustc: Set data layout and target triplePatrick Walton-0/+20
2010-11-15Fix typo in x86 backend glue that was, by luck, only crashing on OSX.Graydon Hoare-1/+1
2010-11-14Switch upcall glues to fastcall as well.Graydon Hoare-10/+11
2010-11-14Remove outptr from module-internal calls; use standard ABI returns.Graydon Hoare-9/+9
2010-11-05Move symbol prefix logic into separate function, add underscore prefix for ↵Graydon Hoare-4/+10
windows.
2010-10-22Don't use string == in x86.rs, doesn't work.Graydon Hoare-1/+1
2010-10-22rustc: Add an "_" prefix to assembler-generated symbols on MacPatrick Walton-0/+5
2010-09-27Fix indexing bug in rustc's indirect-upcall arg-copying loops.Graydon Hoare-3/+4