Граф коммитов

635 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai e2d05d569d run sanity checks on emcc -v even without inputs 2014-02-25 21:48:03 -08:00
Alon Zakai 52e38c266a check sanity on emcc -v 2014-02-25 21:45:44 -08:00
Alon Zakai 3e489d4ba4 run a sanity check after clearing the cache 2014-02-25 20:23:56 -08:00
Dan Gohman 264a5a91c4 Introduce the asmjs-unknown-emscripten target triple. 2014-02-25 11:58:52 -08:00
Dan Gohman e024e7f3ac Fix a variety of pylint warnings. 2014-02-25 11:58:52 -08:00
Alon Zakai a75d43ec8d Merge branch 'fastcomp-by-default' into incoming 2014-02-24 14:33:34 -08:00
Alon Zakai ae764ac73f deprecate jcache 2014-02-24 12:36:55 -08:00
Haneef Mubarak 960e1eb848 update year to 2014 2014-02-22 12:12:34 -08:00
Alon Zakai bc0a257c98 error on CORRUPTION_CHECK in fastcomp 2014-02-21 17:00:24 -08:00
Alon Zakai 005950752c RUNTIME_TYPE_INFO is not supported in fastcomp 2014-02-21 15:13:03 -08:00
Alon Zakai 91745dd0c8 add message pointing people to the fastcomp wiki page that explains how to disable it, when a compiler setting is not fastcomp-compatible 2014-02-21 11:57:30 -08:00
Alon Zakai d484101045 avoid warning about aliasing function pointers in fastcomp, it has good debug info on assertions 1 and especially 2 anyhow 2014-02-21 10:58:18 -08:00
Alon Zakai 025dea98e4 turn fastcomp on by default, disabling can be done with EMCC_FAST_COMPILER=0 in the env 2014-02-21 10:10:49 -08:00
Alon Zakai 2f9106e232 error on INIT_HEAP in fastcomp 2014-02-19 13:20:45 -08:00
Alon Zakai 722a170453 support reserved function pointers in fastcomp 2014-02-17 18:14:59 -08:00
Alon Zakai 36baff8892 error on MAX_SETJMPS changed in fastcomp 2014-02-17 17:19:45 -08:00
Alon Zakai 749325298a support memory growth in (non-validating) asm.js 2014-02-16 19:28:43 -08:00
Alon Zakai 153f2d9352 RETAIN_COMPILER_SETTINGS, Runtime.getCompilerSetting and emscripten_get_compiler_setting - an optional way to look up compiler flags at runtime 2014-02-16 12:30:22 -08:00
Alon Zakai ea8830dc5c improve emcc help on shell file, and add minimal shell file example 2014-02-13 14:01:34 -08:00
Alon Zakai e22e4a8192 optimize redundant frounds in -O3 2014-02-11 15:24:42 -08:00
Dan Gohman 6342cd7fbc Use -mllvm -disable-llvm-optzns.
The -O options affect the clang front-end in a variety of ways, so allow
them to be passed through to clang. To disable just the optimization passes,
use -mllvm -disable-llvm-optzns.
2014-02-10 16:40:31 -08:00
Alon Zakai 4bdc1c2d1d validate as asm.js in fastcomp -O1 and above, not -O0 output which is very unoptimized 2014-02-10 10:15:05 -08:00
Alon Zakai 079f019c35 detect .C as c; fixes #2109 2014-02-09 20:26:35 -08:00
Alon Zakai ab1ea19af2 deprecate --split option and disable browser tests using it in fastcomp 2014-02-09 14:50:42 -08:00
Alon Zakai 9faadeb8a4 enable legacy gl emulation in fastcomp 2014-02-09 11:52:02 -08:00
Alon Zakai b3ab733682 system libs fixes 2014-02-08 20:31:56 -08:00
Alon Zakai 157f3151a4 move system libs calculation to its own file 2014-02-08 12:14:56 -08:00
Alon Zakai 2c1fbefac1 TODO 2014-02-07 16:45:33 -05:00
Alon Zakai 4a2e11d8d4 move deps info to file 2014-02-07 16:43:18 -05:00
Alon Zakai 94c4724ebf make sdl malloc hack nicer, and improve back deps trick 2014-02-07 13:45:15 -05:00
Alon Zakai 534faf1530 add mechanism to add a C library dependency from a JS library, in emcc 2014-02-07 13:36:50 -05:00
Alon Zakai f546a415cc do not include system libs in shared libs 2014-02-07 11:32:53 -05:00
Alon Zakai b286fb5aa3 comments on --embed-file being inefficient, and recommending --preload-file 2014-02-07 10:48:58 -05:00
Jukka Jylänki 95b77f9e4a Add strcoll as well so that library.js does not need to depend on musl libc code. 2014-02-06 17:26:38 -05:00
Jukka Jylänki a2f95d5098 Add optimized versions of musl libc string and memory comparison functions. 2014-02-06 17:07:04 -05:00
Alon Zakai 13f89e4c79 avoid blobs when not necessary for client code mods 2014-02-05 18:31:55 -05:00
Alon Zakai 0c9c8b4c52 optimize out fround calls on clients that do not support fround 2014-02-05 15:16:05 -05:00
Alon Zakai 3136112a00 proper fix for simplifying f32-int bitcasts 2014-02-03 23:38:50 -05:00
Alon Zakai a3632a129d support EXCEPTION_CATCHING_WHITELIST in fastcomp 2014-02-02 17:07:37 -08:00
Alon Zakai 53af8ab2eb comment 2014-01-31 16:21:10 -08:00
Alon Zakai 8a6bb8d78f option to allow modifying code before executing it 2014-01-31 15:59:23 -08:00
Alon Zakai 146eff4208 run js opts for safe heap 2014-01-28 16:39:55 -08:00
Alon Zakai dd8ef8c71c comment 2014-01-27 18:36:11 -08:00
Alon Zakai c1c1cb7533 fix some safeHeap errors with the new exceptions code; fixes #2068 2014-01-27 17:52:02 -08:00
Alon Zakai 25e736cbb7 improve mem init help text; fixes #2066 2014-01-27 15:56:59 -08:00
Alon Zakai a5243b4365 support precompiled headers; fixes #2045 2014-01-26 19:25:17 -08:00
Alon Zakai cc77e14246 do not registerizeHarder when outlining 2014-01-21 19:20:54 -08:00
Ryan Kelly 68d6af077f Registerize based on full liveness analysis.
This does a much-more-expensive but much-more-thorough registerization
pass based a live-variable analysis for each function.

azakai: perform this on -O3 and above
2014-01-21 17:50:46 -08:00
Alon Zakai e1f18ae55d document what -O3 will be 2014-01-21 16:07:44 -08:00
Alon Zakai 4757fe2534 deprecate -O3 in preparation for using it for heavier js opts 2014-01-21 14:37:07 -08:00