v8/test/mjsunit/wasm
ahaas 4aec7ba1aa [wasm] Implement parallel compilation.
With this CL it is possible to compile a wasm module with multiple
threads in parallel. Parallel compilation works as follows:

1)   The main thread allocates a compilation unit for each wasm function.
2)   The main thread spawns WasmCompilationTasks which run on the
     background threads.
3.a) The background threads and the main thread pick one compilation unit
     at a time and execute the parallel phase of the compilation unit.
     After finishing the execution of the parallel phase, the compilation
     unit is stored in a result queue.
3.b) If the result queue contains a compilation unit, the main thread
     dequeues it and finishes its compilation.
4)   After the execution of the parallel phase of all compilation units has
     started, the main thread waits for all WasmCompilationTasks to finish.
5)   The main thread finalizes the compilation of the module.

I'm going to add some additional tests before committing this CL.

R=titzer@chromium.org, bmeurer@chromium.org, mlippautz@chromium.org, mstarzinger@chromium.org

Committed: https://crrev.com/17215438659d8ff2d7d55f95226bf8a1477ccd79
Cr-Commit-Position: refs/heads/master@{#36178}

Review-Url: https://codereview.chromium.org/1961973002
Cr-Commit-Position: refs/heads/master@{#36207}
2016-05-12 11:58:48 +00:00
..
embenchen [wasm] Rename _WASMEXP_ object to Wasm. 2016-03-08 14:48:27 +00:00
adapter-frame.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
asm-wasm-copy.js Enable embenchen/copy for wasm. 2016-03-23 17:50:05 +00:00
asm-wasm-deopt.js Add a test of depot across an asm.js -> wasm module. 2016-03-24 17:28:26 +00:00
asm-wasm-f32.js [wasm] Enable more ASM->WASM tests. 2016-03-24 19:03:21 +00:00
asm-wasm-f64.js [wasm] Enable more ASM->WASM tests. 2016-03-24 19:03:21 +00:00
asm-wasm-heap.js [wasm] Add more extensive tests for asm->wasm translation. 2016-03-23 23:19:22 +00:00
asm-wasm-i32.js [wasm] Mask shift counts on architectures that don't implicitly mask. 2016-03-30 12:40:22 +00:00
asm-wasm-literals.js [wasm] Enable more ASM->WASM tests. 2016-03-24 19:03:21 +00:00
asm-wasm-stdlib.js Fix conversion to float32, typing issue, split apart asm-wasm tests. 2016-03-21 20:34:40 +00:00
asm-wasm-switch.js [wasm] Binary 11: WASM AST is now postorder. 2016-04-29 09:16:21 +00:00
asm-wasm-u32.js [wasm] Mask shift counts on architectures that don't implicitly mask. 2016-03-30 12:40:22 +00:00
asm-wasm.js [wasm] Binary 11: WASM AST is now postorder. 2016-04-29 09:16:21 +00:00
calls.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
divrem-trap.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
export-table.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
ffi-error.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
ffi.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
function-prototype.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
gc-frame.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
import-table.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
indirect-calls.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
instantiate-module-basic.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
instantiate-run-basic.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
module-memory.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
OWNERS Adding OWNERS files to test directories for wasm. 2015-12-14 14:22:15 +00:00
parallel_compilation.js [wasm] Implement parallel compilation. 2016-05-12 11:58:48 +00:00
params.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
stack.js [wasm] Patch trapping position into stack trace 2016-05-12 09:08:40 +00:00
stackwalk.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
start-function.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
test-wasm-module-builder.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
trap-location.js [wasm] Patch trapping position into stack trace 2016-05-12 09:08:40 +00:00
unreachable.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
verify-function-basic-errors.js [wasm] Rename _WASMEXP_ object to Wasm. 2016-03-08 14:48:27 +00:00
verify-function-simple.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
verify-module-basic-errors.js [wasm] Rename _WASMEXP_ object to Wasm. 2016-03-08 14:48:27 +00:00
wasm-constants.js [wasm] Patch trapping position into stack trace 2016-05-12 09:08:40 +00:00
wasm-module-builder.js [wasm] Binary 11: Bump module version to 0xB. 2016-04-29 09:40:24 +00:00
wasm-object-api.js [wasm] Binary 11: WASM AST is now postorder. 2016-04-29 09:16:21 +00:00