Commit Graph

13920 Commits (62db617927101b7d3795b2f55c187b40fee15e4b)

Author SHA1 Message Date
Slava Pestov 62db617927 Get rid of two instructions from tag pics and one instruction from all others 2009-04-29 22:24:28 -05:00
Slava Pestov 5188f4e1f0 Fix TEST opcode in cpu.x86.assembler 2009-04-29 22:23:42 -05:00
Slava Pestov bd186b6320 Eliminate 3 instructions from PIC fast path 2009-04-29 21:32:05 -05:00
Slava Pestov ae22b345ec PIC -> megamorphic transition now has correct semantics within compilation units 2009-04-29 19:50:50 -05:00
Slava Pestov 02bd4f3f00 PICs now pass the method table around instead of extracting it from the generic word body. This gels better with how compilation units are supposed to work 2009-04-29 19:39:43 -05:00
Slava Pestov deaea55d85 compiler: don't wrap non-inference errors in compile errors, since they indicate compiler bugs; just rethrow them. Add unit test for a PIC regression 2009-04-29 19:39:04 -05:00
Slava Pestov 38a38a57a9 Fix hi-tag-or-tuple PICs 2009-04-29 03:00:09 -05:00
Slava Pestov a26947ba2e Remove obsolete -mtune=pentium4 compile flag 2009-04-28 23:05:42 -05:00
Slava Pestov 9243316489 Debugging inline caching 2009-04-28 23:05:18 -05:00
Slava Pestov 8c25569e9e tools.time: print method dispatch statistics 2009-04-28 22:45:19 -05:00
Slava Pestov 7f766ab355 Update compiler tests for tag number changes 2009-04-28 21:43:30 -05:00
Slava Pestov dbc1a8e1a3 Only generate cold call entry points for standard generics and not hooks 2009-04-28 18:17:28 -05:00
Slava Pestov dfcbd206b6 Fix -pic command line switch, and enable PICs in user-space 2009-04-28 18:06:10 -05:00
Slava Pestov 5b53562c7b Add better error checking for INSTANCE: and GENERIC#, and remove unnecessary word props when generic word's combination changes 2009-04-28 17:56:15 -05:00
Slava Pestov c15a4c1c5a Add new relocation type for call sites which may be replaced by ICs 2009-04-28 17:53:14 -05:00
Slava Pestov 5f6c074edd Split up types.c/h into smaller files, remove optimized slot from F_WORD struct 2009-04-28 17:26:11 -05:00
Slava Pestov e8008af5d0 inline-cache-miss primitive now jumps to the new stub 2009-04-28 16:58:38 -05:00
Slava Pestov 3985b18026 Add -pic= command line argument 2009-04-28 16:58:19 -05:00
Slava Pestov e940f6fd8b Add method dispatch statistics 2009-04-28 16:58:05 -05:00
Slava Pestov bd1b6be732 Remove some unused macros 2009-04-28 04:03:11 -05:00
Slava Pestov 4d10105802 Working on inline caching 2009-04-28 03:48:37 -05:00
Slava Pestov d5b51df7e7 Clean up profiler.c using new JIT API 2009-04-28 00:53:32 -05:00
Slava Pestov e45790a802 Split off parts of quotations.c into jit.c, which is a general codegen facility used by the non-optimizing compiler, and soon to be the profiler and PICs 2009-04-28 00:48:00 -05:00
Slava Pestov 15ef4f651b Sprinkle VM source with assertions, add a missing local root to quotations.c, fix GROWABLE_ARRAY macros for GC safety 2009-04-28 00:11:09 -05:00
Slava Pestov bba3bdd2bd Merge branch 'inline_caching' into jit_cleanup 2009-04-27 17:09:12 -05:00
Slava Pestov bba30dc284 Fix conflict from master 2009-04-27 17:09:09 -05:00
Slava Pestov 7b08accb7e Merge branch 'master' into inline_caching 2009-04-27 16:14:45 -05:00
Slava Pestov 4cc48dcb12 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-04-27 14:13:58 -05:00
Slava Pestov 5ff2c2e2bf Don't compile predicate engines since there's no gain 2009-04-27 14:10:12 -05:00
Joe Groff a2c7074a6b Merge branch 'master' of git://factorcode.org/git/factor 2009-04-27 14:02:24 -05:00
Joe Groff 49771779c1 symbols in functors 2009-04-27 14:02:14 -05:00
Samuel Tardieu 18abc8b9f1 Add q+ and q- to math.quaternions
This makes the quaternions library self-contained and more independent
of the underlying representation.
2009-04-27 17:24:39 +02:00
Slava Pestov bf0e8606a8 Merge branch 'master' into inline_caching 2009-04-26 21:26:39 -05:00
Slava Pestov 67fd98f42d Merge branch 'master' of git://factorcode.org/git/factor 2009-04-26 21:25:08 -05:00
Slava Pestov 84f672e74b tuple-arrays: further performance improvements 2009-04-26 21:24:55 -05:00
Slava Pestov 58cba832a0 functors: add support for call-next-method 2009-04-26 21:22:20 -05:00
Slava Pestov 7094b78821 Add firstn-unsafe, input<sequence-unsafe 2009-04-26 21:22:06 -05:00
Slava Pestov 6b5b839e72 Makefile: add SITE_CFLAGS even if DEBUG=1 2009-04-26 16:05:23 -05:00
Slava Pestov 087c962f75 VM: simplify GC a bit, add GC_DEBUG compile-time flag 2009-04-26 16:05:09 -05:00
Slava Pestov dac5203e81 compiler.tree.builder: Fix scoping of a variable by hints vocab 2009-04-26 16:04:44 -05:00
Joe Groff 0d03dea74b factor out tuple literal slot parsing from the rest of tuple literal parsing 2009-04-26 15:59:26 -05:00
Joe Groff 06012cf291 order-insensitive pair methods 2009-04-26 14:58:31 -05:00
Joe Groff 2ee95694e5 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-26 14:35:59 -05:00
Slava Pestov 319ac42ac2 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-26 13:31:23 -05:00
Slava Pestov 291ac48a17 tuple-arrays: completely rewritten to use functors, 10x faster on benchmark 2009-04-26 13:31:10 -05:00
Joe Groff a2056d932c gold plating for sequences.product 2009-04-26 13:09:30 -05:00
Joe Groff f007c281e3 docs for sequences.product 2009-04-26 13:08:15 -05:00
Joe Groff 303ce55dc6 more efficient product-each and product-map that don't /mod all over the place 2009-04-26 12:27:50 -05:00
Slava Pestov 67e3a0e16d Merge branch 'master' of git://factorcode.org/git/factor 2009-04-26 10:03:14 -05:00
Slava Pestov e0f6825757 Rename some fields to avoid conflicting with windows.h macros 'small' and 'large' 2009-04-26 10:02:52 -05:00