Home
last modified time | relevance | path

Searched refs:WASM_GET_LOCAL (Results 1 – 6 of 6) sorted by relevance

/external/v8/test/cctest/wasm/
Dtest-run-wasm.cc123 BUILD(r, WASM_GET_LOCAL(0)); in TEST()
131 BUILD(r, WASM_GET_LOCAL(0)); in TEST()
139 BUILD(r, WASM_GET_LOCAL(1)); in TEST()
155 BUILD(r, WASM_I32_ADD(WASM_I8(13), WASM_GET_LOCAL(0))); in TEST()
163 BUILD(r, WASM_I32_ADD(WASM_I8(13), WASM_GET_LOCAL(0))); in TEST()
171 BUILD(r, WASM_I32_ADD(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
214 BUILD(r, WASM_BINOP(opcode, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TestInt32Binop()
259 BUILD(r, WASM_UNOP(opcode, WASM_GET_LOCAL(0))); in TestInt32Unop()
360 BUILD(r, WASM_BINOP(opcode, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TestInt64Binop()
377 BUILD(r, WASM_BINOP(opcode, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TestInt64Cmp()
[all …]
Dtest-run-wasm-js.cc76 BUILD(t, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
88 BUILD(t, WASM_F32_DIV(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
100 BUILD(t, WASM_F64_ADD(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
112 BUILD(t, WASM_I32_POPCNT(WASM_GET_LOCAL(0))); in TEST()
132 BUILD(t, WASM_CALL_FUNCTION(js_index, WASM_GET_LOCAL(0))); in TEST()
Dtest-run-wasm-module.cc82 byte code1[] = {WASM_I32_ADD(WASM_GET_LOCAL(param1), WASM_GET_LOCAL(param2))}; in TEST()
136 WASM_I32_LTS(WASM_GET_LOCAL(localIndex), WASM_I32(kCheckSize)), in TEST()
138 WASM_LOAD_MEM(MachineType::Int32(), WASM_GET_LOCAL(localIndex)), in TEST()
162 WASM_IF_ELSE(WASM_I32_LTS(WASM_GET_LOCAL(localIndex), WASM_I8(5)), in TEST()
/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc874 VERIFY(WASM_IF(WASM_GET_LOCAL(0), WASM_NOP)); in TEST_F()
875 VERIFY(WASM_IF_ELSE(WASM_GET_LOCAL(0), WASM_NOP, WASM_NOP)); in TEST_F()
958 VERIFY(WASM_I32_ADD(WASM_GET_LOCAL(0), WASM_I8(12))); in TEST_F()
959 VERIFY(WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_I8(13))); in TEST_F()
960 VERIFY(WASM_I32_MUL(WASM_GET_LOCAL(0), WASM_I8(14))); in TEST_F()
961 VERIFY(WASM_I32_DIVS(WASM_GET_LOCAL(0), WASM_I8(15))); in TEST_F()
962 VERIFY(WASM_I32_DIVU(WASM_GET_LOCAL(0), WASM_I8(16))); in TEST_F()
963 VERIFY(WASM_I32_REMS(WASM_GET_LOCAL(0), WASM_I8(17))); in TEST_F()
964 VERIFY(WASM_I32_REMU(WASM_GET_LOCAL(0), WASM_I8(18))); in TEST_F()
965 VERIFY(WASM_I32_AND(WASM_GET_LOCAL(0), WASM_I8(19))); in TEST_F()
[all …]
Dwasm-macro-gen-unittest.cc105 6, WASM_TABLESWITCH_BODY(WASM_I8(33), WASM_I8(44), WASM_GET_LOCAL(0))); in TEST_F()
110 EXPECT_SIZE(2, WASM_GET_LOCAL(0)); in TEST_F()
111 EXPECT_SIZE(2, WASM_GET_LOCAL(1)); in TEST_F()
112 EXPECT_SIZE(2, WASM_GET_LOCAL(12)); in TEST_F()
303 EXPECT_SIZE(6, WASM_STORE_MEM(kMemTypes[i], WASM_ZERO, WASM_GET_LOCAL(0))); in TEST_F()
314 WASM_GET_LOCAL(0))); in TEST_F()
/external/v8/src/wasm/
Dwasm-macro-gen.h82 #define WASM_GET_LOCAL(index) kExprGetLocal, static_cast<byte>(index) macro