Lines Matching refs:WASM_GET_LOCAL
123 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()
447 BUILD(r, WASM_I64_CLZ(WASM_GET_LOCAL(0))); in TEST()
493 BUILD(r, WASM_I64_CTZ(WASM_GET_LOCAL(0))); in TEST()
511 BUILD(r, WASM_I64_POPCNT(WASM_GET_LOCAL(0))); in TEST()
522 BUILD(r, WASM_I32_DIVS(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
533 BUILD(r, WASM_I32_REMS(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
544 BUILD(r, WASM_I32_DIVU(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
555 BUILD(r, WASM_I32_REMU(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
568 BUILD(r, WASM_I32_DIVS(WASM_GET_LOCAL(0), WASM_I8(denom))); in TEST()
583 BUILD(r, WASM_I32_DIVU(WASM_GET_LOCAL(0), WASM_I32(denom))); in TEST()
603 WASM_IF_ELSE(WASM_GET_LOCAL(0), in TEST()
605 WASM_ZERO, WASM_GET_LOCAL(0)), in TEST()
606 WASM_GET_LOCAL(1)), in TEST()
608 WASM_ZERO, WASM_GET_LOCAL(0)), in TEST()
609 WASM_GET_LOCAL(1)))); in TEST()
621 BUILD(r, WASM_I64_DIVS(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
632 BUILD(r, WASM_I64_REMS(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
643 BUILD(r, WASM_I64_DIVU(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
654 BUILD(r, WASM_I64_REMU(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
667 BUILD(r, WASM_I64_DIVS(WASM_GET_LOCAL(0), WASM_I64(denom))); in TEST()
682 BUILD(r, WASM_I64_DIVU(WASM_GET_LOCAL(0), WASM_I64(denom))); in TEST()
706 BUILD(r, WASM_BINOP(opcode, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TestFloat32Binop()
725 WASM_BINOP(opcode, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1)))); in TestFloat32BinopWithConvert()
741 BUILD(r, WASM_I32_SCONVERT_F32(WASM_UNOP(opcode, WASM_GET_LOCAL(0)))); in TestFloat32UnopWithConvert()
757 BUILD(r, WASM_BINOP(opcode, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TestFloat64Binop()
775 WASM_BINOP(opcode, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1)))); in TestFloat64BinopWithConvert()
791 BUILD(r, WASM_I32_SCONVERT_F64(WASM_UNOP(opcode, WASM_GET_LOCAL(0)))); in TestFloat64UnopWithConvert()
850 BUILD(r, WASM_F32_NEG(WASM_GET_LOCAL(0))); in TEST()
861 BUILD(r, WASM_F64_NEG(WASM_GET_LOCAL(0))); in TEST()
873 BUILD(r, WASM_IF_ELSE(WASM_GET_LOCAL(0), // -- in TEST()
912 BUILD(r, WASM_RETURN(WASM_GET_LOCAL(0))); in TEST()
922 BUILD(r, WASM_RETURN(WASM_GET_LOCAL(0))); in TEST()
932 BUILD(r, WASM_RETURN(WASM_GET_LOCAL(0))); in TEST()
949 BUILD(r, WASM_RETURN(WASM_GET_LOCAL(0))); in TEST()
966 BUILD(r, WASM_SELECT(WASM_GET_LOCAL(0), WASM_I8(11), WASM_I8(22))); in TEST()
978 WASM_BLOCK(2, WASM_SELECT(WASM_GET_LOCAL(0), in TEST()
980 WASM_GET_LOCAL(0))); in TEST()
988 BUILD(r, WASM_BLOCK(2, WASM_SELECT(WASM_GET_LOCAL(0), WASM_I8(11), in TEST()
990 WASM_GET_LOCAL(0))); in TEST()
998 2, WASM_BLOCK(1, WASM_BRV_IF(0, WASM_GET_LOCAL(0), in TEST()
1000 WASM_GET_LOCAL(0))); in TEST()
1009 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_RETURN(WASM_I8(93)))); in TEST()
1017 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_RETURN(WASM_I8(91))), in TEST()
1032 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), in TEST()
1049 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_RETURN(WASM_I8(91)), in TEST()
1061 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_RETURN(WASM_I8(81)), in TEST()
1081 WASM_GET_LOCAL(0), WASM_RETURN(WASM_I8(71)), in TEST()
1109 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_RETURN(WASM_I8(61)), in TEST()
1131 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_INC_LOCAL_BY(1, 1), in TEST()
1134 WASM_GET_LOCAL(1)}; in TEST()
1157 WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_INC_LOCAL_BY(1, 1), in TEST()
1161 WASM_GET_LOCAL(1)}; in TEST()
1205 WASM_F32_REINTERPRET_I32(WASM_GET_LOCAL(0))), in TEST()
1251 WASM_IF(WASM_GET_LOCAL(0), // -- in TEST()
1263 BUILD(r, WASM_BLOCK(2, WASM_BRV_IF(0, WASM_GET_LOCAL(0), WASM_I8(51)), in TEST()
1276 WASM_IF_ELSE(WASM_GET_LOCAL(0), // -- in TEST()
1279 WASM_GET_LOCAL(0))); in TEST()
1291 WASM_IF_ELSE(WASM_GET_LOCAL(0), // -- in TEST()
1305 2, WASM_IF(WASM_GET_LOCAL(0), WASM_SET_LOCAL(0, WASM_I8(61))), in TEST()
1306 WASM_GET_LOCAL(0))); in TEST()
1326 BUILD(r, WASM_IF_ELSE(WASM_GET_LOCAL(0), // -- in TEST()
1339 BUILD(r, WASM_IF_ELSE(WASM_GET_LOCAL(0), // -- in TEST()
1354 1, WASM_IF(WASM_GET_LOCAL(0), in TEST()
1356 0, WASM_I32_SUB(WASM_GET_LOCAL(0), in TEST()
1358 WASM_GET_LOCAL(0))); in TEST()
1369 2, WASM_LOOP(3, WASM_IF(WASM_NOT(WASM_GET_LOCAL(0)), WASM_BREAK(0)), in TEST()
1371 0, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_I8(1))), in TEST()
1373 WASM_GET_LOCAL(0))); in TEST()
1383 2, WASM_WHILE(WASM_GET_LOCAL(0), in TEST()
1384 WASM_SET_LOCAL(0, WASM_I32_SUB(WASM_GET_LOCAL(0), in TEST()
1386 WASM_GET_LOCAL(0))); in TEST()
1395 BUILD(r, WASM_BLOCK(2, WASM_LOOP(2, WASM_IF(WASM_GET_LOCAL(0), WASM_BREAK(0)), in TEST()
1397 WASM_GET_LOCAL(0))); in TEST()
1407 BUILD(r, WASM_BLOCK(2, WASM_LOOP(2, WASM_BR_IF(1, WASM_GET_LOCAL(0)), in TEST()
1409 WASM_GET_LOCAL(0))); in TEST()
1419 BUILD(r, WASM_BLOCK(1, WASM_LOOP(2, WASM_IF(WASM_GET_LOCAL(0), WASM_BREAK(1)), in TEST()
1421 WASM_GET_LOCAL(0)); in TEST()
1456 BUILD(r, WASM_LOAD_MEM(MachineType::Int32(), WASM_GET_LOCAL(0))); in TEST()
1478 BUILD(r, WASM_LOAD_MEM(MachineType::Int32(), WASM_GET_LOCAL(0))); in TEST()
1509 BUILD(r, WASM_LOAD_MEM_OFFSET(machineTypes[m], 8, WASM_GET_LOCAL(0)), in TEST()
1528 BUILD(r, WASM_LOAD_MEM_OFFSET(MachineType::Int32(), 4, WASM_GET_LOCAL(0))); in TEST()
1584 BUILD(r, WASM_STORE_MEM_OFFSET(MachineType::Int32(), 4, WASM_GET_LOCAL(0), in TEST()
1624 BUILD(r, WASM_STORE_MEM_OFFSET(machineTypes[m], 8, WASM_GET_LOCAL(0), in TEST()
1666 WASM_F64_REINTERPRET_I64(WASM_GET_LOCAL(0))), in TEST()
1667 WASM_GET_LOCAL(0))); in TEST()
1706 BUILD(r, WASM_LOAD_MEM(MachineType::Int32(), WASM_GET_LOCAL(0))); in TEST()
1724 WASM_GET_LOCAL(0), in TEST()
1728 WASM_GET_LOCAL(kSum), in TEST()
1730 WASM_GET_LOCAL(0)))), in TEST()
1732 0, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_I8(4))))), in TEST()
1733 WASM_GET_LOCAL(1))); in TEST()
1781 WASM_GET_LOCAL(0), in TEST()
1785 WASM_GET_LOCAL(kSum), in TEST()
1787 WASM_GET_LOCAL(0)))), in TEST()
1789 0, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_I8(4))))), in TEST()
1791 WASM_GET_LOCAL(kSum)), in TEST()
1792 WASM_GET_LOCAL(0))); in TEST()
1811 WASM_GET_LOCAL(0), in TEST()
1815 WASM_GET_LOCAL(kSum), in TEST()
1817 WASM_GET_LOCAL(0)))), in TEST()
1819 0, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_I8(8))))), in TEST()
1820 WASM_GET_LOCAL(1))); in TEST()
1853 WASM_GET_LOCAL(0), in GenerateAndRunFold()
1857 WASM_BINOP(binop, WASM_GET_LOCAL(kAccum), in GenerateAndRunFold()
1858 WASM_LOAD_MEM(memType, WASM_GET_LOCAL(0)))), in GenerateAndRunFold()
1860 0, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_I8(sizeof(T)))))), in GenerateAndRunFold()
1861 WASM_STORE_MEM(memType, WASM_ZERO, WASM_GET_LOCAL(kAccum)), in GenerateAndRunFold()
1862 WASM_GET_LOCAL(0))); in GenerateAndRunFold()
1898 WASM_BLOCK(2, WASM_BRV(0, WASM_I8(9)), WASM_RETURN(WASM_GET_LOCAL(0)))); in TEST()
1932 BUILD(r, WASM_UNREACHABLE, WASM_IF(WASM_GET_LOCAL(0), WASM_GET_LOCAL(0))); in TEST()
1939 WASM_IF_ELSE(WASM_GET_LOCAL(0), WASM_GET_LOCAL(0), WASM_UNREACHABLE)); in TEST()
1945 BUILD(r, WASM_BLOCK(2, WASM_BRV(0, WASM_GET_LOCAL(0)), in TEST()
1946 WASM_LOAD_MEM(MachineType::Int8(), WASM_GET_LOCAL(0)))); in TEST()
1954 BUILD(r, WASM_BLOCK(2, WASM_IF(WASM_GET_LOCAL(0), WASM_INFINITE_LOOP), in TEST()
1964 WASM_BLOCK(1, WASM_IF_ELSE(WASM_GET_LOCAL(0), WASM_BRV(0, WASM_I8(45)), in TEST()
1973 BUILD(r, WASM_BLOCK(2, WASM_BRV_IF(0, WASM_GET_LOCAL(0), WASM_I8(45)), in TEST()
2027 BUILD(r, WASM_LOAD_MEM(MachineType::Int8(), WASM_GET_LOCAL(0))); in TEST()
2043 BUILD(r, WASM_LOAD_MEM(MachineType::Uint8(), WASM_GET_LOCAL(0))); in TEST()
2059 BUILD(r, WASM_LOAD_MEM(MachineType::Int16(), WASM_GET_LOCAL(0))); in TEST()
2076 BUILD(r, WASM_LOAD_MEM(MachineType::Uint16(), WASM_GET_LOCAL(0))); in TEST()
2092 0, WASM_I32_ADD(WASM_LOAD_GLOBAL(0), WASM_GET_LOCAL(0)))); in TEST()
2115 g, WASM_I32_ADD(WASM_LOAD_GLOBAL(g), WASM_GET_LOCAL(0)))); in TEST()
2143 WASM_I64_SCONVERT_I32(WASM_GET_LOCAL(0)))), in TEST()
2165 WASM_F32_SCONVERT_I32(WASM_GET_LOCAL(0)))), in TEST()
2186 WASM_F64_SCONVERT_I32(WASM_GET_LOCAL(0)))), in TEST()
2267 BUILD(r, WASM_GET_LOCAL(0)); in TEST()
2272 BUILD(r, WASM_I64_ADD(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2280 BUILD(r, WASM_I64_ADD(WASM_GET_LOCAL(0), in TEST()
2281 WASM_I64_ADD(WASM_GET_LOCAL(1), WASM_GET_LOCAL(2)))); in TEST()
2293 BUILD(r, WASM_I64_ADD(WASM_GET_LOCAL(0), in TEST()
2294 WASM_I64_ADD(WASM_GET_LOCAL(1), in TEST()
2295 WASM_I64_ADD(WASM_GET_LOCAL(2), in TEST()
2296 WASM_GET_LOCAL(3))))); in TEST()
2339 BUILD(t, WASM_GET_LOCAL(17)); in TEST()
2365 BUILD(t, WASM_GET_LOCAL(17)); in TEST()
2418 BUILD(t, WASM_I32_ADD(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2424 BUILD(r, WASM_CALL_FUNCTION(index, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2442 BUILD(t, WASM_I64_SUB(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2448 BUILD(r, WASM_CALL_FUNCTION(index, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2472 BUILD(t, WASM_F32_SUB(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2478 BUILD(r, WASM_CALL_FUNCTION(index, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2565 BUILD(t, WASM_GET_LOCAL(which)); in Run_WasmMixedCall_N()
2619 3, WASM_IF(WASM_NOT(WASM_GET_LOCAL(0)), in TEST()
2620 WASM_BREAKV(0, WASM_GET_LOCAL(0))), in TEST()
2621 WASM_SET_LOCAL(0, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_I8(1))), in TEST()
2631 BUILD(r, WASM_BLOCK(2, WASM_IF(WASM_GET_LOCAL(0), WASM_BRV(0, WASM_I8(1))), in TEST()
2640 BUILD(r, WASM_BLOCK(2, WASM_IF(WASM_GET_LOCAL(0), WASM_BRV(0, WASM_I8(1))), in TEST()
2649 BUILD(r, WASM_BLOCK(2, WASM_BRV_IF(0, WASM_GET_LOCAL(0), WASM_I8(1)), in TEST()
2658 BUILD(r, WASM_BLOCK(2, WASM_BRV_IF(0, WASM_GET_LOCAL(0), WASM_I8(1)), in TEST()
2667 BUILD(r, WASM_BLOCK(6, WASM_IF(WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(1)), in TEST()
2669 WASM_IF(WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(2)), in TEST()
2671 WASM_IF(WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(3)), in TEST()
2673 WASM_IF(WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(4)), in TEST()
2675 WASM_IF(WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(5)), in TEST()
2691 WASM_BLOCK(6, WASM_BRV_IF(0, WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(1)), in TEST()
2693 WASM_BRV_IF(0, WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(2)), in TEST()
2695 WASM_BRV_IF(0, WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(3)), in TEST()
2697 WASM_BRV_IF(0, WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(4)), in TEST()
2699 WASM_BRV_IF(0, WASM_I32_EQ(WASM_GET_LOCAL(0), WASM_I8(5)), in TEST()
2716 WASM_GET_LOCAL(0), in TEST()
2717 WASM_IF_ELSE(WASM_GET_LOCAL(1), WASM_I8(11), WASM_I8(12)), in TEST()
2718 WASM_IF_ELSE(WASM_GET_LOCAL(1), WASM_I8(13), WASM_I8(14)))); in TEST()
2732 WASM_BLOCK(1, WASM_IF_ELSE(WASM_GET_LOCAL(0), WASM_BRV(0, WASM_I8(11)), in TEST()
2745 WASM_GET_LOCAL(0), in TEST()
2746 WASM_IF_ELSE(WASM_GET_LOCAL(1), WASM_BRV(0, WASM_I8(11)), in TEST()
2748 WASM_IF_ELSE(WASM_GET_LOCAL(1), WASM_BRV(0, WASM_I8(13)), in TEST()
2764 WASM_GET_LOCAL(0), in TEST()
2765 WASM_IF_ELSE(WASM_GET_LOCAL(1), WASM_BRV(1, WASM_I8(11)), in TEST()
2767 WASM_IF_ELSE(WASM_GET_LOCAL(1), WASM_BRV(1, WASM_I8(13)), in TEST()
2823 BUILD(t1, WASM_I32_ADD(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2827 BUILD(t2, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2850 BUILD(r, WASM_CALL_INDIRECT(1, WASM_GET_LOCAL(0), WASM_I8(66), WASM_I8(22))); in TEST()
2867 BUILD(t1, WASM_I32_ADD(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2871 BUILD(t2, WASM_I32_SUB(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
2895 WASM_I32_ADD(WASM_CALL_INDIRECT(1, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1), in TEST()
2896 WASM_GET_LOCAL(2)), in TEST()
2897 WASM_CALL_INDIRECT(1, WASM_GET_LOCAL(1), WASM_GET_LOCAL(2), in TEST()
2898 WASM_GET_LOCAL(0)))); in TEST()
2917 BUILD(r, WASM_F32_FLOOR(WASM_GET_LOCAL(0)));
2925 BUILD(r, WASM_F32_CEIL(WASM_GET_LOCAL(0)));
2933 BUILD(r, WASM_F32_TRUNC(WASM_GET_LOCAL(0)));
2941 BUILD(r, WASM_F32_NEARESTINT(WASM_GET_LOCAL(0)));
2949 BUILD(r, WASM_F64_FLOOR(WASM_GET_LOCAL(0)));
2957 BUILD(r, WASM_F64_CEIL(WASM_GET_LOCAL(0)));
2965 BUILD(r, WASM_F64_TRUNC(WASM_GET_LOCAL(0)));
2973 BUILD(r, WASM_F64_NEARESTINT(WASM_GET_LOCAL(0)));
2983 BUILD(r, WASM_F32_MIN(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
3007 BUILD(r, WASM_F64_MIN(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
3031 BUILD(r, WASM_F32_MAX(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
3055 BUILD(r, WASM_F64_MAX(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
3080 BUILD(r, WASM_F32_SCONVERT_I64(WASM_GET_LOCAL(0))); in TEST()
3089 BUILD(r, WASM_F32_UCONVERT_I64(WASM_GET_LOCAL(0))); in TEST()
3097 BUILD(r, WASM_F64_SCONVERT_I64(WASM_GET_LOCAL(0))); in TEST()
3106 BUILD(r, WASM_F64_UCONVERT_I64(WASM_GET_LOCAL(0))); in TEST()
3114 BUILD(r, WASM_I64_SCONVERT_F32(WASM_GET_LOCAL(0))); in TEST()
3129 BUILD(r, WASM_I64_SCONVERT_F64(WASM_GET_LOCAL(0))); in TEST()
3144 BUILD(r, WASM_I64_UCONVERT_F32(WASM_GET_LOCAL(0))); in TEST()
3158 BUILD(r, WASM_I64_UCONVERT_F64(WASM_GET_LOCAL(0))); in TEST()
3175 BUILD(r, WASM_I32_SCONVERT_F32(WASM_GET_LOCAL(0)));
3190 BUILD(r, WASM_I32_SCONVERT_F64(WASM_GET_LOCAL(0)));
3205 BUILD(r, WASM_I32_UCONVERT_F32(WASM_GET_LOCAL(0)));
3219 BUILD(r, WASM_I32_UCONVERT_F64(WASM_GET_LOCAL(0)));
3234 BUILD(r, WASM_F64_COPYSIGN(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()
3247 BUILD(r, WASM_F32_COPYSIGN(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); in TEST()