Slava Pestov
|
5e290d5648
|
Refactor x86-32 stack cleanup logic
|
2010-05-12 02:09:11 -04:00 |
Slava Pestov
|
09e1cf58be
|
Temporary fixes for x86-32 until FFI boxing is rewritten
|
2010-05-12 01:41:49 -04:00 |
Slava Pestov
|
3d11fc1451
|
cpu.x86.64: fix typo
|
2010-05-11 22:29:46 -04:00 |
Slava Pestov
|
b92c67fc2c
|
Move flatten-c-type to death row so that it can be executed in part 5
|
2010-05-11 22:26:31 -04:00 |
Slava Pestov
|
5054bb4b25
|
FFI rewrite part 4: parameter and return value unboxing redesign
|
2010-05-11 19:11:44 -04:00 |
Slava Pestov
|
86d2e3c990
|
cpu.ppc: fixes
|
2010-05-10 17:50:10 -05:00 |
Slava Pestov
|
a1f113409a
|
cpu.ppc: update for recent changes -- untested
|
2010-05-10 02:21:23 -04:00 |
Slava Pestov
|
5d7287b71d
|
compiler: simplify ##unbox-small/large-struct by emitting an ##unbox-any-c-ptr first
|
2010-05-10 01:38:34 -04:00 |
Slava Pestov
|
8d887c3240
|
FFI rewrite part 3: eliminate ##push-context-stack and ##pop-context-stack
|
2010-05-10 00:46:29 -04:00 |
Slava Pestov
|
8468f72b3f
|
cpu.x86.32: fix load error
|
2010-05-09 23:36:57 -04:00 |
Slava Pestov
|
af4e851392
|
FFI rewrite part 2: use ##peek and ##replace instructions to access stack
|
2010-05-09 23:26:43 -04:00 |
Slava Pestov
|
de2becae82
|
cpu.x86.64.unix: fix load error
|
2010-05-09 22:15:14 -04:00 |
Slava Pestov
|
03108747b3
|
cpu.x86.32: fix load error
|
2010-05-09 21:55:21 -04:00 |
Slava Pestov
|
3d66820344
|
FFI rewrite part 1: split up ##alien-invoke and friends into smaller instructions
|
2010-05-09 21:36:52 -04:00 |
Slava Pestov
|
6d367ba038
|
compiler.cfg: add ##load-float instruction for single precision floating point constants
|
2010-05-07 18:26:00 -04:00 |
Slava Pestov
|
d2d466de29
|
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
|
2010-05-06 17:21:02 -04:00 |
Slava Pestov
|
aafdfd58b1
|
cpu.ppc: add missing cases to ##load/store-memory instructions
|
2010-05-05 13:37:25 -04:00 |
Slava Pestov
|
ff2966a675
|
cpu.x86.32: fix load error
|
2010-05-05 02:54:48 -04:00 |
Slava Pestov
|
7e8add87fe
|
More FFI cleanups
|
2010-05-05 01:13:45 -04:00 |
Slava Pestov
|
920d6b1829
|
cpu.ppc: updating optimizing compiler backend for recent changes
|
2010-05-04 05:51:54 -05:00 |
Slava Pestov
|
030b966adf
|
cpu.ppc.assembler: new opcodes: LFDUX LFDX LFSUX LFSX STFDUX STFDX STFSUX STFSX
|
2010-05-04 05:47:21 -05:00 |
Slava Pestov
|
46864a2c92
|
vm: tweak inline_gc() for PowerPC
|
2010-05-04 06:52:30 -04:00 |
Slava Pestov
|
8c099dac43
|
cpu.x86: GC root offsets were computed wrong in words containing alien calls
|
2010-05-04 02:53:53 -04:00 |
Slava Pestov
|
27ba4339a7
|
cpu: cleanups
|
2010-05-03 23:08:24 -04:00 |
Slava Pestov
|
bd4b31ffa9
|
cpu.ppc: fixing typos in non-optimizing backend
|
2010-05-03 22:43:51 -04:00 |
Slava Pestov
|
94e6ed142d
|
cpu.x86.assembler: fix test on 64-bit
|
2010-05-03 20:16:13 -04:00 |
Slava Pestov
|
acfec41df5
|
cpu.ppc: updates for recent compiler changes, untested
|
2010-05-03 18:28:31 -04:00 |
Slava Pestov
|
7f0469efef
|
compiler: new "binary literal area" at the end of a word's machine code stores constant floats and SIMD vectors; this allows ##load-reference/##load-memory fusion to be performed on x86-64, with a RIP-relative address reaching the data; also simplifies VM since custom relocation types used by the previous 32-bit-only optimization are no longer needed
|
2010-05-03 17:34:35 -04:00 |
Slava Pestov
|
73c83333f2
|
compiler: remove flat machine representation and generate code directly from the CFG
|
2010-05-03 17:34:32 -04:00 |
Slava Pestov
|
c724550291
|
compiler.cfg: fuse ##load-integer/##load-reference into ##replace to form ##replace-imm
|
2010-05-03 17:34:28 -04:00 |
Slava Pestov
|
90b945eaa0
|
compiler: add ##load-vector instruction to avoid wasting a temporary register on x86-32
|
2010-05-03 17:34:28 -04:00 |
Slava Pestov
|
be95003594
|
cpu.x86: use available type info to generate more efficient %box-displaced-alien where possible
|
2010-05-03 17:34:27 -04:00 |
Slava Pestov
|
8849e370ca
|
Register allocation now uses SSA properties to coalesce values with different representations
|
2010-05-03 17:34:20 -04:00 |
Slava Pestov
|
fc7a1ad8b3
|
New GC checks work in progress
|
2010-05-03 17:34:16 -04:00 |
Slava Pestov
|
1bde985228
|
cpu.x86.assembler: small cleanups
|
2010-05-03 17:34:15 -04:00 |
Slava Pestov
|
fd84bb98bc
|
strings: move string-nth primitive out of the VM and into the library
|
2010-05-03 17:34:12 -04:00 |
Slava Pestov
|
8af111577c
|
compiler.cfg.representations: fix various bugs
|
2010-05-03 17:34:11 -04:00 |
Slava Pestov
|
80c8a7154d
|
compiler.cfg: add ##load-memory and ##store-memory instructions implementing complex addressing modes, and associated value numbering optimizations
|
2010-05-03 17:34:07 -04:00 |
Slava Pestov
|
59fe281799
|
compiler.cfg: more flexible addressing for ##slot and ##set-slot
|
2010-05-03 17:34:06 -04:00 |
Slava Pestov
|
a5e4eb1948
|
cpu.x86.assembler: support all addressing modes
|
2010-05-03 17:34:06 -04:00 |
Slava Pestov
|
becd957d29
|
compiler.cfg: merge all alien accessors into ##load-memory-imm and ##store-memory-imm
|
2010-05-03 17:34:06 -04:00 |
Slava Pestov
|
3c965afd10
|
compiler.cfg: remove ##set-string-nth-fast instruction since it can be expressed just as efficiently using other instructions
|
2010-05-03 17:34:04 -04:00 |
Slava Pestov
|
6403572286
|
compiler.cfg.value-numbering: new optimizations; reassociation for shifts and redistribution for shifts/multiplies over additions/subtractions
|
2010-05-03 17:34:02 -04:00 |
Slava Pestov
|
80558a93fa
|
Debugging untagged fixnums
|
2010-05-03 17:34:02 -04:00 |
Slava Pestov
|
6fdcd9fb02
|
Untagged fixnums work in progress
|
2010-05-03 17:34:02 -04:00 |
Slava Pestov
|
19412e4ad1
|
compiler: Start using tagged-rep for stuff, and split up compiler.cfg.representations into several sub-vocabularies
|
2010-05-03 17:34:01 -04:00 |
Slava Pestov
|
1185ab0305
|
cpu.ppc: fix breakage caused by ##compare-imm change
|
2010-04-19 01:40:16 -05:00 |
Slava Pestov
|
1d7089dc04
|
compiler: combine ##load-constant followed by ##alien-double into a ##load-double on x86-32, saving an integer register
|
2010-04-18 21:42:45 -05:00 |
Slava Pestov
|
dbd7489894
|
compiler.cfg: fix some bugs introduced by the ##compare-imm fusion patch
|
2010-04-18 21:42:45 -05:00 |
Slava Pestov
|
c4cf2a4085
|
compiler: change how 'f' is represented in low level IR to simplify some code, and fuse a ##load-constant of a word with a ##compare into a ##compare-imm on x86-32. This eliminates a spill from binary-search
|
2010-04-18 21:42:45 -05:00 |