/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/ |
D | optimized_fast_call.cpp | 128 __ Cmp(Immediate(3), actualNumArgsReg); // 3: func new this in OptimizedFastCallAndPushUndefined() local 139 __ Cmp(Immediate(4), actualNumArgsReg); // 4: func new this arg0 in OptimizedFastCallAndPushUndefined() local 151 __ Cmp(Immediate(5), actualNumArgsReg); // 5: 5 args in OptimizedFastCallAndPushUndefined() local 162 __ Cmp(Immediate(6), actualNumArgsReg); // 6: 6 args in OptimizedFastCallAndPushUndefined() local 190 __ Cmp(Immediate(3), expectedNumArgsReg); // 3: expectedNumArgsReg <= 3 jump in OptimizedFastCallAndPushUndefined() local 199 __ Cmp(0, expectedNumArgsReg); in OptimizedFastCallAndPushUndefined() local 233 __ Cmp(0, actualNumArgs); in JSFastCallWithArgV() local 239 __ Cmp(0, actualNumArgs); in JSFastCallWithArgV() local 245 __ Cmp(0, actualNumArgs); in JSFastCallWithArgV() local 251 __ Cmp(0, actualNumArgs); in JSFastCallWithArgV() local [all …]
|
D | optimized_call.cpp | 70 __ Cmp(1, r12); in JSFunctionEntry() local 523 __ Cmp(0x0, rdx); in JSCallCheck() local 525 __ Cmp(0x0, jsFuncReg); // IsHole in JSCallCheck() local 529 __ Cmp(0x0, rdx); in JSCallCheck() local 600 __ Cmp(0, rax); in JSBoundFunctionCallInternal() local 619 __ Cmp(0, rax); in JSBoundFunctionCallInternal() local 987 __ Cmp(Immediate(0), actualNumArgs); in GenJSCallWithArgV() local
|
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
D | optimized_fast_call.cpp | 137 __ Cmp(actualNumArgsReg, Immediate(3)); // 3: 3 args in OptimizedFastCallAndPushUndefined() local 149 __ Cmp(actualNumArgsReg, Immediate(4)); // 4: 4 args in OptimizedFastCallAndPushUndefined() local 161 __ Cmp(actualNumArgsReg, Immediate(5)); // 5: 5 args in OptimizedFastCallAndPushUndefined() local 172 __ Cmp(actualNumArgsReg, Immediate(6)); // 6: 6 args in OptimizedFastCallAndPushUndefined() local 184 __ Cmp(actualNumArgsReg, Immediate(7)); // 7: 7 args in OptimizedFastCallAndPushUndefined() local 195 __ Cmp(actualNumArgsReg, Immediate(8)); // 8: 8 args in OptimizedFastCallAndPushUndefined() local 217 __ Cmp(expectedNumArgs, Immediate(8)); // 8 : register save 8 arg in OptimizedFastCallAndPushUndefined() local 267 __ Cmp(argC, Immediate(0)); in JSFastCallWithArgV() local 274 __ Cmp(argC, Immediate(0)); in JSFastCallWithArgV() local 281 __ Cmp(argC, Immediate(0)); in JSFastCallWithArgV() local [all …]
|
D | common_call.cpp | 103 __ Cmp(argc.W(), Immediate(0)); in PushArgsWithArgv() local 121 __ Cmp(argc.W(), Immediate(0)); in PushUndefinedWithArgc() local 141 __ Cmp(op, Operand(numArgs, LSL, 3)); // 3: each args occupies 8 bytes in StackOverflowCheck() local
|
D | optimized_call.cpp | 157 __ Cmp(Register(X6), Immediate(1)); in JSFunctionEntry() local 231 __ Cmp(expectedNumArgs, actualNumArgs); in OptimizedCallAndPushUndefined() local 430 __ Cmp(actualArgC, Immediate(kungfu::ArgumentAccessor::GetFixArgsNum() + 3)); in JSCallInternal() local 447 … __ Cmp(Register(X5).W(), Immediate(kungfu::BuiltinsStubCSigns::BUILTINS_CONSTRUCTOR_STUB_FIRST)); in JSCallInternal() local 463 __ Cmp(Register(X5), Immediate(3)); // 3: callarg3 in JSCallInternal() local 494 __ Cmp(jstype2, Immediate(static_cast<int64_t>(JSType::JS_BOUND_FUNCTION))); in JSCallInternal() local 496 __ Cmp(jstype2, Immediate(static_cast<int64_t>(JSType::JS_PROXY))); in JSCallInternal() local 539 __ Cmp(jsfunc, taggedValue); in JSCallCheck() local 557 __ Cmp(jstype, Immediate(static_cast<int>(JSType::JS_FUNCTION_LAST) - in JSCallCheck() local 614 __ Cmp(actualArgC.W(), Immediate(0)); in JSBoundFunctionCallInternal() local [all …]
|
D | asm_interpreter_call.cpp | 88 __ Cmp(functionTypeRegister, tempRegister.W()); in AsmInterpEntryDispatch() local 91 __ Cmp(functionTypeRegister, tempRegister.W()); in AsmInterpEntryDispatch() local 153 __ Cmp(declaredNumArgsRegister, Immediate(argc)); in JSCallCommonEntry() local 155 __ Cmp(declaredNumArgsRegister, argcRegister); in JSCallCommonEntry() local 290 __ Cmp(declaredNumArgsRegister, Immediate(0)); in JSCallCommonSlowPath() local 303 __ Cmp(declaredNumArgsRegister, Immediate(1)); in JSCallCommonSlowPath() local 670 __ Cmp(jumpSizeRegister, Immediate(0)); in ResumeRspAndDispatch() local 688 __ Cmp(ret, Immediate(JSTaggedValue::VALUE_UNDEFINED)); in ResumeRspAndDispatch() local 706 __ Cmp(temp, Immediate(0)); in ResumeRspAndDispatch() local 712 __ Cmp(temp.W(), Immediate(static_cast<int64_t>(JSType::ECMA_OBJECT_LAST))); in ResumeRspAndDispatch() local [all …]
|
/arkcompiler/runtime_core/docs/ |
D | PBC2IR.md | 26 | cmp.64 | i32 Cmp | 27 | ucmp | i32 Cmp | 28 | ucmp.64 | i32 Cmp | 29 | fcmpl | i32 Cmp | 30 | fcmpl.64 | i32 Cmp | 31 | fcmpg | i32 Cmp | 32 | fcmpg.64 | i32 Cmp |
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/ |
D | assembler_aarch64_test.cpp | 240 __ Cmp(Register(X1), Register(X2)); in HWTEST_F_L0() local 241 __ Cmp(Register(X1), Immediate(8)); in HWTEST_F_L0() local 260 __ Cmp(Register(X1), Register(X2)); in HWTEST_F_L0() local 262 __ Cmp(Register(X1), Immediate(8)); in HWTEST_F_L0() local 296 __ Cmp(count, Immediate(0)); in HWTEST_F_L0() local
|
D | assembler_x64_test.cpp | 294 __ Cmp(0x0, rdx); in HWTEST_F_L0() local
|
/arkcompiler/runtime_core/compiler/tests/ |
D | vn_test.cpp | 109 INST(8, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT64).Fcmpg(true).Inputs(2, 3); in TEST_F() 110 INST(9, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT32).Fcmpg(false).Inputs(4, 5); in TEST_F() 124 INST(16, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT64).Fcmpg(true).Inputs(2, 3); in TEST_F() 125 INST(17, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT32).Fcmpg(false).Inputs(4, 5); in TEST_F() 154 INST(8, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT64).Fcmpg(true).Inputs(2, 3); in TEST_F() 155 INST(9, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT32).Fcmpg(false).Inputs(4, 5); in TEST_F() 169 INST(16, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT64).Fcmpg(true).Inputs(2, 3); in TEST_F() 170 INST(17, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT32).Fcmpg(false).Inputs(4, 5); in TEST_F() 274 INST(8, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT64).Fcmpg(false).Inputs(2, 3); in TEST_F() 275 INST(9, Opcode::Cmp).s32().SrcType(DataType::Type::FLOAT32).Fcmpg(true).Inputs(4, 5); in TEST_F() [all …]
|
D | graph_comparator.h | 127 CHECK(Cmp, GetOperandsType) in Compare() 239 … if (inst1->GetOpcode() == Opcode::Cmp && IsFloatType(inst1->GetInput(0).GetInst()->GetType())) { in Compare()
|
D | inst_test.cpp | 454 INST(4, Opcode::Cmp).s32().Inputs(0, 1); in TEST_F() 455 INST(5, Opcode::Cmp).s32().Inputs(2, 3); in TEST_F()
|
D | inst_generator.h | 172 {Opcode::Cmp, {DataType::INT32}},
|
D | ir_builder_test.cpp | 152 INST(2, Opcode::Cmp).s32().Inputs(0, 1); in CheckCmp() 184 INST(2, Opcode::Cmp).s32().SrcType(data_type).Fcmpg(fcmpg).Inputs(0, 1); in CheckFloatCmp()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
D | bitops_bitwise_and_test.cpp | 103 INST(13, Opcode::Cmp).s32().Inputs(4, 22); in TEST_F()
|
D | common.h | 366 CHECK(Cmp, GetOperandsType) in Compare() 401 … if (inst1->GetOpcode() == Opcode::Cmp && IsFloatType(inst1->GetInput(0).GetInst()->GetType())) { in Compare() 537 INST(2, Opcode::Cmp).s32().Inputs(0, 1); in CheckCmp() 569 INST(2, Opcode::Cmp).s32().SrcType(data_type).Fcmpg(fcmpg).Inputs(0, 1); in CheckFloatCmp()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | ir_constructor.h | 799 case Opcode::Cmp: in SrcType() 878 case Opcode::Cmp: in CheckInputType() 938 … (op == Opcode::Cmp || op == Opcode::Compare || op == Opcode::If || op == Opcode::IfImm || in ConstructDataFlow()
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/ |
D | assembler_x64.h | 111 void Cmp(Immediate src, Register dst);
|
D | assembler_x64.cpp | 232 void AssemblerX64::Cmp(Immediate src, Register dst) in Cmp() function in panda::ecmascript::x64::AssemblerX64
|
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
D | assembler_aarch64.h | 330 void Cmp(const Register &rd, const Operand &operand);
|
D | assembler_aarch64.cpp | 883 void AssemblerAarch64::Cmp(const Register &rd, const Operand &operand) in Cmp() function in panda::ecmascript::aarch64::AssemblerAarch64
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | llvm_ir_builder.h | 337 V(Cmp, (GateRef gate, GateRef e1, GateRef e2)) \
|