Home
last modified time | relevance | path

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

/external/v8/test/cctest/wasm/
Dtest-run-wasm.cc32 BUILD(r, WASM_I8(kExpectedValue)); in TEST()
41 BUILD(r, WASM_I8(kExpectedValue)); in TEST()
50 BUILD(r, WASM_I8(-99), WASM_I8(kExpectedValue)); in TEST()
59 BUILD(r, WASM_I8(value)); in TEST()
147 BUILD(r, WASM_I32_ADD(WASM_I8(11), WASM_I8(44))); 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()
568 BUILD(r, WASM_I32_DIVS(WASM_GET_LOCAL(0), WASM_I8(denom))); in TEST()
874 WASM_I8(11), // -- in TEST()
875 WASM_I8(22))); // -- in TEST()
[all …]
Dtest-run-wasm-module.cc67 byte code[] = {WASM_I8(kReturnValue)}; in TEST()
89 byte code2[] = {WASM_CALL_FUNCTION(f1_index, WASM_I8(77), WASM_I8(22))}; in TEST()
105 WASM_LOAD_MEM(MachineType::Int32(), WASM_I8(kDataSegmentDest0))}; in TEST()
139 WASM_BRV(2, WASM_I8(-1)), WASM_INC_LOCAL_BY(localIndex, 4))), in TEST()
140 WASM_I8(11))}; in TEST()
162 WASM_IF_ELSE(WASM_I32_LTS(WASM_GET_LOCAL(localIndex), WASM_I8(5)), in TEST()
166 WASM_BRV(0, WASM_I8(55))))}; in TEST()
/external/v8/test/unittests/wasm/
Dast-decoder-unittest.cc873 VERIFY(WASM_STORE_MEM(MachineType::Int32(), WASM_I8(24), WASM_I8(40))); in TEST_F()
935 WASM_RETURN(WASM_ZERO, WASM_ONE, WASM_I8(44))); in TEST_F()
952 EXPECT_VERIFIES_INLINE(&env_iii_v, WASM_ZERO, WASM_ONE, WASM_I8(44)); 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()
[all …]
Dwasm-macro-gen-unittest.cc26 EXPECT_SIZE(2, WASM_I8(122)); in TEST_F()
27 EXPECT_SIZE(2, WASM_I8(254)); in TEST_F()
87 EXPECT_SIZE(8, WASM_WHILE(WASM_I8(0), WASM_NOP)); in TEST_F()
103 EXPECT_SIZE(4, WASM_TABLESWITCH_BODY(WASM_I8(88), WASM_I8(77))); in TEST_F()
105 6, WASM_TABLESWITCH_BODY(WASM_I8(33), WASM_I8(44), WASM_GET_LOCAL(0))); in TEST_F()
/external/v8/src/wasm/
Dwasm-macro-gen.h54 #define WASM_I8(val) kExprI8Const, static_cast<byte>(val) macro
Dasm-wasm-builder.cc555 byte code[] = {WASM_I8(~(size - 1))}; in VisitProperty()