Home
last modified time | relevance | path

Searched full:mul (Results 1 – 25 of 86) sorted by relevance

1234

/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dmul.yaml16 - file-name: "mul"
27 - sig: mul v1:in:i32, v2:in:i32
34 mul v0, v1
42 description: Check mul with zero and various values.
66 - sig: mul v1:in:i32, v2:in:i32
73 mul v0, v1
81 description: Check mul with +1 and various values.
113 - sig: mul v1:in:i32, v2:in:i32
120 mul v0, v1
128 description: Check mul with -1 and various values.
[all …]
/arkcompiler/runtime_core/compiler/tests/
Dif_conversion_test.cpp57 INST(5, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
77 INST(5, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
98 INST(4, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
117 INST(4, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
151 INST(5, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
171 INST(5, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
192 INST(4, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
211 INST(4, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
247 INST(5, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
253 INST(8, Opcode::Mul).u64().Inputs(5, 2); in TEST_F()
[all …]
Dbalance_expressions_test.cpp48 INST(9, Opcode::Mul).u64().Inputs(0, 1); in TEST_F()
51 INST(11, Opcode::Mul).u64().Inputs(9, 2); in TEST_F()
54 INST(13, Opcode::Mul).u64().Inputs(11, 3); in TEST_F()
57 INST(15, Opcode::Mul).u64().Inputs(13, 4); in TEST_F()
60 INST(17, Opcode::Mul).u64().Inputs(15, 5); in TEST_F()
63 INST(19, Opcode::Mul).u64().Inputs(17, 6); in TEST_F()
66 INST(21, Opcode::Mul).u64().Inputs(19, 7); in TEST_F()
68 INST(22, Opcode::Mul).u64().Inputs(21, 20); in TEST_F()
107 INST(9, Opcode::Mul).u64().Inputs(0, 1); in TEST_F()
108 INST(11, Opcode::Mul).u64().Inputs(2, 3); in TEST_F()
[all …]
Dvn_test.cpp51 INST(8, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
55 INST(12, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
76 INST(8, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
80 INST(12, Opcode::Mul).f32().Inputs(4, 5); in TEST_F()
210 INST(11, Opcode::Mul).f64().Inputs(2, 3); in TEST_F()
238 INST(11, Opcode::Mul).f64().Inputs(2, 3); in TEST_F()
385 INST(15, Opcode::Mul).f64().Inputs(2, 3); in TEST_F()
396 INST(22, Opcode::Mul).f64().Inputs(2, 3); in TEST_F()
436 INST(15, Opcode::Mul).f64().Inputs(2, 3); in TEST_F()
447 INST(22, Opcode::Mul).f64().Inputs(2, 3); in TEST_F()
[all …]
Dsplit_resolver_test.cpp333 INST(4, Opcode::Mul).u64().Inputs(0, 0); in TEST_F()
366 INST(4, Opcode::Mul).u64().Inputs(0, 0); in TEST_F()
517 INST(3, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
525 auto mul = la->GetInstLifeIntervals(&INS(3)); in TEST_F() local
527 SplitAssignSlot(param0, mul->GetBegin(), 0); in TEST_F()
565 INST(5, Opcode::Mul).u64().Inputs(1, 1); in TEST_F()
580 auto mul = la->GetInstLifeIntervals(&INS(5)); in TEST_F() local
581 mul->SetReg(3); in TEST_F()
588 SplitAssignSlot(param0, mul->GetBegin(), 0); in TEST_F()
633 INST(5, Opcode::Mul).u64().Inputs(1, 1); in TEST_F()
[all …]
Dmove_constants_test.cpp507 INST(23, Opcode::Mul).u64().Inputs(14, 22); in TEST_F()
554 INST(23, Opcode::Mul).u64().Inputs(14, 22); in TEST_F()
594 INST(3, Opcode::Mul).u64().Inputs(0, 4); in TEST_F()
600 INST(6, Opcode::Mul).u64().Inputs(1, 4); in TEST_F()
618 INST(3, Opcode::Mul).u64().Inputs(0, 4); in TEST_F()
624 INST(6, Opcode::Mul).u64().Inputs(1, 4); in TEST_F()
651 INST(3, Opcode::Mul).u64().Inputs(0, 1); in TEST_F()
679 INST(3, Opcode::Mul).u64().Inputs(0, 1); in TEST_F()
Dlowering_test.cpp887 INST(3, Opcode::Mul).type(type).Inputs(0, 1); in TEST_F()
891 INST(5, Opcode::Mul).type(type).Inputs(1, 2); in TEST_F()
895 INST(7, Opcode::Mul).type(type).Inputs(0, 1); in TEST_F()
920 INST(5, Opcode::Mul).type(type).Inputs(0, 1); in TEST_F()
949 INST(3, Opcode::Mul).u16().Inputs(1, 2); in TEST_F()
982 INST(3, Opcode::Mul).type(type).Inputs(0, 1); in TEST_F()
986 INST(5, Opcode::Mul).type(type).Inputs(0, 1); in TEST_F()
992 INST(9, Opcode::Mul).type(type).Inputs(8, 1); in TEST_F()
997 INST(12, Opcode::Mul).type(type).Inputs(0, 11); in TEST_F()
1001 INST(14, Opcode::Mul).type(type).Inputs(0, 1); in TEST_F()
[all …]
Dloop_unroll_test.cpp91 INST(6, Opcode::Mul).u64().Inputs(4, 4); // a = a * a in CheckSimpleLoop()
109 EXPECT_EQ(GetOpcodeCount(Opcode::Mul), expected_factor); in CheckSimpleLoop()
121 // phi1 [INST(6, Mul), INST(6', Mul), INST(6'', Mul)] in CheckSimpleLoop()
126 EXPECT_TRUE(input.GetInst()->GetOpcode() == Opcode::Mul); in CheckSimpleLoop()
137 // Check cloned `Mul` instruction inputs in CheckSimpleLoop()
192 INST(14, Opcode::Mul).u64().Inputs(13, 5); // b = b * 10 in CheckLoopWithPhiAndSafePoint()
210 EXPECT_EQ(GetOpcodeCount(Opcode::Mul), expected_factor); in CheckLoopWithPhiAndSafePoint()
227 // phi [INST(14, Mul), INST(14', Mul)] in CheckLoopWithPhiAndSafePoint()
232 EXPECT_TRUE(input.GetInst()->GetOpcode() == Opcode::Mul); in CheckLoopWithPhiAndSafePoint()
235 // Check cloned `Mul` instruction inputs in CheckLoopWithPhiAndSafePoint()
[all …]
Dliveness_analyzer_test.cpp292 * 7. Mul (3,4) 16 [16-2?]
315 INST(7, Opcode::Mul).u64().Inputs(3, 4); in TEST_F()
333 auto mul = liveness_analyzer->GetInstLifeIntervals(&INS(7)); in TEST_F() local
345 …EXPECT_EQ(phi0->GetRanges()[0], LiveRange(b2_lifetime.GetBegin(), mul->GetRanges()[0].GetBegin())); in TEST_F()
349 EXPECT_EQ(mul->GetRanges()[0], LiveRange(b3_lifetime.GetBegin() + 2, b3_lifetime.GetEnd())); in TEST_F()
449 INST(5, Opcode::Mul).u32().Inputs(0, 1); // a * b in TEST_F()
478 auto mul = liveness_analyzer->GetInstLifeIntervals(&INS(5)); in TEST_F() local
481 EXPECT_EQ(mul->GetEnd(), inner_loop_back.GetEnd()); in TEST_F()
650 INST(2, Opcode::Mul).u64().Inputs(0, 0); in TEST_F()
651 INST(3, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
Dasm_printer_test.cpp340 ONE_TEST_BODY(PrinterAarch64Test, TestMul, mul, AARCH64)
356 ONE_TEST_BODY(PrinterAarch32Test, TestMul, mul, AARCH32)
372 ONE_TEST_BODY(PrinterAmd64Test, TestMul, mul, X86_64)
Dbranch_elimination_test.cpp123 INST(14, Opcode::Mul).u64().Inputs(0, 1); in BuildTestGraph()
124 INST(15, Opcode::Mul).u64().Inputs(14, 2); in BuildTestGraph()
190 INST(14, Opcode::Mul).u64().Inputs(0, 1); in BuildTestGraph2()
191 INST(15, Opcode::Mul).u64().Inputs(14, 2); in BuildTestGraph2()
529 INST(14, Opcode::Mul).u64().Inputs(1, 2); in TEST_F()
819 INST(14, Opcode::Mul).u64().Inputs(0, 1); in BuildContitionsCheckGraph()
820 INST(15, Opcode::Mul).u64().Inputs(14, 2); in BuildContitionsCheckGraph()
931 INST(14, Opcode::Mul).u64().Inputs(0, 1); in BuildContitionsCheckGraphElimTrueSucc()
932 INST(15, Opcode::Mul).u64().Inputs(14, 2); in BuildContitionsCheckGraphElimTrueSucc()
1178 INST(13, Opcode::Mul).u64().Inputs(0, 2); in TEST_F()
[all …]
/arkcompiler/runtime_core/compiler/docs/
Dvn_doc.md91 8.f32 Mul v4, v5 -> (v14)
95 12.f32 Mul v4, v5 -> (v14)
121 8.f32 Mul v4, v5 -> (v14, v14)
125 12.f32 Mul v4, v5
148 8.f32 Mul v4, v5 -> (v14, v14)
Dmove_constants_closer_to_usage_doc.md59 …5.i32 Mul v0(r27), v6(r0) -> r0 (v116) …
98 …5.i32 Mul v0(r1), v6(r0) -> r0 (v116) …
Dif_conversion_doc.md93 5.u64 Mul v0, v2 -> (v6p)
106 5.u64 Mul v0, v2 -> (v8)
/arkcompiler/runtime_core/docs/
DPBC2IR.md60 | mul2 | i32 Mul |
61 | mul2.64 | i64 Mul |
78 | fmul2 | f32 Mul |
79 | fmul2.64 | f64 Mul |
94 | muli | i64 Constant, i32 Mul |
105 | mul |i32 Mul |
/arkcompiler/runtime_core/tests/cts-assembly/
Dmath-12.pa14 # assert(6 * 7 == 42) operation --> mul
18 mul v0, v1
Dmath-54.pa16 mul a0, a1
24 mul a0, a1
Dmath-53.pa18 mul a0, a1
Dmath-55.pa16 mul a0, a1
/arkcompiler/ets_runtime/test/aottest/mul/
DBUILD.gn16 host_aot_test_action("mul") {
/arkcompiler/runtime_core/assembler/samples/
DFactorial.pa22 mul v8, a0
/arkcompiler/runtime_core/irtoc/scripts/
Dtests.irt30 offset := Mul(i, 8).u64
71 offset := Mul(i, 8).u64
147 res := Mul(res, n).u32
/arkcompiler/ets_runtime/ecmascript/compiler/
Doperations_stub_builder.h45 GateRef Mul(GateRef glue, GateRef left, GateRef right);
Dcommon_stubs.h26 V(Mul) \
/arkcompiler/runtime_core/tests/checked/
Dinline_external.pa106 mul v0, v0

1234