Alon Zakai
|
65cfcfaee6
|
coerce dynCall returns
|
2013-01-16 16:33:59 -08:00 |
Alon Zakai
|
9ca70fb2e5
|
refactor dynCall return
|
2013-01-16 16:32:53 -08:00 |
Alon Zakai
|
d0b3bb756d
|
fix dynCall generation
|
2013-01-16 16:27:15 -08:00 |
Alon Zakai
|
d0128078f3
|
reorder asm function tables
|
2013-01-16 16:22:45 -08:00 |
Alon Zakai
|
abcc12003c
|
allow defining asm library functions, which are then included as if they were generated code
|
2013-01-16 12:22:34 -08:00 |
Alon Zakai
|
00876c9bd1
|
add Infinity and asm debug printers
|
2013-01-15 10:20:26 -08:00 |
Alon Zakai
|
e8f92fa229
|
fix NaN import to asm
|
2013-01-14 18:15:53 -08:00 |
Alon Zakai
|
cb50975f3a
|
use tempBigInt properly in asm
|
2013-01-14 18:10:42 -08:00 |
Alon Zakai
|
b596a26cd7
|
import NaN in asm
|
2013-01-14 17:59:15 -08:00 |
Alon Zakai
|
3b0fa1af3a
|
fix asm Math.* imports
|
2013-01-14 15:40:47 -08:00 |
Alon Zakai
|
080056477f
|
remove duplicate floor import in asm
|
2013-01-10 17:42:20 -08:00 |
Alon Zakai
|
ed77c3ec7a
|
add all math functions to asm
|
2013-01-10 16:10:24 -08:00 |
Alon Zakai
|
624ef44bb3
|
add Math.abs to default asm imports
|
2013-01-10 15:52:06 -08:00 |
Alon Zakai
|
62ca2bf2fa
|
add tempValue in asm
|
2013-01-08 16:52:02 -08:00 |
Alon Zakai
|
3a866bd0b3
|
define tempInt in asm
|
2013-01-08 13:26:54 -08:00 |
Alon Zakai
|
6538207d95
|
remove unneeded ' in asm exports
|
2013-01-07 13:15:08 -08:00 |
Alon Zakai
|
006059dbb9
|
simple asm mode that just exports main
|
2013-01-07 10:34:48 -08:00 |
Alon Zakai
|
a97833a69f
|
fix jcache breakage due to missing global annotation
|
2012-12-31 16:52:04 -08:00 |
Alon Zakai
|
654963c82c
|
fix silly crash
|
2012-12-31 15:27:12 -08:00 |
Alon Zakai
|
2f233e3ca4
|
forward unindexable globals to asm
|
2012-12-31 14:48:33 -08:00 |
Alon Zakai
|
491dcb1441
|
forward externals to asm
|
2012-12-31 14:03:29 -08:00 |
Alon Zakai
|
ac97466862
|
export malloc and free from asm, if present
|
2012-12-31 12:07:02 -08:00 |
Alon Zakai
|
8aa6919b7a
|
merge incoming
|
2012-12-21 20:43:10 -08:00 |
Alan Kligman
|
315f13e5a1
|
Updated scripts to call python2 directly rather than relying on python symlink pointing to the right place. See PEP394 for details on why this should be OK.
|
2012-12-19 18:06:48 -05:00 |
Alon Zakai
|
2e55061621
|
emit numeric constants for global variables, using our knowledge of the fixed value of GLOBAL_BASE
|
2012-12-13 14:43:40 -08:00 |
Alon Zakai
|
33745b7c40
|
reorder asm output
|
2012-12-13 11:51:13 -08:00 |
Alon Zakai
|
8f55ac7657
|
fix stackAlloc notation
|
2012-12-13 10:51:43 -08:00 |
Alon Zakai
|
530ec7ca09
|
missing coercion in stackAlloc
|
2012-12-12 16:56:41 -08:00 |
Alon Zakai
|
8f42941647
|
support for Math.imul
|
2012-12-12 16:38:58 -08:00 |
Alon Zakai
|
b7736cf61e
|
coerce asm global var imports
|
2012-12-12 16:12:50 -08:00 |
Alon Zakai
|
c83b1d4e9e
|
Merge branch 'incoming' into asm_js
|
2012-12-11 14:01:06 -08:00 |
Alon Zakai
|
6c80e7593c
|
ignore llvm.module metadata
|
2012-12-10 16:40:47 -08:00 |
Alon Zakai
|
cc3d094151
|
emit function table mask in dynCall defs
|
2012-12-07 17:19:48 -08:00 |
Alon Zakai
|
b7de9da3a4
|
fill in all the function table holes
|
2012-12-07 17:17:55 -08:00 |
Alon Zakai
|
ea803456f8
|
fix bug in function table filling
|
2012-12-07 17:05:48 -08:00 |
Alon Zakai
|
b832e0985b
|
warn instead of failing if a function table is used without functions of its signature existing
|
2012-12-07 17:02:17 -08:00 |
Alon Zakai
|
ddcf4db713
|
fill function tables with error functions in empty slots
|
2012-12-07 16:38:35 -08:00 |
Alon Zakai
|
153638d05a
|
set asm function table sizes to power of two, and add proper masking
|
2012-12-07 16:19:54 -08:00 |
Alon Zakai
|
8129e120ed
|
emit asm coercions on returns
|
2012-12-07 15:51:06 -08:00 |
Alon Zakai
|
92a1c1e242
|
forward in Math_* from Math.* and correct the compiled code to align to that
|
2012-12-07 15:10:36 -08:00 |
Alon Zakai
|
c51a379ec1
|
forward clearing of __THREW__ to asm
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
f3a52489d4
|
add undef to asm
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
b470b15e4c
|
define __THREW__ for asm
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
9fcc17f156
|
asm glue for tempRet*
|
2012-12-07 14:23:24 -08:00 |
Alon Zakai
|
c027f5d2af
|
add missing sign parameter to i64 divide and modulo
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
1189e117b7
|
improve asm test wrapping
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
f9e3b6eed3
|
take into account legalization of i64s into i32s in function signatures
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
c507a8cf49
|
64-bit dynamic shifts in asm
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
74c843c55f
|
i64Math in asm
|
2012-12-07 14:23:22 -08:00 |
Alon Zakai
|
b4d6f40305
|
export dynCall functions from asm, not raw function tables
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
eb66a7f218
|
only forward GLOBAL_BASE when needed
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
c854ced309
|
forward GLOBAL_BASE to asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
b6b3d43b61
|
forward ABORT to asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
2617ac81a9
|
commented out preparation for more runtime forwarding into asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
b8e8298f3d
|
fix testing closure
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
518597ee2b
|
expose tempDoublePtr to asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
41359b3568
|
move stack manipulation into asm
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
60a3fd1bcd
|
enclose asm.js to prevent Function code from seeing the global scope, for testing purposes
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
5ff4af4293
|
use toSource on asm module to prevent access outside the module for testing purposes
|
2012-12-07 14:23:21 -08:00 |
Alon Zakai
|
e078423315
|
do not pass globals into asm when they are unnamed
|
2012-12-07 14:23:20 -08:00 |
Alon Zakai
|
f80d277fd8
|
fix ctors crash
|
2012-12-07 14:23:20 -08:00 |
Alon Zakai
|
e944bb4580
|
export global constructors from asm.js and get them dynamically in the outside scope
|
2012-12-07 14:23:20 -08:00 |
Alon Zakai
|
80ef086309
|
send abort and assert to asm
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
861346ff36
|
global vars in asm.js module
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
90288fb4ad
|
export function tables
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
19d06326b6
|
move asm.js function tables into asm
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
ed00768f16
|
put library signatures in separate storage instead of reusing libraryFunctions
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
709d9bf788
|
export asm.js exports to outside scope
|
2012-12-07 14:23:19 -08:00 |
Alon Zakai
|
98e48e462b
|
function table fixes
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
26e9eba5aa
|
generate separate type-specific function tables
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
df6018759a
|
add asm imports and exports, hello world works
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
6cf30ed095
|
export is reserved
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
f243434a3e
|
export implementedFunctions when necessary for asm.js
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
ec66ae0de4
|
only export asm functions from asm, not library functions
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
3c38471a75
|
work towards exports
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
2e28a4acfa
|
remove irrelevant code from asm module
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
b140e7ee73
|
set up asm.js 'module'
|
2012-12-07 14:23:18 -08:00 |
Alon Zakai
|
01082cf68a
|
don't emit debug info that confuses o2.test_openjpeg
|
2012-11-22 19:42:29 +01:00 |
Alon Zakai
|
7ca37d12de
|
add timing info in emscript
|
2012-11-22 16:27:04 +01:00 |
Alon Zakai
|
09c376afee
|
fix ll func identifying for chunking purposes, and add testing of jcache on a large program
|
2012-11-22 15:15:00 +01:00 |
Alon Zakai
|
f725733b14
|
save only strings in jcache
|
2012-11-22 13:54:35 +01:00 |
Alon Zakai
|
cbfcb2e9f1
|
fix emscript funcs caching and add testing
|
2012-11-21 20:47:02 +01:00 |
Alon Zakai
|
3a048d9e58
|
cache emscript function chunks
|
2012-11-21 20:47:02 +01:00 |
Alon Zakai
|
6f679ca7e7
|
return chunks of text in chunkify to simplify the ap-iy
|
2012-11-21 20:47:02 +01:00 |
Alon Zakai
|
60a11cfaec
|
improve chunkify to consider previous chunkings when caching
|
2012-11-21 20:47:02 +01:00 |
Alon Zakai
|
a2b241e70b
|
refactor chunking code and add function ident information
|
2012-11-21 20:47:02 +01:00 |
Alon Zakai
|
19f97a1e74
|
make emscript chunks lists of functions, to make it easier later to load them separately from jcache
|
2012-11-21 20:47:01 +01:00 |
Alon Zakai
|
c115a4fee6
|
fix bug with ignore label comments inside functions
|
2012-11-21 20:47:01 +01:00 |
Alon Zakai
|
e4aa21f08a
|
fix and test pre caching
|
2012-11-21 20:47:01 +01:00 |
Alon Zakai
|
8fce64dd18
|
basic jcache on pre with files+cPickle
|
2012-11-21 20:47:01 +01:00 |
Alon Zakai
|
6af60b7137
|
add more caching logic including short vs full keys
|
2012-11-21 20:47:01 +01:00 |
Alon Zakai
|
58e00ebddf
|
basic logic and stubs for caching pre phase
|
2012-11-21 20:47:01 +01:00 |
Alon Zakai
|
f199880bb1
|
set up parameter passing for jcache
|
2012-11-21 20:47:01 +01:00 |
Alon Zakai
|
813f86354c
|
emit libraries and globals in pre phase, which needs to parse globals anyhow, and avoid overhead of libraries in func phases
|
2012-11-15 16:10:23 -08:00 |
Alon Zakai
|
dfce473f4e
|
adjust emscrip parallelization heuristics
|
2012-11-14 14:58:08 -08:00 |
Alon Zakai
|
3b249f8289
|
optimize writing in emscripten.py
|
2012-11-13 18:19:34 -08:00 |
Alon Zakai
|
4127726504
|
clean up temp .ll files in child processes
|
2012-11-13 14:54:40 -08:00 |
Alon Zakai
|
acbf809a3c
|
bootstrap relooperautomatically
|
2012-11-10 14:37:15 -08:00 |
Alon Zakai
|
563f6ad6d9
|
improve emscripten temp file storage
|
2012-11-10 11:26:23 -08:00 |
Alon Zakai
|
c6144aa6e2
|
fix handling of splitting in emscript with just one core
|
2012-11-07 18:57:43 -08:00 |