Commit Graph

30 Commits (4e9392b09372bf63ae448dd971076dc7cc74fdb7)

Author SHA1 Message Date
Phil Dawes 4e9392b093 ppc asm to pass vm pointer: overflow fns 2009-09-30 07:59:36 +01:00
Phil Dawes 6f0d25a8b3 ppc asm to pass vm pointer: initial bootstrap 2009-09-28 07:48:37 +01:00
Slava Pestov 3db631716f vm: More indentation fixes 2009-09-14 03:14:48 -05:00
Joe Groff 5fa31b5dea save vector registers, save control register, and enable denormals before calling factor in powerpc c_to_factor() 2009-09-13 13:18:24 -05:00
Joe Groff 1a19221159 set altivec denormal flag when with-denormal-mode is used 2009-09-12 20:39:41 -05:00
Joe Groff 131fa2405d fix ppc assembler syntax 2009-09-08 21:01:33 -05:00
Joe Groff 4f43af5b7d factor out x86 and ppc backends for math.floats.env; update both x87 and SSE state on x86 2009-09-08 15:36:53 -05:00
Joe Groff 327c9eb7b8 math.floats.env vocab with words to control the floating-point environment
add some functions to the VM to grab and set the fpu control register
2009-09-05 19:48:13 -05:00
Philipp Brüschweiler 18240b0219 misc small documentation fixes, some fixes for factor.vim, changed permissions of vm/* to 644 2009-08-10 21:33:07 +02:00
Slava Pestov 05146c6907 Remove compiled slot from quotations since its not needed 2009-05-12 03:09:15 -05:00
Slava Pestov cb9d50887c Update PowerPC %jump and %dispatch-label, and add PIC-related functions to cpu-ppc.hpp 2009-05-07 19:47:38 -05:00
Slava Pestov 5e90662337 Working on PowerPC backend 2009-05-06 15:39:03 -05:00
Slava Pestov a14e5a4a3b Better local cache 2009-04-26 08:06:37 -05:00
sheeple c6837fbe3e Update cpu-ppc.S for quotation layout change 2009-03-24 01:07:38 -05:00
Slava Pestov 00212bb626 Save and restore r31 2008-12-16 02:06:53 -06:00
sheeple abc486c342 Subtraction overflow was wrong way round on PowerPC 2008-11-30 06:08:16 -06:00
sheeple 2b1a90e90a Fixing PowerPC arithmetic primitives 2008-11-28 22:22:26 -06:00
Slava Pestov 68dd6cc35a Working on PowerPC overflow checks 2008-11-28 20:02:50 -06:00
slava fbc0f33c86 The deploy tool would coalesce equal quotations into one. This created a problem
for the non-optimizing compiler because if the new 'leader' quotation was not
compiled but some of the ones that it replaces were, then calls to the quotation
from contexts where they have to be compiled (eg, compiled if and dip) would no
longer work. Add a `jit-compile' primitive to compile quotations, and call it
as appropriate in `compress-quotations`.
2008-11-24 15:59:27 -06:00
Slava Pestov 7741096bff Tweak PPC register usage; gcc doesn't like it when you mess with r31 for some reason 2008-11-06 03:36:46 -06:00
Slava Pestov 2239f4fb99 More work on PowerPC backend; change register usage, free up some more integer and float regs (untested) 2008-11-05 04:20:35 -06:00
Slava Pestov 3cea135fae Working on PowerPC port 2008-07-14 01:57:19 -05:00
Slava Pestov ac5f758bce PowerPC support work in progress 2008-01-08 17:04:45 -04:00
Slava Pestov 423c22e4ef Symbols are compound defs now; SYMBOL: foo == : foo \ foo ; 2007-12-25 22:55:17 -05:00
Slava Pestov 6fb134f1aa Update non-optimizing compiler for new PowerPC calling convention 2007-10-05 04:17:38 -04:00
Slava Pestov fab1453bfc Re-implemented single stepper for new evaluation model 2007-10-03 16:56:49 -04:00
Slava Pestov 99a42aa089 Fix crash if GC runs during lazy_jit_compile 2007-09-26 00:34:10 -04:00
Slava Pestov f400729792 The JIT now compiles quotations when first invoked, not when constructed 2007-09-26 00:26:19 -04:00
Slava Pestov 0c6865a10b Lazy JIT 2007-09-25 21:23:20 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00