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

521 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 6a4ed46be4 enable ta2 2011-06-09 18:42:05 -07:00
Alon Zakai e9e7efa370 sign analyzer for ta==2 2011-06-09 15:53:55 -07:00
Alon Zakai fa4c3a7de1 test tweaks 2011-06-08 19:11:25 -07:00
Alon Zakai aa1b54bbb5 fixes for USE_TYPED_ARRAYS == 2 2011-06-06 07:40:27 -07:00
Alon Zakai e068f02137 fix alignment issues with USE_TYPED_ARRAYS == 2 2011-06-05 19:17:53 -07:00
Alon Zakai 0428d4846f refactor makeCopyValues and add makeSetValues 2011-06-04 14:08:51 -07:00
Alon Zakai acaee4231b refactor call and invoke into a single method, so invoke supports all possible inputs 2011-06-03 19:25:21 -07:00
Alon Zakai cafdc3cca8 refactoring in preparation for TYPED_ARRAYS==2 (disabled) 2011-06-03 14:40:15 -07:00
Alon Zakai f1fd3b6f4d fixes for closure compiler advanced opts 2011-05-28 23:15:36 -07:00
Alon Zakai 2f0867998f fix bug with invalid [#uses=?] parsing 2011-05-27 12:46:32 -07:00
Alon Zakai 196cc4113a improve AUTO_OPTIMIZE 2011-05-26 16:29:59 -07:00
Alon Zakai 78ee9a8f64 improve CHECK_* options, add initial version of AUTO_OPTIMIZE 2011-05-26 13:32:57 -07:00
Alon Zakai d3efb7dcb7 allow 2 and 3 in SAFE_HEAP and CHECK_* options. 2 is only these, 3 is all but these 2011-05-25 15:00:11 -07:00
Alon Zakai 2f07663738 do not use strict mode in benchmarks 2011-05-25 10:53:50 -07:00
Alon Zakai 55dd99e760 disable v8 in bullet due to v8 issue 1407 2011-05-25 08:28:12 -07:00
Alon Zakai f0b0519c98 64-bit bitops 2011-05-25 07:16:26 -07:00
Alon Zakai bcdfcfbfed remove obsolete fastops; generalize load with parseLLVM/finalizeLLVM; fix issue 14 2011-05-24 15:07:49 -07:00
Alon Zakai 77cacaa2fd handle shifts with more than 32 bits 2011-05-24 07:33:53 -07:00
Alon Zakai 2ad8eb7761 make autodebugger output smaller 2011-05-22 10:31:47 -07:00
Alon Zakai 1be1268669 remove compiler argument to emscripten.py - use ~/.emscripten instead 2011-05-15 19:07:12 -07:00
Alon Zakai 798e635cf9 support for reading files synchronously 2011-05-15 16:26:57 -07:00
Alon Zakai 3afb3d53d7 indexize necessary library functions 2011-05-15 08:04:34 -07:00
Alon Zakai 9d376d8bde additional sdl and browser stuff 2011-05-14 11:03:17 -07:00
Alon Zakai d2f680e7a4 clean up shell.js 2011-05-12 15:10:11 -07:00
Alon Zakai 5fd849d5e0 testcase for last commit 2011-05-11 09:51:18 -07:00
Alon Zakai df7285ed9e misc emmaken improvements 2011-05-09 17:23:26 -07:00
Alon Zakai 3ef5028d5a only INIT_STACK in tests that actually need it 2011-04-26 15:44:18 -07:00
Alon Zakai 7dba1a416e Merge branch 'master' of github.com:kripken/emscripten 2011-04-26 08:26:25 -07:00
Alon Zakai 10c721e022 properly handle calls to varargs functions without additional args 2011-04-26 08:26:00 -07:00
Alon Zakai ebe6abb171 prevent SAFE_HEAP warning in bullet test when INIT_STACK is off 2011-04-25 18:25:11 -07:00
Alon Zakai 8700a32317 tweak relooper, improves fannkuch 2011-04-25 16:01:47 -07:00
Alon Zakai d78652a9b9 fix bug with build caching in test runner 2011-04-25 07:44:53 -07:00
Alon Zakai cdef584dfe do not initialize stack in benchmarks 2011-04-24 20:19:43 -07:00
Alon Zakai aa3b844a15 use quantum of 1 in benchmarks 2011-04-24 19:51:51 -07:00
Alon Zakai 0a2001bf4f dead function elimination tool 2011-04-24 17:57:01 -07:00
Alon Zakai 6327b8b954 add commented out updates to pick_llvm_opts 2011-04-23 13:24:55 -07:00
Alon Zakai 3db6531308 run freetype test in v8 2011-04-23 11:05:22 -07:00
Alon Zakai 2266026593 optional debug saving of generated js in test runner 2011-04-22 17:25:01 -07:00
Alon Zakai 2ecdc770ee run some QUANTUM=1 tests 2011-04-22 13:23:37 -07:00
Alon Zakai c37042e3f9 work towards QUANTUM_SIZE=1 (unused) 2011-04-22 07:53:31 -07:00
Alon Zakai 887ce3dde8 update bullet test to compile from source 2011-04-21 17:55:35 -07:00
Alon Zakai b3f4022e35 fix for new python warning from last commit 2011-04-21 13:23:17 -07:00
Alon Zakai e1de4d430a line-specific exceptions to SAFE_HEAP 2011-04-21 13:17:24 -07:00
Alon Zakai 3d4cc9e931 fix for printing very small floats 2011-04-21 10:45:57 -07:00
Alon Zakai 46e3b2a787 refactor assertions and parsing code 2011-04-18 17:43:43 -07:00
Alon Zakai f72cf76360 finalize parameters in getGetElementPtrIndexes 2011-04-17 18:39:00 -07:00
Alon Zakai b48fb4d831 proper support for packed structs 2011-04-16 16:35:08 -07:00
Alon Zakai 0f49ca13af fixes for llvm 2.9 2011-04-09 10:27:26 -07:00
Alon Zakai 8e8b207e05 add fasta to benchmarks, and document benchmarks 2011-04-02 10:35:22 -07:00
Alon Zakai e4f2ab8fe2 disable unneeded qt in poppler test 2011-03-29 19:39:50 -07:00
Alon Zakai b956a15fb4 poppler-related tweaks 2011-03-21 19:50:03 -07:00
Alon Zakai 24856d2069 optimize FUNCTION_POINTER and exporting 2011-03-21 19:48:26 -07:00
Alon Zakai ee9393ae04 support for llvm 2.9 2011-03-19 10:00:57 -07:00
Alon Zakai cad92b918b poppler test 2011-03-16 17:19:57 -07:00
Alon Zakai ae5aa84484 write to file directly in emscripten.py 2011-03-16 15:31:12 -07:00
Alon Zakai 5524f8bf30 stop using lots of memory to manage strings at the end of compilation 2011-03-15 20:13:57 -07:00
Alon Zakai 6c22a66671 misc compiler tweaks 2011-03-13 12:13:21 -07:00
Alon Zakai f534adece7 test runner improvements 2011-03-12 13:37:44 -08:00
Alon Zakai c06b543a3e re-enable advanced optimizations in closure compiler 2011-03-06 14:23:01 -08:00
Alon Zakai 749e2d5031 openjpeg demo 2011-03-05 18:41:15 -08:00
Alon Zakai 7d2f7540ed optimize openjpeg test 2011-03-05 13:30:17 -08:00
Alon Zakai 1de99037e8 correct signs in equality comparisons 2011-03-05 08:02:38 -08:00
Alon Zakai 1545aaf14f integer rounding fixes and CORRECT_ROUNDINGS option 2011-03-04 20:02:31 -08:00
Alon Zakai 4d51d0b276 autodebug improvements 2011-03-03 07:39:33 -08:00
Alon Zakai c3408af269 autodebugger tool 2011-03-02 19:12:13 -08:00
Alon Zakai 841d890872 faster openjpeg test 2011-03-02 19:12:12 -08:00
Alon Zakai 9feb459b52 comments 2011-02-27 20:36:30 -08:00
Alon Zakai 6b7f4ffa84 openjpeg test 2011-02-27 16:55:53 -08:00
Alon Zakai 40ab3e2847 debugging info and test runner fixes 2011-02-27 16:54:21 -08:00
Alon Zakai 26ab22af91 debugging info for zlib 2011-02-27 16:53:42 -08:00
Alon Zakai acbb1e6a0b generate strict mode javascript 2011-02-20 19:03:14 -08:00
Alon Zakai e82689262a fixes for benchmarks 2011-02-20 19:03:11 -08:00
Alon Zakai 8855d03cc5 use line-specific corrections in zlib test 2011-02-19 22:44:16 -08:00
Alon Zakai f81feaff96 line-specific CORRECT_OVERFLOWS and CORRECT_SIGNS 2011-02-19 15:45:17 -08:00
Alon Zakai 6ccab6bbb7 parse debugging metadata for original filenames 2011-02-18 22:40:29 -08:00
Alon Zakai a24e070ab3 tweak sign and overflow checks 2011-02-13 21:01:26 -08:00
Alon Zakai 4c884d8526 debugging fixes 2011-02-13 09:50:08 -08:00
Alon Zakai 93d0b2f1d4 missing freetype files 2011-02-12 21:20:34 -08:00
Alon Zakai bace573eb4 line number debugging info 2011-02-12 19:36:02 -08:00
Alon Zakai ffb61d77ca emscripten_run_script API 2011-02-12 19:35:45 -08:00
Alon Zakai 96b74d5914 drop RELOOP for clang in freetype test 2011-02-12 16:44:07 -08:00
Alon Zakai 8162e10341 add parens in mathops 2011-02-11 18:37:04 -08:00
Alon Zakai f509bad6cf use clang in emmaken and in freetype&zlib tests 2011-02-10 20:03:01 -08:00
Alon Zakai 4af7d2dbc4 prep for freetype demo 2011-02-08 11:21:58 -08:00
Alon Zakai 2946fab42a use GUARD_SIGNS only in tests that need it; benchmarks fast again 2011-02-06 13:57:13 -08:00
Alon Zakai fd1b1d81d1 strengthen SAFE_HEAP checks for copied values 2011-02-06 11:32:38 -08:00
Alon Zakai d2ba2dcfc1 zlib test 2011-02-05 21:01:26 -08:00
Alon Zakai 0805b2bec3 mathop fixes +test 2011-02-05 20:06:11 -08:00
Alon Zakai 94db193155 unsign in zext to prevent a sign error 2011-02-04 20:58:35 -08:00
Alon Zakai b6aeefa650 overflow checks in getelementptr 2011-02-01 22:56:02 -08:00
Alon Zakai 9c584561a8 misc cleanups and fixes 2011-01-31 07:43:01 -08:00
Alon Zakai 1c32385c50 disable the combination of llvm opts+reloop in freetype test, due to slowness 2011-01-30 11:46:33 -08:00
Alon Zakai 82baf498bf freetype test, plus some unix-specific file IO stuff 2011-01-29 21:52:21 -08:00
Alon Zakai eb4d457ade fix for structure alignment handling +test 2011-01-29 16:55:59 -08:00
Alon Zakai 5958a6a754 reSign parallel to unSign to fix rare signing issues; CHECK_SIGNS option 2011-01-27 21:31:20 -08:00
Alon Zakai df10a98f50 minor fixes and optimizations 2011-01-23 18:23:44 -08:00
Alon Zakai 326b36f840 clarify -show-annotations in settings.py 2011-01-20 19:49:45 -08:00
Alon Zakai 8422a8ee2c Optimize out some loop labels 2011-01-19 22:57:53 -08:00
Alon Zakai 835183152d lower closure optimizations to SIMPLE; no speed difference, and ADVANCED clash with our _STDIO object 2011-01-19 22:57:52 -08:00
Alon Zakai 23515d0605 handle odd llvm with branches in the middle of labels; all tests pass 2011-01-17 19:01:19 -08:00
Alon Zakai 1f3de5c76e libcxx test; support for linking in test runner; failure in clang_0_1.test_libcxx 2011-01-17 15:36:26 -08:00
Alon Zakai 13a520ed49 sscanf 2011-01-16 23:22:57 -08:00
Alon Zakai 9eb5dd2a45 support for writing to files in stdio 2011-01-16 15:29:06 -08:00
Alon Zakai 6a6e842688 initial emulation for stdio file reading, and other preparations for poppler 2011-01-16 13:52:25 -08:00
Alon Zakai 9d209878f9 refactor shared components of python tools, and add emmaken.py 2011-01-14 22:44:52 -08:00
Alon Zakai 1a2f55979d enable llvm opts on tests with precompiled .ll (python, bullet, lua); fix minor uncovered bugs; disable some dangerous llvm opts 2011-01-07 20:44:14 -08:00
Alon Zakai 044ce8ea7c optimize mod operator, and primes benchmark 2011-01-02 21:26:22 -08:00
Alon Zakai 78aa032b23 fix benchmarks 2011-01-01 22:59:55 -08:00
Alon Zakai 785e01b0d0 CORRECT_OVERFLOWS option; strengthening of various tests, and fixes a bug in python with typed arrays 2011-01-01 16:56:22 -08:00
Alon Zakai 0a2735ebc7 allow SAFE_HEAP with typed arrays; fix minor uncovered bugs; add SAFE_HEAP_LOG option 2010-12-31 22:49:25 -08:00
Alon Zakai 1b7500b59c nicer test runner output 2010-12-29 21:33:28 -08:00
Alon Zakai 77c9c660dd handle env of 0 as a third parameter for main() 2010-12-28 20:36:26 -08:00
Alon Zakai 7b0c30e6ad minimal support for 80-bit x87 floats 2010-12-28 20:36:23 -08:00
dglead 5b7fda278c handle memmove of 0 2010-12-28 19:52:41 -08:00
dglead 27c9f996cf prevent strings with C-style comments from breaking helpful comments in generated code 2010-12-28 19:52:20 -08:00
Alon Zakai d5672aba5e support for precision in integers in printf 2010-12-25 23:48:05 -08:00
Alon Zakai b2fd961d06 refactor and fix global variables, should they be needed for analysis 2010-12-25 16:03:43 -08:00
Alon Zakai 2d2751cd5b comments about expected failures 2010-12-23 14:09:16 -08:00
Alon Zakai 8a6ba878af comment about bullet compilation 2010-12-23 10:31:07 -08:00
Alon Zakai 60cdfa59ed initial skeleton for gl tests 2010-12-21 22:41:24 -08:00
Alon Zakai c244ee8757 don't use typed arrays in benchmarks for now - faster that way 2010-12-19 17:30:02 -08:00
Alon Zakai 64cfd1d3c8 CHECK_OVERFLOWS option 2010-12-19 13:43:26 -08:00
Alon Zakai 5bbf8a976b fixes for llvm optimized code in 2 tests 2010-12-18 17:29:24 -08:00
Alon Zakai 2890aa49d7 utilize llvm opt 2010-12-18 15:55:21 -08:00
Alon Zakai 58e445e6e1 fix format bug with floats 2010-12-17 20:57:13 -08:00
Alon Zakai 101458003f update python .ll 2010-12-12 15:46:39 -08:00
Alon Zakai 6d83c785fb support for library dependencies +misc python float fixes 2010-12-12 15:05:22 -08:00
Alon Zakai 240ff2ff8e improve printf formatting 2010-12-11 21:29:03 -08:00
Alon Zakai 1776ba30d4 support for printing %p 2010-12-11 18:39:03 -08:00
Alon Zakai 965d44dc69 python fixes and test 2010-12-11 13:22:09 -08:00
Alon Zakai b74419d19e proper stubs for external values 2010-12-10 22:59:38 -08:00
Alon Zakai 1c5355c76c proper support for bitfields 2010-12-09 20:09:11 -08:00
Alon Zakai 023a34753e fix a few bugs related to highly-nested structs 2010-12-07 21:54:29 -08:00
Alon Zakai cb23e4c23c fix for functions in mathops 2010-12-05 17:30:45 -08:00
Alon Zakai 7e332b116c fix for bitshifts 2010-12-04 20:26:28 -08:00
Alon Zakai 60d8f78f3f llvm.va_copy 2010-12-04 15:33:29 -08:00
Alon Zakai 6b7bf0aa4e qsort 2010-12-04 13:52:23 -08:00
Alon Zakai 1f70fe65a9 handle bitcasts etc. of call() idents +test 2010-12-02 22:28:38 -08:00
Alon Zakai e0f339fe65 fix bug in laying out of constant structures +tests 2010-11-27 20:58:19 -08:00
Alon Zakai 7d1dcece2b proper memory initialization with or without typed arrays; additional lua tests 2010-11-27 13:12:21 -08:00
Alon Zakai 74e61fc15a improve varargs support 2010-11-26 16:55:02 -08:00
Alon Zakai c7db28deba lua test fix, fix breakage 2010-11-25 16:32:52 -08:00
Alon Zakai 66d539dbe6 improve lua test + fixes 2010-11-25 15:39:08 -08:00
Alon Zakai b5eea6060f check stores in SAFE_HEAP 2010-11-25 13:06:31 -08:00
Alon Zakai 76c55fb93d optimize SAFE_HEAP for speed and enable additional tests 2010-11-21 23:03:08 -08:00
Alon Zakai 52d0431194 SAFE_HEAP now validates the load-store consistency assumption, plus minor related fixes 2010-11-21 17:43:22 -08:00
Alon Zakai fa5bac952a lua test 2010-11-20 20:00:11 -08:00
Alon Zakai d61473b758 misc minor fixes and additions 2010-11-20 18:38:44 -08:00
Alon Zakai 6c91ad62cd refactor do_ll_test 2010-11-20 15:43:17 -08:00
Alon Zakai aa7790adb7 minimal C++ exceptions support 2010-11-20 15:19:01 -08:00
Alon Zakai e2dc6a899a check frontend optimizations in tests (except for gcc_unmangler) 2010-11-18 22:52:36 -08:00
Alon Zakai daa624b9f9 tweaks for frontend-optimized input 2010-11-17 23:13:17 -08:00
puffnfresh 776fde26f5 handle identifiers with quotes and ignore |hidden| +test 2010-11-16 20:05:51 -08:00
Alon Zakai ee0166c83c handle global constants that are llvm function calls +test 2010-11-14 21:23:48 -08:00
Alon Zakai 268226c46c string constants inside struct constants +test 2010-11-13 18:50:15 -08:00
Alon Zakai 1b153b7466 rename sauer to cubescript
--HG--
rename : tests/sauer/README => tests/cubescript/README
rename : tests/sauer/command.cpp => tests/cubescript/command.cpp
rename : tests/sauer/command.h => tests/cubescript/command.h
rename : tests/sauer/tools.h => tests/cubescript/tools.h
2010-11-13 14:45:22 -08:00
Alon Zakai 7c94d4d98c __new__ instead of __alloc__ in integration 2010-11-06 14:59:41 -07:00
Alon Zakai f8b3b52c27 cleanup integration code 2010-11-06 12:55:25 -07:00
Alon Zakai 38cf88b360 working integration test 2010-11-06 11:48:23 -07:00
Alon Zakai 906a8745c2 framework for integration tests 2010-11-05 20:48:19 -07:00
alon@honor 9343f81a11 bustage fix 2010-10-28 20:51:55 -07:00
alon@honor 68ee66041b enable optimized bullet test 2010-10-26 19:13:01 -07:00
alon@honor fcb71c83e9 fix bug with type of |select| 2010-10-25 19:55:09 -07:00
alon@honor 1522f18aab bullet test 2010-10-24 19:12:49 -07:00
alon@honor 46b42f3c02 fixes for more complex statics test 2010-10-24 15:43:08 -07:00
alon@honor fa7440b389 add nonvirtual part to polymorph test; fails in clang 2010-10-24 11:38:08 -07:00
alon@honor fcddeb2e64 support for pure virtual functions 2010-10-23 20:37:49 -07:00
alon@honor e4b1cfc027 handle llvm functions in ret 2010-10-23 17:48:34 -07:00
alon@honor d8bda252d5 gettimeofday(), and more stuff in Runtime 2010-10-21 23:20:08 -07:00
alon@honor f57cfb9917 fixes in parseConst; move getFunctionIndex into Runtime; test for global function pointers 2010-10-21 21:41:43 -07:00
alon@honor beb16b9d95 expose ___SIZE of structs 2010-10-21 19:19:59 -07:00
alon@honor ce5008630e namespace generator tool 2010-10-21 17:13:12 -07:00
alon@honor 653032fba0 gcc_demanger tool 2010-10-21 12:33:08 -07:00
alon@honor 3ce44a956a optimize away unneeded FLATTENER[0]; enable gcc_unmangler test 2010-10-21 12:13:26 -07:00
alon@honor db0bb3be25 dynamic stack allocation support; demangler test closer to passing 2010-10-20 23:27:59 -07:00
alon@honor 5f4f3fe49a non-working gcc demangler test 2010-10-20 22:56:12 -07:00
alon@honor 0feb052bd9 prep for bullet test 2010-10-20 21:04:22 -07:00
alon@honor 890130e93b fix bug with size of small structures, and parsing them 2010-10-18 21:15:36 -07:00
alon@honor dbb6945add use quantum of 4 in benchmarks, to better simulate real-world conditions 2010-10-16 21:00:08 -07:00
alon@honor 2b9dcca362 optimize raytrace demo 2010-10-16 20:32:43 -07:00
alon@honor 6fa5f7160c remove unneeded BREAKs 2010-10-16 14:38:27 -07:00
alon@honor 9290e90456 optimize stack winding with local var; 5% speedup 2010-10-16 12:27:22 -07:00
alon@honor fca8d0a7e8 sanity checks for benchmarks 2010-10-14 23:07:23 -07:00
alon@honor 971976f42a use tracemonkey in settings.py 2010-10-13 23:02:20 -07:00
alon@honor 5efa5e4674 aggressively nativize variables; stop doing optimizations that are no longer needed; fix some uncovered bugs; 49% speedup 2010-10-13 22:24:06 -07:00
alon@honor d276be7499 use closure compiler in benchmarks; 13% speedup 2010-10-12 20:38:12 -07:00
alon@honor 425295d786 typed arrays support; function __index__ing ; 36% speedup 2010-10-10 22:52:54 -07:00
alon@honor 5a4c4614b7 clean up flattener code and remove unneeded flattener definitions; 3% speedup 2010-10-10 11:49:50 -07:00
alon@honor ab097f0b3a spidermonkey opts 2010-10-10 10:41:51 -07:00
alon@honor a75307b84d pass types to makeGetValue/makeSetValue 2010-10-09 23:25:31 -07:00
alon@honor 1f86652596 do not GUARD_MEMORY in benchmark; 7% speedup 2010-10-09 18:20:31 -07:00
alon@honor b4d7b78285 benchmarking setup 2010-10-09 16:54:23 -07:00
alon@honor 069b614367 allow test runner to not check timeouts when running code 2010-10-09 15:43:18 -07:00
alon@honor eec779fced fix memory alignment/padding of structures | TESTS FIXED 2010-10-09 13:55:35 -07:00
alon@honor b7a45a4236 make llvm 2.7/clang work again 2010-10-09 10:39:57 -07:00
alon@honor 8e37aa593d beginnings of fixes for clang 2.8 2010-10-08 19:31:51 -07:00
alon@honor efc63830c5 all llvm-gcc tests pass 2010-10-07 23:32:32 -07:00
alon@honor d0eb15c81a begin work to adapt to llvm 2.8 | TESTS BROKEN 2010-10-07 22:50:33 -07:00
alon@honor 4de0755572 separate running stage out in test runner 2010-10-07 20:03:47 -07:00
alon@honor 240d161bf8 separate build stage out in test runner 2010-10-07 20:00:52 -07:00
alon@honor 7acd07a63f clean up relooper 2010-10-03 15:05:26 -07:00
alon@honor df1e26bbe0 cleanup + test both optimized and non-optimized 2010-10-03 10:59:41 -07:00
alon@honor a3a01e7d78 add missing branch detection of assign&invoke. all tests pass with relooping 2010-10-02 23:51:22 -07:00
alon@honor 2f64c26930 add missing branch detection of default in switch. all reloop but sauer, dlmalloc/clang 2010-10-02 23:29:02 -07:00
alon@honor 981b5832f5 test both reloop and non-reloop 2010-10-02 20:39:24 -07:00
alon@honor 72e5d13656 rewrite of relooper, part I: just emulated and loops, no ifs. all reloop but sauer 2010-10-02 20:27:20 -07:00
alon@honor 6dcf85c6b0 dlmalloc test 2010-10-02 13:46:14 -07:00
alon@honor 51d1c32a77 memory implementation cleanup 2010-10-02 12:03:07 -07:00
alon@honor 9a60dd64cd test+fix for modifying fields of global structures 2010-10-01 20:58:15 -07:00
alon@honor d5ba1375e1 show test names 2010-09-30 23:09:59 -07:00
alon@honor cbea94c152 optional stricter support for unsigned values +test 2010-09-30 21:02:30 -07:00
alon@honor 76bb3eb098 call stack implementation 2010-09-28 19:58:22 -07:00
alon@honor 03c175f81d cleanup parseGetElementPtr and ignore 'volatile' 2010-09-27 18:01:52 -07:00
alon@honor d4221c3e1a add raytracing test 2010-09-25 21:25:47 -07:00
alon@honor 736dac5109 fix for arrays of arrays +test 2010-09-25 20:57:52 -07:00
alon@honor b94c061e12 optional memory alignment that matches c/c++; used in clang, not in llvm-gcc 2010-09-25 20:26:16 -07:00
alon@honor 597dde09b5 Infinity and NaN 2010-09-24 21:20:47 -07:00
alon@honor 05b2fafe90 floating point fixes +test 2010-09-24 20:47:55 -07:00
alon@honor 9352899596 IEEE floats fixes 2010-09-24 20:04:29 -07:00
alon@honor de2a556fcd proper print buffering, + cleanup 2010-09-23 20:21:03 -07:00
alon@honor 283667603b fix bug with automatic tests not running both compiler frontends 2010-09-22 19:31:37 -07:00
alon@honor dabe220dcb disable relooping pending rewrite 2010-09-22 19:08:56 -07:00
alon@honor 6ed3cfef2f test using both clang and llvm-gcc by default 2010-09-21 21:37:12 -07:00
alon@honor 4272063734 fix some relooper bugs, and EXECUTION_TIMEOUT setting for debugging such problems 2010-09-21 20:38:37 -07:00
alon@honor fea809cb09 refactor into files
--HG--
rename : src/parser.js => src/compiler.js
2010-09-20 18:59:15 -07:00
Alon Zakai ac2b1c6606 fixes for clang, including support for phi; all tests pass, but optimizer and relooper broken (on clang) 2010-09-20 09:02:11 -07:00
alon@honor 8b8c08a9ef additional sauer tests+fixes 2010-09-14 23:00:35 -07:00
alon@honor 14711e7521 additional sauer testing that can now pass 2010-09-14 20:17:18 -07:00
alon@honor 0dd0f40a7a proper flattening of nested structures +test 2010-09-14 20:10:32 -07:00
alon@honor 7c92cce36b settings.py tweak 2010-09-12 15:00:13 -07:00
alon@honor ac805ebf0a Catch a corner case with 0 in varargs 2010-09-11 14:15:46 -07:00
alon@honor c91d6e2001 enable sauer test 2010-09-11 11:15:08 -07:00
alon@honor e4f6c3cba2 better handling of NULL in printf, and varargs 2010-09-11 11:01:37 -07:00
alon@honor 5f3a9ffd0e fix some print() corners 2010-09-10 21:38:19 -07:00
alon@honor 285a5ef5d5 Proper parsing of llvm strings 2010-09-10 21:15:40 -07:00
alon@honor bcb46261d6 tweaks to sauer, and strtol 2010-09-10 20:48:38 -07:00
alon@honor 325fa82fa0 enable sauer test (with RELOOPING=0) 2010-09-09 23:36:52 -07:00
alon@honor e337bf1f8a call emscripten.py in test runner through public interface 2010-09-09 22:51:40 -07:00
alon@honor aa7724802f comments 2010-09-09 21:25:52 -07:00
alon@honor 5bc458f7a3 fix some regexps that v8 and sm do not agree on 2010-09-09 21:22:12 -07:00
alon@honor a523ad539c emscripten.py 2010-09-09 20:03:24 -07:00
alon@honor dd766e9a45 sauer hello world nearly ready for enabling in test runner 2010-09-08 23:10:14 -07:00
alon@honor 7a6e1527b6 sauer test fixes 2010-09-08 22:55:23 -07:00
alon@honor 1e33f5826a support for in-function statics 2010-09-08 20:49:49 -07:00
alon@honor 14c01624c3 simplify test 2010-09-08 19:56:06 -07:00
alon@honor 01e51b24e9 support for getelementptr inside loads, fixes a test 2010-09-08 19:55:07 -07:00
alon@honor 49042c3b99 ES_SIZEOF: safe and portable sizeof 2010-09-07 19:23:00 -07:00
alon@honor e5847048c3 fixes for null vs 0, and support for assert +test 2010-09-06 15:25:17 -07:00
alon@honor 4cc594f209 fix relooper bug with loops with just an inc block 2010-09-06 11:14:12 -07:00
alon@honor 33059350a3 sauer cleanup 2010-09-05 14:01:43 -07:00
alon@honor dd1b1df025 Sauer hello world runs, without optimization or relooping, and without testing internals 2010-09-05 10:11:22 -07:00
alon@honor cd668dc906 atexit +test 2010-09-04 21:39:06 -07:00
alon@honor c3d043f329 clean up settings and add code snippets file
--HG--
rename : tests/settings.cfg => tests/settings.py
2010-09-04 21:32:35 -07:00
alon@honor 1715e6c9b2 finish varargs work 2010-09-04 18:05:18 -07:00
alon@honor 4344835f29 initial work towards varargs 2010-09-04 16:46:11 -07:00
alon@honor 62dd7f4bb7 Support for global pointers +test 2010-09-03 23:18:37 -07:00
alon@honor 8181e23818 support for global consts 2010-09-03 23:04:23 -07:00
alon@honor a0a31c81d8 fixes for invoke (+fix of regression in test runner) 2010-09-03 20:03:18 -07:00
alon@honor ab371a5c46 ptrtoint support, +test that includes scanning generated code 2010-09-02 21:34:15 -07:00
alon@honor 1ba6a6f48f and/or support 2010-09-02 20:37:30 -07:00
alon@honor 26753c442d xor support +test 2010-09-02 20:27:29 -07:00
alon@honor aa9ac51abc support for bitshifts +test 2010-09-02 20:05:14 -07:00
alon@honor 50a1abf1ad imported patch optimize_enzymatic 2010-08-30 21:30:09 -07:00
alon@honor c203d5c8e0 fix for 'sret' & other GEP features 2010-08-29 17:36:10 -07:00
alon@honor ee99b2e41f Support for llvm 'switch' 2010-08-29 16:25:06 -07:00
alon@honor ce8bc85042 add non-working sauer test 2010-08-29 15:30:49 -07:00
alon@honor 2e650b627c parseNumerical on consts in structs ; fasta passes 2010-08-28 18:38:30 -07:00
alon@honor 73732309f3 fcmp fix & better testing 2010-08-28 18:24:52 -07:00
alon@honor 22b8a96321 fix 3 bugs: printf error, no IEEEUnhexing, and <{'s. 2 new tests 2010-08-28 13:38:43 -07:00
alon@honor 169c8da23c fix lastLoopLine assumed to always be identifiable 2010-08-27 21:16:06 -07:00
alon@honor a9256705ad the code 2010-08-25 21:01:10 -07:00