v8/test/mjsunit/wasm
bradnelson cca5c3f630 Fix conversion to float32, typing issue, split apart asm-wasm tests.
Add missing conversions from other types to f32 in fround.
Restrict fround() to only float, double, signed, unsigned (no unions / intish).
Restrict Bitwise operations to intish, particularly |0, when not applied to a foreign function.

Adding more exhaustive tests of stdlib Math, move to a separate file.
Adding tests of interesting values for the stdlib asm.js functions.

BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203
TEST=test-asm-validator,asm-wasm
R=titzer@chromium.org,rossberg@chromium.org
LOG=N

Review URL: https://codereview.chromium.org/1804243003

Cr-Commit-Position: refs/heads/master@{#34967}
2016-03-21 20:34:40 +00:00
..
embenchen [wasm] Rename _WASMEXP_ object to Wasm. 2016-03-08 14:48:27 +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.js Fix conversion to float32, typing issue, split apart asm-wasm tests. 2016-03-21 20:34:40 +00:00
calls.js [wasm] Memory is exported on the module.exports object. 2016-03-09 13:32:53 +00:00
divrem-trap.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
export-table.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
ffi-error.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
ffi.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
function-prototype.js [wasm] Create a proper map for functions created from WASM. 2016-03-09 12:42:46 +00:00
gc-frame.js [wasm] GC should ignore unboxed stack parameters in WASM frames. 2016-03-10 15:14:56 +00:00
import-table.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
indirect-calls.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
instantiate-module-basic.js [wasm] Memory is exported on the module.exports object. 2016-03-09 13:32:53 +00:00
instantiate-run-basic.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
module-memory.js [wasm] Encode immediates to Load and Store as varint. 2016-03-09 18:54:43 +00:00
OWNERS Adding OWNERS files to test directories for wasm. 2015-12-14 14:22:15 +00:00
params.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
stack.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
stackwalk.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +00:00
start-function.js [wasm] Encode immediates to Load and Store as varint. 2016-03-09 18:54:43 +00:00
test-wasm-module-builder.js [wasm] Encode immediates to Load and Store as varint. 2016-03-09 18:54:43 +00:00
unreachable.js [wasm] Use the JavaScript WasmModuleBuilder utility in JS tests. 2016-03-07 19:34:29 +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] Rename _WASMEXP_ object to Wasm. 2016-03-08 14:48:27 +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: use strings for section names 2016-03-10 12:37:19 +00:00
wasm-module-builder.js wasm: use strings for section names 2016-03-10 12:37:19 +00:00
wasm-object-api.js [wasm] Rename _WASMEXP_ object to Wasm. 2016-03-08 14:48:27 +00:00