[wasm][test] Remove non-standard S128 from wasm-constants.js
This brings the wasm-constants.js file inline with that (forked copy) in the WebAssembly spec repo, which should make it easier to export tests from V8 to the spec in the future. R=clemensh@chromium.org Bug: Change-Id: I7db23efc2d671f65b614f9dbc97ae2f355f91b04 Reviewed-on: https://chromium-review.googlesource.com/586248 Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Commit-Queue: Ben Titzer <titzer@chromium.org> Cr-Commit-Position: refs/heads/master@{#46894}
This commit is contained in:
parent
c32b128102
commit
cbd8d67f3e
@ -7,6 +7,11 @@
|
||||
load("test/mjsunit/wasm/wasm-constants.js");
|
||||
load("test/mjsunit/wasm/wasm-module-builder.js");
|
||||
|
||||
// Non-standard opcodes.
|
||||
let kWasmS128 = 0x7b;
|
||||
let kSig_s_v = makeSig([], [kWasmS128]);
|
||||
let kExprS128LoadMem = 0xc0;
|
||||
|
||||
(function() {
|
||||
"use asm";
|
||||
var builder = new WasmModuleBuilder();
|
||||
|
@ -5,6 +5,11 @@
|
||||
load("test/mjsunit/wasm/wasm-constants.js");
|
||||
load("test/mjsunit/wasm/wasm-module-builder.js");
|
||||
|
||||
// Non-standard opcodes.
|
||||
let kWasmS128 = 0x7b;
|
||||
let kSig_s_v = makeSig([], [kWasmS128]);
|
||||
let kExprS128LoadMem = 0xc0;
|
||||
|
||||
(function() {
|
||||
"use asm";
|
||||
var builder = new WasmModuleBuilder();
|
||||
|
@ -87,7 +87,6 @@ let kWasmI32 = 0x7f;
|
||||
let kWasmI64 = 0x7e;
|
||||
let kWasmF32 = 0x7d;
|
||||
let kWasmF64 = 0x7c;
|
||||
let kWasmS128 = 0x7b;
|
||||
|
||||
let kExternalFunction = 0;
|
||||
let kExternalTable = 1;
|
||||
@ -118,7 +117,6 @@ let kSig_v_l = makeSig([kWasmI64], []);
|
||||
let kSig_v_d = makeSig([kWasmF64], []);
|
||||
let kSig_v_dd = makeSig([kWasmF64, kWasmF64], []);
|
||||
let kSig_v_ddi = makeSig([kWasmF64, kWasmF64, kWasmI32], []);
|
||||
let kSig_s_v = makeSig([], [kWasmS128]);
|
||||
|
||||
function makeSig(params, results) {
|
||||
return {params: params, results: results};
|
||||
@ -320,7 +318,6 @@ let kExprI32ReinterpretF32 = 0xbc;
|
||||
let kExprI64ReinterpretF64 = 0xbd;
|
||||
let kExprF32ReinterpretI32 = 0xbe;
|
||||
let kExprF64ReinterpretI64 = 0xbf;
|
||||
let kExprS128LoadMem = 0xc0;
|
||||
|
||||
let kTrapUnreachable = 0;
|
||||
let kTrapMemOutOfBounds = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user