v8/test/mjsunit/wasm
bradnelson 942ed11488 Properly handle unsigned literals, fix typing issue with unary +.
Properly convert unsigned literals.
Forbid using unary + on a kAsmInt.
Forbid multiplies other than * 1.0 as being equivalent to unary +.

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

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

Cr-Commit-Position: refs/heads/master@{#35046}
2016-03-23 23:21:21 +00:00
..
embenchen [wasm] Rename _WASMEXP_ object to Wasm. 2016-03-08 14:48:27 +00:00
asm-wasm-copy.js Enable embenchen/copy for wasm. 2016-03-23 17:50:05 +00:00
asm-wasm-f32.js [wasm] Add more extensive tests for asm->wasm translation. 2016-03-23 23:19:22 +00:00
asm-wasm-f64.js [wasm] Add more extensive tests for asm->wasm translation. 2016-03-23 23:19:22 +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] Add more extensive tests for asm->wasm translation. 2016-03-23 23:19:22 +00:00
asm-wasm-literals.js [wasm] Add more extensive tests for asm->wasm translation. 2016-03-23 23:19:22 +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-u32.js [wasm] Add more extensive tests for asm->wasm translation. 2016-03-23 23:19:22 +00:00
asm-wasm.js Properly handle unsigned literals, fix typing issue with unary +. 2016-03-23 23:21:21 +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