diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-08-16 11:32:46 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-08-19 09:25:23 +0200 |
commit | e31f0a7d25668d3c1531294d2ef44a9f3bde4ef4 (patch) | |
tree | 6c6bed9804be9df6162b2483f0a56f371f66464d /deps/v8/src/wasm/wasm-opcodes.h | |
parent | ec16fdae540adaf710b1a86c620170b2880088f0 (diff) | |
download | node-new-e31f0a7d25668d3c1531294d2ef44a9f3bde4ef4.tar.gz |
deps: update V8 to 7.7.299.4
PR-URL: https://github.com/nodejs/node/pull/28918
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'deps/v8/src/wasm/wasm-opcodes.h')
-rw-r--r-- | deps/v8/src/wasm/wasm-opcodes.h | 54 |
1 files changed, 47 insertions, 7 deletions
diff --git a/deps/v8/src/wasm/wasm-opcodes.h b/deps/v8/src/wasm/wasm-opcodes.h index 6f9cb70141..22bd47d54b 100644 --- a/deps/v8/src/wasm/wasm-opcodes.h +++ b/deps/v8/src/wasm/wasm-opcodes.h @@ -6,7 +6,7 @@ #define V8_WASM_WASM_OPCODES_H_ #include "src/common/globals.h" -#include "src/execution/message-template.h" +#include "src/common/message-template.h" #include "src/wasm/value-type.h" #include "src/wasm/wasm-constants.h" @@ -51,8 +51,8 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(TeeLocal, 0x22, _) \ V(GetGlobal, 0x23, _) \ V(SetGlobal, 0x24, _) \ - V(GetTable, 0x25, _) \ - V(SetTable, 0x26, _) \ + V(TableGet, 0x25, _) \ + V(TableSet, 0x26, _) \ V(I32Const, 0x41, _) \ V(I64Const, 0x42, _) \ V(F32Const, 0x43, _) \ @@ -272,7 +272,9 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(I8x16Splat, 0xfd04, s_i) \ V(I16x8Splat, 0xfd08, s_i) \ V(I32x4Splat, 0xfd0c, s_i) \ + V(I64x2Splat, 0xfd0f, s_l) \ V(F32x4Splat, 0xfd12, s_f) \ + V(F64x2Splat, 0xfd15, s_d) \ V(I8x16Eq, 0xfd18, s_ss) \ V(I8x16Ne, 0xfd19, s_ss) \ V(I8x16LtS, 0xfd1a, s_ss) \ @@ -303,12 +305,28 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(I32x4LeU, 0xfd33, s_ss) \ V(I32x4GeS, 0xfd34, s_ss) \ V(I32x4GeU, 0xfd35, s_ss) \ + V(I64x2Eq, 0xfd36, s_ss) \ + V(I64x2Ne, 0xfd37, s_ss) \ + V(I64x2LtS, 0xfd38, s_ss) \ + V(I64x2LtU, 0xfd39, s_ss) \ + V(I64x2GtS, 0xfd3a, s_ss) \ + V(I64x2GtU, 0xfd3b, s_ss) \ + V(I64x2LeS, 0xfd3c, s_ss) \ + V(I64x2LeU, 0xfd3d, s_ss) \ + V(I64x2GeS, 0xfd3e, s_ss) \ + V(I64x2GeU, 0xfd3f, s_ss) \ V(F32x4Eq, 0xfd40, s_ss) \ V(F32x4Ne, 0xfd41, s_ss) \ V(F32x4Lt, 0xfd42, s_ss) \ V(F32x4Gt, 0xfd43, s_ss) \ V(F32x4Le, 0xfd44, s_ss) \ V(F32x4Ge, 0xfd45, s_ss) \ + V(F64x2Eq, 0xfd46, s_ss) \ + V(F64x2Ne, 0xfd47, s_ss) \ + V(F64x2Lt, 0xfd48, s_ss) \ + V(F64x2Gt, 0xfd49, s_ss) \ + V(F64x2Le, 0xfd4a, s_ss) \ + V(F64x2Ge, 0xfd4b, s_ss) \ V(S128Not, 0xfd4c, s_s) \ V(S128And, 0xfd4d, s_ss) \ V(S128Or, 0xfd4e, s_ss) \ @@ -352,6 +370,12 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(I32x4MinU, 0xfd81, s_ss) \ V(I32x4MaxS, 0xfd82, s_ss) \ V(I32x4MaxU, 0xfd83, s_ss) \ + V(I64x2Neg, 0xfd84, s_s) \ + V(S1x2AnyTrue, 0xfd85, i_s) \ + V(S1x2AllTrue, 0xfd86, i_s) \ + V(I64x2Add, 0xfd8a, s_ss) \ + V(I64x2Sub, 0xfd8d, s_ss) \ + V(I64x2Mul, 0xfd8c, s_ss) \ V(F32x4Abs, 0xfd95, s_s) \ V(F32x4Neg, 0xfd96, s_s) \ V(F32x4RecipApprox, 0xfd98, s_s) \ @@ -361,6 +385,8 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(F32x4Mul, 0xfd9c, s_ss) \ V(F32x4Min, 0xfd9e, s_ss) \ V(F32x4Max, 0xfd9f, s_ss) \ + V(F64x2Abs, 0xfda0, s_s) \ + V(F64x2Neg, 0xfda1, s_s) \ V(I32x4SConvertF32x4, 0xfdab, s_s) \ V(I32x4UConvertF32x4, 0xfdac, s_s) \ V(F32x4SConvertI32x4, 0xfdaf, s_s) \ @@ -385,7 +411,9 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(I8x16ExtractLane, 0xfd05, _) \ V(I16x8ExtractLane, 0xfd09, _) \ V(I32x4ExtractLane, 0xfd0d, _) \ + V(I64x2ExtractLane, 0xfd10, _) \ V(F32x4ExtractLane, 0xfd13, _) \ + V(F64x2ExtractLane, 0xfd16, _) \ V(I8x16Shl, 0xfd54, _) \ V(I8x16ShrS, 0xfd55, _) \ V(I8x16ShrU, 0xfd56, _) \ @@ -394,13 +422,18 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(I16x8ShrU, 0xfd67, _) \ V(I32x4Shl, 0xfd76, _) \ V(I32x4ShrS, 0xfd77, _) \ - V(I32x4ShrU, 0xfd78, _) + V(I32x4ShrU, 0xfd78, _) \ + V(I64x2Shl, 0xfd87, _) \ + V(I64x2ShrS, 0xfd88, _) \ + V(I64x2ShrU, 0xfd89, _) #define FOREACH_SIMD_1_OPERAND_2_PARAM_OPCODE(V) \ V(I8x16ReplaceLane, 0xfd07, _) \ V(I16x8ReplaceLane, 0xfd0b, _) \ V(I32x4ReplaceLane, 0xfd0e, _) \ - V(F32x4ReplaceLane, 0xfd14, _) + V(I64x2ReplaceLane, 0xfd11, _) \ + V(F32x4ReplaceLane, 0xfd14, _) \ + V(F64x2ReplaceLane, 0xfd17, _) #define FOREACH_SIMD_1_OPERAND_OPCODE(V) \ FOREACH_SIMD_1_OPERAND_1_PARAM_OPCODE(V) \ @@ -424,7 +457,7 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(TableCopy, 0xfc0e, v_iii) \ V(TableGrow, 0xfc0f, i_ai) \ V(TableSize, 0xfc10, i_v) \ - /*TableFill is polymorph in the second parameter. It's anyref or anyfunc.*/ \ + /*TableFill is polymorph in the second parameter. It's anyref or funcref.*/ \ V(TableFill, 0xfc11, v_iii) #define FOREACH_ATOMIC_OPCODE(V) \ @@ -495,6 +528,10 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(I64AtomicCompareExchange16U, 0xfe4d, l_ill) \ V(I64AtomicCompareExchange32U, 0xfe4e, l_ill) +#define FOREACH_ATOMIC_0_OPERAND_OPCODE(V) \ + /* AtomicFence does not target a particular linear memory. */ \ + V(AtomicFence, 0xfe03, v_v) + // All opcodes. #define FOREACH_OPCODE(V) \ FOREACH_CONTROL_OPCODE(V) \ @@ -510,6 +547,7 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); FOREACH_SIMD_MASK_OPERAND_OPCODE(V) \ FOREACH_SIMD_MEM_OPCODE(V) \ FOREACH_ATOMIC_OPCODE(V) \ + FOREACH_ATOMIC_0_OPERAND_OPCODE(V) \ FOREACH_NUMERIC_OPCODE(V) // All signatures. @@ -553,13 +591,15 @@ bool IsJSCompatibleSignature(const FunctionSig* sig, bool hasBigIntFeature); V(i_iil, kWasmI32, kWasmI32, kWasmI32, kWasmI64) \ V(i_ill, kWasmI32, kWasmI32, kWasmI64, kWasmI64) \ V(i_r, kWasmI32, kWasmAnyRef) \ - V(i_ai, kWasmI32, kWasmAnyFunc, kWasmI32) + V(i_ai, kWasmI32, kWasmFuncRef, kWasmI32) #define FOREACH_SIMD_SIGNATURE(V) \ V(s_s, kWasmS128, kWasmS128) \ V(s_f, kWasmS128, kWasmF32) \ + V(s_d, kWasmS128, kWasmF64) \ V(s_ss, kWasmS128, kWasmS128, kWasmS128) \ V(s_i, kWasmS128, kWasmI32) \ + V(s_l, kWasmS128, kWasmI64) \ V(s_si, kWasmS128, kWasmS128, kWasmI32) \ V(i_s, kWasmI32, kWasmS128) \ V(v_is, kWasmStmt, kWasmI32, kWasmS128) \ |