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

12772 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai b517dcc5df print statistics of random test sampling during completion 2015-01-16 15:48:49 -08:00
Alon Zakai 8720a26cd3 handle duplicate random choices in random test chooser 2015-01-16 14:51:22 -08:00
Alon Zakai 464ab8cffb Merge pull request #3132 from juj/micro_opt_log_garbage
Micro-optimize shell files to avoid redundant garbage in stdout and stderr prints.
2015-01-16 12:00:59 -08:00
Alon Zakai ed53534081 Merge pull request #2363 from juj/utf8
Utf8
2015-01-16 11:58:01 -08:00
Alon Zakai 0aa15bc11b document test suite randomN option 2015-01-16 11:50:20 -08:00
Alon Zakai 926738ffe0 1.29.3 2015-01-16 11:39:08 -08:00
Alon Zakai 5d66b59df4 handle dangerous sub-ifs aside from the final child, when deciding which if braces can be removed 2015-01-16 11:31:59 -08:00
juj 9e3d84710a Merge pull request #3135 from pepijnve/gl_autoextension
Correct GL enableExtensionsByDefault check
2015-01-16 16:22:41 +02:00
Pepijn Van Eeckhoudt b828122591 Correct GL enableExtensionsByDefault check 2015-01-16 13:53:22 +01:00
Jukka Jylänki d9a3e0f33a Micro-optimize shell files to avoid redundant garbage in stdout and stderr prints. 2015-01-16 10:50:15 +02:00
Alon Zakai 8e58bcdaad add an option to the test runner to execute N random tests 2015-01-15 18:39:06 -08:00
Alon Zakai 1dc1bfdb15 1.29.2 2015-01-15 17:35:33 -08:00
Alon Zakai b54c201176 update cashew to handle braces in nested ifs properly, and add testcase 2015-01-15 17:30:56 -08:00
Alon Zakai 1554ced912 add option to defer expanding response files, and use that in EMTERPRETIFY_BLACKLIST, which we only need in the emterpreter 2015-01-15 15:06:43 -08:00
Alon Zakai e92276dbe4 ignore failed response files in compiler.js; this makes it easy to tolerate response files that are not expanded out immediately and are deferred for later expansion 2015-01-15 15:06:14 -08:00
Alon Zakai c3f8d3a7e6 add debugging option to use a port from a local dir 2015-01-15 14:29:04 -08:00
Alon Zakai 696e688373 add testing for emterpreter blacklisting using a file; #3129 2015-01-15 13:42:41 -08:00
Alon Zakai 4c8a8524b2 emterpreter blacklisting test improvements 2015-01-15 13:37:32 -08:00
Alon Zakai fa6c894c62 emit temporary stand-in emterpret() method, so that validation works in temp js files during compilation 2015-01-15 11:45:25 -08:00
Jukka Jylänki 45a886f64a Fix bad change in FS writeFile from previous commit. 2015-01-15 15:59:26 +02:00
Jukka Jylänki 30d1c73974 Add links to UTF references. 2015-01-15 15:30:57 +02:00
Jukka Jylänki 04749631f0 Change the test string in cases/legalizer_b_ta2.ll to do a proper unicode character sequence and not a malformed one which is technically undefined by Unicode. 2015-01-15 15:23:04 +02:00
Jukka Jylänki 7d58164e9a Add new functions lengthBytesUTF8(), lengthBytesUTF16() and lengthBytesUTF32() to avoid having to overallocate possibly by large margin the output buffers to intArrayFromString() and FS writeFile(). 2015-01-15 15:06:22 +02:00
Jukka Jylänki 47850f6ae0 Fix intArrayFromString() from previous commit. 2015-01-15 14:49:30 +02:00
Jukka Jylänki 38443e45f4 Update preamble functions stringToUTF16() and stringToUTF32() to make them safe by adding a third parameter that restricts how many bytes can be written at most to the output. This applies a backwards incompatible breaking change(!) since using these functions should now require that users pass the proper input length. However, for to retain some form of compatibility, enforce the length requirement only when building with ASSERTIONS enabled. 2015-01-15 13:00:40 +02:00
Jukka Jylänki 5583ca3ec0 Add test for stringToUTF8 return value. 2015-01-15 12:41:22 +02:00
Jukka Jylänki d5346965fb Update UTF8 test. 2015-01-15 12:20:03 +02:00
Jukka Jylänki fd2ad04fbe Add functions UTF8ArrayToString and stringToUTF8Array to allow marshalling strings to/from UTF8 form to other JS arrays as well in addition to the Emscripten HEAP. Remove UTF8Processor from the codebase and replace all uses with the new UTF8 string functions. 2015-01-15 12:09:50 +02:00
Jukka Jylänki 328baa1585 Merge stringToAscii and writeAsciiToMemory. Space after for. 2015-01-15 10:45:21 +02:00
Jukka Jylänki ccfd405c0e Optimize Pointer_stringify to use UTF8ToString and AsciiToString 2015-01-15 10:45:20 +02:00
Jukka Jylänki 78dc7a4fa8 Add new functions AsciiToString, stringToAscii, UTF8ToString and stringToUTF8 to complete the set of string marshalling functions. 2015-01-15 10:45:19 +02:00
Alon Zakai 2151e09e74 add test for sdl2 canvas writing efficiency; #2404 issuecomment-70021027 2015-01-14 17:38:42 -08:00
Alon Zakai a3503dc5eb make test_emterpreter_async_2 use normal -O3 2015-01-14 16:46:54 -08:00
Alon Zakai 8bd680bed3 do not emit asyncState stuff in emterpreter unless EMTERPRETIFY_ASYNC 2015-01-14 16:46:14 -08:00
Alon Zakai 9837567911 set defaults in emterpreter to be non-async and no-assertions 2015-01-14 16:38:48 -08:00
Alon Zakai b04f495144 sdl2 version 3 2015-01-14 15:31:24 -08:00
Dan Gohman 1529e2ee04 Re-introduce Float32x4Array and Int32x4Array
For consistency with upstream.
2015-01-14 15:05:07 -08:00
Dan Gohman 2f0c9b8a77 Drop the compatibility check for "shuffleMix". 2015-01-14 15:05:07 -08:00
Dan Gohman 93487e6f2c Add SIMD.int16x8.lessThanOrEqual. 2015-01-14 15:05:07 -08:00
Dan Gohman a4ce1f3cb4 Remove extensions which are not yet upstream.
These functions are nice to have, but they're not yet in the upstream
ecmascript_simd.js: unsigned operations, vector-vector shifts, and
saturating arithmetic.
2015-01-14 15:05:07 -08:00
Dan Gohman d414825f53 Move the signmask and flagX and friends polyfills to accompany the associated constructors
This is another patch in a series re-syncing Emscripten's copy of the
ecmascript_simd.js polyfill with the upstream one.
2015-01-14 15:05:07 -08:00
Alon Zakai a7d67a3e77 Merge branch 'async-emterp' into incoming 2015-01-14 13:44:05 -08:00
Alon Zakai ae821bda29 put emterpreter async support behind EMTERPRETIFY_ASYNC flag 2015-01-14 13:43:26 -08:00
Alon Zakai 300b0f3c76 support SDL_Delay in emterpreter, calling emscripten_sleep 2015-01-14 13:43:26 -08:00
Alon Zakai d45b7b5522 do not trample locals with argument values when reloading async stacks, and enable testcase 2015-01-14 13:43:25 -08:00
Alon Zakai 9bd6be85ca wip testcase for deep stacks and emterpreter async 2015-01-14 13:43:25 -08:00
Alon Zakai ddcb784680 add async emterpreter browser test 2015-01-14 13:43:25 -08:00
Alon Zakai ebaa643827 handle mem files for html in emterpreter 2015-01-14 13:43:25 -08:00
Alon Zakai 34efa6f4f6 update test_asyncify for emterpreter 2015-01-14 13:43:25 -08:00
Alon Zakai 49d1d23245 support saving and loading stack frames in emterpreter 2015-01-14 13:43:21 -08:00