| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_isa.yaml | 30 acc = ecma_op(acc, operand_0, ..., operands_n) 35 acc: out:top 39 acc: out:top 43 acc: out:top 47 acc: out:top 51 acc: out:top 55 acc: out:top 59 acc: out:top 63 acc: out:top 67 acc: out:top [all …]
|
| /arkcompiler/runtime_core/isa/ |
| D | isa.yaml | 283 acc = ecma_op(acc, operand_0, ..., operands_n) 288 acc: out:top 292 acc: out:top 296 acc: out:top 300 acc: out:top 304 acc: out:top 309 acc: out:top 312 acc: out:top 316 acc: out:top 320 acc: out:top [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
| D | circuit_optimizer_tests.cpp | 40 GateAccessor acc(&circuit); in HWTEST_F_L0() local 42 acc.GetArgRoot()); in HWTEST_F_L0() 50 { acc.GetStateRoot(), Circuit::NullGate() }, in HWTEST_F_L0() 64 acc.NewIn(selectorA, 2, newX); in HWTEST_F_L0() 65 acc.NewIn(selectorB, in HWTEST_F_L0() 84 acc.NewIn(loopBegin, 1, loopBack); in HWTEST_F_L0() 87 acc.GetDependRoot(), in HWTEST_F_L0() 89 acc.GetReturnRoot() }); in HWTEST_F_L0() 103 EXPECT_TRUE(solver.GetValueLattice(acc.GetIn(ret, 2)).GetValue() == 1); in HWTEST_F_L0() 107 acc.SetMetaData(constantA, circuit.Constant(2)); in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | arrays-07.pa | 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc]
|
| D | arrays-08.pa | 29 # if acc < 0 || acc >= len(vs) then 33 # acc = f32tof64(vs[acc]) 35 # acc = i8toi32(vs[acc]) 37 # acc = u8toi32(vs[acc]) 39 # acc = i16toi32(vs[acc]) 41 # acc = u16toi32(vs[acc]) 43 # acc = vs[acc]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | scheduler.cpp | 28 GateAccessor acc(const_cast<Circuit*>(circuit)); in CalculateDominatorTree() local 35 auto startGate = acc.GetStateRoot(); in CalculateDominatorTree() 36 acc.SetMark(startGate, MarkCode::VISITED); in CalculateDominatorTree() 43 if (acc.GetOpCode(curGate) != OpCode::LOOP_BACK) { in CalculateDominatorTree() 44 auto uses = acc.Uses(curGate); in CalculateDominatorTree() 46 if (useIt.GetIndex() < acc.GetStateCount(*useIt) && in CalculateDominatorTree() 47 acc.IsState(*useIt) && acc.GetMark(*useIt) == MarkCode::NO_MARK) { in CalculateDominatorTree() 48 acc.SetMark(*useIt, MarkCode::VISITED); in CalculateDominatorTree() 86 acc.GetInStates(bbGatesList[idx], preGates); in CalculateDominatorTree() 127 GateAccessor acc(const_cast<Circuit*>(circuit)); in Run() local [all …]
|
| D | interpreter_stub.cpp | 47 GateRef acc = TaggedArgument(static_cast<size_t>(InterpreterHandlerInputs::ACC)); \ 51 GenerateCircuitImpl(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter); \ 55 GateRef acc, GateRef hotnessCounter) 63 // Dispatch(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, offset) 65 DISPATCH_BASE(profileTypeInfo, acc, hotnessCounter, offset) 71 // Dispatch(glue, sp, pc, constpool, *varProfileTypeInfo, acc, *varHotnessCounter, offset) 73 DISPATCH_BASE(*varProfileTypeInfo, acc, *varHotnessCounter, offset) 90 DispatchLast(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter) \ 108 CheckException(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, \ 116 CheckExceptionWithJump(glue, sp, pc, constpool, profileTypeInfo, acc, hotnessCounter, \ [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | call.acc.short.yaml | 20 - file-name: call.acc.short 41 - sig: call.acc.short method_id, v:in:top, imm:u1 42 acc: inout:top 50 - sig: call.acc.short method_id, v:in:top, imm:u1 51 acc: inout:top 70 call.acc.short %s 91 - sig: call.acc.short method_id, v:in:top, imm:u1 92 acc: inout:top 121 call.acc.short foo, v0, 1 122 call.acc.short foo, v1, 1 [all …]
|
| D | call.virt.acc.short.yaml | 20 - file-name: call.virt.acc.short 37 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 38 acc: inout:top 46 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 47 acc: inout:top 90 call.virt.acc.short %s 138 - sig: call.virt.acc.short method_id, v:in:top, imm:u1 139 acc: inout:top 170 call.virt.acc.short R.foo, v0, 0 171 call.virt.acc.short R.foo, v1, 0 [all …]
|
| D | fp.yaml | 29 acc: inout:f64 32 acc: inout:f64 74 call.short pow, v2, v1 # acc = x^3 76 fmul2.64 v2 # acc = A3 * x^3 80 call.short pow, v2, v1 # acc = x^5 86 call.short pow, v2, v1 # acc = x^7 89 fadd2.64 v0 # acc = A1*x + A3*x^3 + A5*x^5 + A7*x^7 158 acc: inout:f64 161 acc: inout:f64 267 acc: inout:f64 [all …]
|
| D | call.acc.yaml | 20 - file-name: call.acc 41 - sig: call.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 42 acc: inout:top 50 - sig: call.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 51 acc: inout:top 76 call.acc %s 110 - sig: call.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 111 acc: inout:top 140 call.acc foo, v0, v1, v2, 0 141 call.acc foo, v3, v4, v5, 1 [all …]
|
| D | fcmpg.yaml | 27 acc: inout:f32->i32 56 acc: inout:f32->i32 66 check-type: check-acc-1 93 acc: inout:f32->i32 103 check-type: check-acc-1 116 acc: inout:f32->i32 168 acc: inout:f32->i32 179 check-type: check-acc-1 198 acc: inout:f32->i32 209 check-type: check-acc-minus-1 [all …]
|
| D | call.virt.acc.yaml | 20 - file-name: call.virt.acc 39 - sig: call.virt.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 40 acc: inout:top 48 - sig: call.virt.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 49 acc: inout:top 108 call.virt.acc %s 187 - sig: call.virt.acc method_id, v1:in:top, v2:in:top, v3:in:top, imm:u2 188 acc: inout:top 219 call.virt.acc R.foo, v0, v1, v2, 0 220 call.virt.acc R.foo, v3, v4, v5, 0 [all …]
|
| D | jlez.yaml | 32 acc: in:i32 35 Check jump occurs or not occurs, depending on `acc < 0` condition 82 acc: in:i32 85 Check jump occurs or not occurs, depending on `acc < 0` condition 148 acc: in:i32 151 Check jump occurs or not occurs, depending on `acc == 0` condition 211 acc: in:i32 214 Check jump not occurs if `acc > 0` 215 for different values in acc. 252 acc: in:i32 [all …]
|
| D | jgez.yaml | 32 acc: in:i32 35 Check jump occurs or not occurs, depending on `acc < 0` condition 82 acc: in:i32 85 Check jump occurs or not occurs, depending on `acc > 0` condition 146 acc: in:i32 149 Check jump occurs or not occurs, depending on `acc == 0` condition 209 acc: in:i32 212 Check jump not occurs if `acc < 0` 213 for different values in acc. 247 acc: in:i32 [all …]
|
| D | jnez.yaml | 32 acc: in:i32 37 Check jump occurs or not occurs, depending on `acc!=0` condition 84 acc: in:i32 87 Check jump occurs or not occurs, depending on `acc != 0` condition 148 acc: in:i32 151 Check jump not occurs if `acc >= 0` 152 for different values in acc. 180 acc: in:i32 185 Check `jnez` with invalid types in acc. 236 acc: in:i32 [all …]
|
| /arkcompiler/runtime_core/runtime/bridge/arch/arm/ |
| D | handle_call_v4_imm4_id16_arm.S | 16 // handle call.acc.short || call.virt.acc.short 24 // read arg index and acc position into r3 and advance insn_ptr 27 // check acc position 32 // 'call vreg, acc' case 38 10: // handle acc 47 // 'call acc, vreg' case 48 // handle acc
|
| D | handle_call_v4_imm4_id16_armhf.S | 16 // handle call.acc.short || call.virt.acc.short 26 // read arg index and acc position into r10 and advance insn_ptr 29 // check acc position 34 // 'call vreg, acc' case 41 10: // handle acc 50 // 'call acc, vreg' case 51 // handle acc
|
| D | handle_call_v4_v4_v4_imm4_id16_arm.S | 16 // handle call.acc || call.virt.acc 24 // read reg index and acc position into r3 and advance insn_ptr 29 and r9, r9, #0xF // r9 now contains acc position 36 // check acc position and branch to acc/vreg index handling 50 // handle acc
|
| D | handle_call_v4_v4_v4_imm4_id16_armhf.S | 16 // handle call.acc || call.virt.acc 29 // read reg index and acc position into r10 and advance insn_ptr 34 and ip, ip, #0xF // ip now contains acc position 41 // check acc position and branch to acc/vreg index handling 55 // handle acc
|
| /arkcompiler/runtime_core/runtime/bridge/arch/aarch64/ |
| D | handle_call_v4_imm4_id16_aarch64.S | 16 // handle call.acc.short || call.virt.acc.short 24 // read arg index and acc position into w5 and advance insn_ptr 27 // check acc index 32 // the case call vreg, acc 48 11: // the case call acc, vreg 49 // handle the acc
|
| /arkcompiler/runtime_core/tests/irtoc-interpreter-tests/ |
| D | call.acc.pa | 47 call.acc.short foo, v0, 0x0 49 call.acc.short bar, v0, 0x1 51 call.acc first, v0, v0, v0, 0x0 53 call.acc second, v0, v0, v0, 0x1 55 call.acc third, v0, v0, v0, 0x2 57 call.acc fourth, v0, v0, v0, 0x3
|
| /arkcompiler/runtime_core/tests/cts-coverage-tool/config/ |
| D | non_testable.yaml | 44 acc: none 57 acc: out:any 70 acc: in:any 83 acc: out:any 87 acc: out:any 101 acc: in:any 124 acc: out:any 128 acc: out:any 132 acc: out:any
|
| /arkcompiler/runtime_core/runtime/bridge/ |
| D | bridge.cpp | 80 auto acc = frame->GetAcc(); in InvokeInterpreter() local 82 res = GetVRegValue(acc.template AsVRegRef<true>()); in InvokeInterpreter() 84 res = GetVRegValue(acc.AsVRegRef()); in InvokeInterpreter() 105 … // if we have an deoptimization occurred in the CallStatic, we must not copy acc from CallStatic, in InvokeInterpreter() 106 // because acc contain result of the NewObject in InvokeInterpreter() 110 frame->GetAcc() = acc; in InvokeInterpreter() 114 frame->GetAcc() = acc; in InvokeInterpreter() 118 acc = frame->GetAcc(); in InvokeInterpreter() 120 res = GetVRegValue(acc.template AsVRegRef<true>()); in InvokeInterpreter() 122 res = GetVRegValue(acc.AsVRegRef()); in InvokeInterpreter()
|
| /arkcompiler/ets_runtime/ecmascript/interpreter/ |
| D | interpreter_assembly.cpp | 92 #define SAVE_ACC() (GET_ASM_FRAME(sp)->acc = acc) // NOLINT(cppcoreguidelines-pro-bounds-pointer-a… 94 #define RESTORE_ACC() (acc = GET_ASM_FRAME(sp)->acc) // NOLINT(cppcoreguidelines-pro-bounds-pointe… 100 …GET_ASM_FRAME(sp)->acc = JSTaggedValue::Exception(); … 198 #define GET_ACC() (acc) // NOLINT(cppcoreguidelines-macro-usage) 199 #define SET_ACC(val) (acc = val) // NOLINT(cppcoreguidelines-macro-usage) 241 auto acc = reinterpret_cast<InterpreterEntry>(entry)(thread->GetGlueAddr(), in Execute() local 248 return JSTaggedValue(acc); in Execute() 256 …auto acc = reinterpret_cast<GeneratorReEnterInterpEntry>(entry)(thread->GetGlueAddr(), context.Get… in GeneratorReEnterInterpreter() local 257 return JSTaggedValue(acc); in GeneratorReEnterInterpreter() 262 JSTaggedValue acc, int16_t hotnessCounter) in HandleMovV4V4() argument [all …]
|