Slava Pestov
|
91cd3b854d
|
Use ##local-allot to simplify longlong unboxing
|
2010-05-19 01:07:22 -04:00 |
Slava Pestov
|
77516c6932
|
compiler.cfg: generalize ##prepare-struct-caller instruction to alloca()-like ##local-allot
|
2010-05-19 00:33:15 -04:00 |
Slava Pestov
|
ea726f5680
|
Move remaining sequence operations from generalizations to sequences.generalizations where they belong
|
2010-05-18 18:36:47 -04:00 |
Slava Pestov
|
a7b5957f6d
|
compiler: hack to make XCreateIC() work on x86-64
|
2010-05-16 04:49:53 -04:00 |
Joe Groff
|
645164188d
|
compiler.cfg.instructions: ##select-vector instruction mapping to SSE4 PEXTR*
|
2010-05-16 00:50:19 -07:00 |
Slava Pestov
|
5b48cd2a63
|
FFI rewrite part 5: return value boxing and callback parameter boxing now uses vregs; simplify return value unboxing
|
2010-05-16 03:43:23 -04:00 |
Joe Groff
|
8c878ada17
|
compiler.cfg.instructions: ##gather-int-vector-2/4 instructions that map to SSE4 PINSR/PEXTR
|
2010-05-15 23:48:22 -07:00 |
Joe Groff
|
7fec53b509
|
compiler.cfg.instructions: ##bit-count insn
|
2010-05-15 13:57:35 -07:00 |
Slava Pestov
|
5a67711bfd
|
compiler.cfg: use x86 TEST instruction to optimize 'bitand 0 ='
|
2010-05-14 18:37:06 -04:00 |
Joe Groff
|
3766abd65e
|
compiler.cfg.instructions: ##shuffle-vector-halves-imm insn to map to SSE's two-input SHUFPS/SHUFPD
|
2010-05-14 00:20:21 -07:00 |
Slava Pestov
|
eb802208d1
|
FFI rewrite part 4: parameter and return value unboxing redesign
|
2010-05-11 19:11:44 -04:00 |
Slava Pestov
|
4478c3a51a
|
FFI rewrite part 3: eliminate ##push-context-stack and ##pop-context-stack
|
2010-05-10 00:46:29 -04:00 |
Slava Pestov
|
acfbea3865
|
compiler.codegen.fixup: remove unused variable
|
2010-05-10 00:45:48 -04:00 |
Slava Pestov
|
7316d41226
|
FFI rewrite part 2: use ##peek and ##replace instructions to access stack
|
2010-05-09 23:26:43 -04:00 |
Slava Pestov
|
c211c3e84e
|
FFI rewrite part 1: split up ##alien-invoke and friends into smaller instructions
|
2010-05-09 21:36:52 -04:00 |
Slava Pestov
|
f988dad79c
|
compiler.cfg: add ##load-float instruction for single precision floating point constants
|
2010-05-07 18:26:00 -04:00 |
Slava Pestov
|
e763c74096
|
More FFI cleanups
|
2010-05-05 01:13:45 -04:00 |
Slava Pestov
|
58e4381eb1
|
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
|
f5c5d8b44c
|
compiler: remove flat machine representation and generate code directly from the CFG
|
2010-05-03 17:34:32 -04:00 |
Slava Pestov
|
428ba9fd0f
|
compiler.cfg: fuse ##load-integer/##load-reference into ##replace to form ##replace-imm
|
2010-05-03 17:34:28 -04:00 |
Slava Pestov
|
9788323d25
|
compiler: add ##load-vector instruction to avoid wasting a temporary register on x86-32
|
2010-05-03 17:34:28 -04:00 |
Slava Pestov
|
43fc230c69
|
compiler.cfg.linear-scan: cleanups
|
2010-05-03 17:34:18 -04:00 |
Slava Pestov
|
95ff5ffe51
|
New GC checks work in progress
|
2010-05-03 17:34:16 -04:00 |
Slava Pestov
|
9c44dddf97
|
compiler.codegen: cleanup
|
2010-05-03 17:34:14 -04:00 |
Slava Pestov
|
a9ccfa8f05
|
strings: move string-nth primitive out of the VM and into the library
|
2010-05-03 17:34:12 -04:00 |
Slava Pestov
|
378c2b2a46
|
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
|
913b95192e
|
compiler.cfg: merge all alien accessors into ##load-memory-imm and ##store-memory-imm
|
2010-05-03 17:34:06 -04:00 |
Slava Pestov
|
279eb461b1
|
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
|
82fb1879af
|
Debugging untagged fixnums
|
2010-05-03 17:34:02 -04:00 |
Slava Pestov
|
5d3a7a7362
|
Untagged fixnums work in progress
|
2010-05-03 17:34:02 -04:00 |
Slava Pestov
|
2517b2fc2b
|
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
|
67e24b1d2a
|
compiler.codegen: need to do name decoration with fastcall as well
|
2010-04-12 18:10:25 -05:00 |
Joe Groff
|
3e0d86f355
|
Merge branch 'master' of git://factorcode.org/git/factor into abi-symbols
Conflicts:
basis/compiler/tests/alien.factor
|
2010-04-06 12:30:15 -07:00 |
Joe Groff
|
88fbcba067
|
flatten non-integral types to (stack-value) on x86.32
|
2010-04-01 20:56:43 -07:00 |
Slava Pestov
|
eceabbc57e
|
compiler: new set-special-object intrinsic; more efficient special-object intrinsic
|
2010-04-01 20:09:14 -04:00 |
Joe Groff
|
4fd61f0b5c
|
cpu.architecture: alter param-regs to take abi as an (ignored for now) argument
|
2010-04-01 02:53:40 -07:00 |
Joe Groff
|
f3dd625de6
|
"stdcall" -> stdcall
|
2010-03-31 19:29:04 -07:00 |
Slava Pestov
|
d98e752199
|
compiler: add intrinsic for context-object primitive
|
2010-03-27 02:56:11 -04:00 |
Slava Pestov
|
560c119cd2
|
vm: actually use context callstacks when running code
|
2010-03-26 22:44:43 -04:00 |
Slava Pestov
|
6aee6b3adc
|
Add context-specific special object table, generalizing catchstack_save and current_callback_save fields of context struct
|
2010-03-18 22:06:00 +13:00 |
Daniel Ehrenberg
|
7074979745
|
Moving new-sets to sets
|
2010-02-26 16:01:01 -05:00 |
Slava Pestov
|
8d3c11c176
|
compiler: remove some unnecessary complexity
|
2010-02-04 01:36:52 +13:00 |
Slava Pestov
|
bf05a901c4
|
Fix ffi-test library to work with Windows SDK. Turns out MINGW has a different ABI for struct returns than MS's compiler; make the MS ABI the default for cdecl on Windows, and add mingw ABI for libraries that use the MINGW ABI
|
2010-02-02 04:01:12 -06:00 |
Slava Pestov
|
5606825e8b
|
vm: remove primitive table, non-optimizing compiler now looks up primitives with dlsym()
|
2010-01-19 20:00:33 +13:00 |
Slava Pestov
|
637a77c018
|
Stop wearing monocle and use the term "entry point" instead of "XT" throughout VM and compiler; also remove two unused relocation types
|
2010-01-18 20:54:00 +13:00 |
Slava Pestov
|
df4fb4a3ee
|
Removing integers-as-sequences
|
2010-01-15 07:15:33 +13:00 |
Slava Pestov
|
ce2487e6c0
|
compiler.codegen.fixup: cache symbol names, reducing image size by ~200Kb
|
2010-01-13 23:18:43 +13:00 |
Slava Pestov
|
1c10196c43
|
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side
|
2010-01-13 18:08:18 +13:00 |
Slava Pestov
|
235f3238f5
|
Add alien-assembly form for inline assembler, works like alien-invoke except calls a user-supplied quotation instead of generating a subroutine call. Replaces FPU status control, SSE detection and read timestamp routines in vm/cpu-x86.*S
|
2010-01-07 17:39:22 +13:00 |
Slava Pestov
|
ba5b90e063
|
Change how non-volatile register preservation is done in alien callbacks, with the aim of fixing callbacks on PowerPC, and to eventually eliminate assembly code from VM
- Simplify calculation of offset in relocation table
- Open-code %alien-callback
- Remove magic_frame hack from context objects
- Move magical return instruction from optimizing compiler backend into callback entry stub
|
2010-01-03 01:11:51 +13:00 |