Commit Graph

6470 Commits (617a7cbd6561c08f2c778c7fbac9e04fd748fc46)

Author SHA1 Message Date
Phil Dawes c7b7517f36 small x86 asm cleanup 2009-09-16 08:22:17 +01:00
Phil Dawes 8a65f35c31 vm passed in primitives as arg0 for x86.64 2009-09-16 08:22:17 +01:00
Phil Dawes b07550620f Dev checkpoint 2009-09-16 08:20:51 +01:00
Phil Dawes 4af25578d8 fixed up some alien boxing (x86 32 & 64) 2009-09-16 08:20:50 +01:00
Phil Dawes 0470b7d2c5 fixed vm ptr passing to to_value_struct 2009-09-16 08:20:50 +01:00
Phil Dawes 1b92721660 fixed vm ptr passing to box_small_struct 2009-09-16 08:20:50 +01:00
Phil Dawes 888eae9554 fixed vm ptr passing to box_value_struct 2009-09-16 08:20:50 +01:00
Phil Dawes 3345922330 quick test vocab for mt stuff 2009-09-16 08:20:50 +01:00
Phil Dawes b02c602a89 added vm passing to some alien/boxing functions and added some vm asserts 2009-09-16 08:20:10 +01:00
Phil Dawes 5cd2fbb564 vm ptr passed to lazy_jit_compile on x86.64 2009-09-16 08:20:10 +01:00
Phil Dawes be1b079eb5 Primitives now pass vm ptr on 64bit x86 2009-09-16 08:20:09 +01:00
Phil Dawes 0bc7c0c1d0 separated vm-1st-arg and vm-3rd-arg asm invoke words (needed for ppc & x86.64) 2009-09-16 08:20:09 +01:00
Phil Dawes 005549ba43 vm pointer passed to nest_stacks and unnest_stacks (win32) 2009-09-16 08:17:26 +01:00
Phil Dawes cdb6304fef Dev checkpoint 2009-09-16 08:17:26 +01:00
Phil Dawes 3b52df9e02 added vm ptr to x86.32 boxing asm 2009-09-16 08:16:33 +01:00
Phil Dawes ff54a57eb3 added code to pass vm ptr to some unboxers 2009-09-16 08:16:32 +01:00
Phil Dawes ff8f2b10ec fixed up getenv compiler intrinsic to use vm struct userenv 2009-09-16 08:16:32 +01:00
Phil Dawes 5bb04857bf moved cards_offset and decks_offset into vm struct (for x86) 2009-09-16 08:16:31 +01:00
Phil Dawes c010afc345 nursery global variable moved into vm 2009-09-16 08:16:31 +01:00
Phil Dawes 0be499de8a renamed to vm-field-offset. Slava's better at naming than me 2009-09-16 08:16:31 +01:00
sheeple 0b0937cf0e ppc asm to get stack_chain using vm ptr 2009-09-16 08:16:31 +01:00
Phil Dawes 88d3179358 Added a vm C-STRUCT, using it for struct offsets in x86 asm 2009-09-16 08:16:31 +01:00
Phil Dawes 9a37b6abb6 moved stack_chain into vm struct 2009-09-16 08:16:31 +01:00
Phil Dawes 465f06ebc2 throw_impl now forwards the vm ptr 2009-09-16 08:16:30 +01:00
Phil Dawes 4afc16e95b passing vm ptr to lazy_jit_compile mostly working 2009-09-16 08:16:30 +01:00
Phil Dawes 6a193bb0d5 Added %vm-invoke to pass vm ptr to vm functions (x86.32 only, otherwise uses singleton vm) 2009-09-16 08:16:30 +01:00
Phil Dawes 57011aed51 vm ptr passed to primitives on X86.32 (other cpus still use singleton vm ptr) 2009-09-16 08:16:30 +01:00
Phil Dawes a5f24c8fb9 added VM relocation type 2009-09-16 08:16:30 +01:00
Joe Groff 3c541f736f fix failing classes.struct tests 2009-09-15 19:10:05 -05:00
Joe Groff cc680ae698 Revert "make struct classes print properly in the status bar"
This reverts commit 4ee1a4f9e8.
2009-09-15 18:56:17 -05:00
Joe Groff 2462b694f7 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 17:45:56 -05:00
Slava Pestov 765aa5bc1d db: fix some typos in docs 2009-09-15 15:45:03 -07:00
Joe Groff d3ed042c99 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 17:39:05 -05:00
Joe Groff 4d16c569f0 struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types 2009-09-15 17:38:49 -05:00
Slava Pestov 096c7e7a47 help.html: don't strip out vocabs without roots since that gets rid of private vocabs 2009-09-15 14:48:56 -07:00
Joe Groff c139077b52 Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 16:30:34 -05:00
Slava Pestov 172219e931 compiler.tree.propagation: fix unary-op type functions with complex number inputs 2009-09-15 14:30:20 -07:00
Slava Pestov 9382c67437 alien.syntax: improve C-ENUM: docs 2009-09-15 16:24:58 -05:00
Joe Groff 3d351bf95d Merge branch 'master' of git://factorcode.org/git/factor 2009-09-15 16:08:57 -05:00
Slava Pestov b03eaf3c32 math: minor doc fixes 2009-09-15 15:42:46 -05:00
Joe Groff 3c98ec95e2 make struct classes print properly in the status bar 2009-09-15 15:16:53 -05:00
Slava Pestov 05fe9c7ead colors.constants: clean up naming 2009-09-14 21:03:33 -05:00
Slava Pestov ded68c67c0 Fix bootstrap 2009-09-14 20:26:59 -05:00
Slava Pestov 4f702de449 math.functions: more accurate log10 (fixes problem reported by OneEyed) 2009-09-14 16:19:58 -05:00
Slava Pestov d772bff8b9 help.vocabs: tweak 'not loaded' message some more 2009-09-14 16:19:36 -05:00
Slava Pestov a1dfea7887 Merge branch 'master' of git://github.com/Blei/factor 2009-09-14 16:19:21 -05:00
Slava Pestov 5246c0c09b Merge branch 'ui' of git://github.com/klazuka/factor 2009-09-14 16:14:41 -05:00
Joe Groff 77f0fbf497 missed a few PPC status bits that needed clearing 2009-09-14 15:17:36 -05:00
Joe Groff 8c14af3f6c add a number-base configuration variable to prettyprint.config. set to 2 to print BIN:, 8 to print OCT:, 10 to print decimal, 16 to print HEX: 2009-09-14 15:03:05 -05:00
Joe Groff 2fdb16060b vm-error>exception-flags word to extract exception flag information from a trap exception 2009-09-14 14:10:51 -05:00