Home
last modified time | relevance | path

Searched full:accumulator (Results 1 – 25 of 247) sorted by relevance

12345678910

/arkcompiler/runtime_core/tests/cts-coverage-tool/config/
Dnon_testable.yaml20 - title: Load accumulator from string constant pool
31 - title: Load accumulator from type constant pool
48 - title: Dynamic load accumulator from register
50 Move 'any' value from register to accumulator
61 - title: Dynamic store accumulator
63 Move 'any' value from accumulator to register
74 - title: Dynamic load accumulator from immediate
76 Move immediate as 'any' value to accumulator
94 Return 'any' value in accumulator from method to its caller
109 Callee should treat accumulator value as undefined and cannot use it until accumulator
[all …]
/arkcompiler/runtime_core/verification/
Dmessages.yaml71 Field is '${field}'. Field type is '${field_type}'. Accumulator type is '${acc_type}'.
103 Function return type: '${return_type}'. Value type in accumulator: '${acc_type}'.
110 Function return type: '${return_type}'. Value type in accumulator: '${acc_type}'.
111 Compatible accumulator types are: ${compatible_acc_types}.
168 …nt null in register v${reg}. NPE exception will always be thrown here. Accumulator type is not kno…
173 short_message: always NPE in accumulator
174 message: constant null in accumulator. NPE exception will always be thrown here.
240 … Wrong return value type (in accumulator): '${acc_type}'. Compatible types are: ${expected_types}.
246 … Wrong return value type (in accumulator): '${acc_type}'. Expected a subtype of '${expected_type}'.
270 message: Accumulator is not a reference to an object.
[all …]
/arkcompiler/runtime_core/docs/
Drationale-for-bytecode.md91 * Implicitly addressed accumulator register.
97 ### Implicitly addressed accumulator register
105 ; at this point, accumulator register contains arg1 + arg2
111 be an accumulator register. Having an implicitly addressed accumulator register de facto borrows
115 In an ideal case, accumulator register may safe us ~25% of size. But it needs to be used carefully:
120 * You don't need to pass object reference in accumulator in the object call. Usually objects live
121 longer than accumulator value (otherwise calls will be accompanied with moves from and to
122 accumulator, reducing performance and increasing encoding size).
126 accumulator, a simple optimizer will be introduced as a part of the toolchain.
128 Finally, using accumulator allows getting rid of the instructions for writing the result to the reg…
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_typedarray_test.cpp117 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestMapFunc() local
118 accumulator = accumulator * 2; // 2 : mapped to 2 times the original value in TestMapFunc()
119 return BuiltinsBase::GetTaggedInt(accumulator); in TestMapFunc()
148 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestReduceFunc() local
149 accumulator = accumulator + GetCallArg(argv, 1)->GetInt(); in TestReduceFunc()
150 return BuiltinsBase::GetTaggedInt(accumulator); in TestReduceFunc()
155 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestReduceRightFunc() local
156 accumulator = accumulator + GetCallArg(argv, 1)->GetInt(); in TestReduceRightFunc()
157 return BuiltinsBase::GetTaggedInt(accumulator); in TestReduceRightFunc()
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dlda.null.yaml18 title: Load null reference into accumulator
19 description: Load null reference into accumulator.
31 description: Check lda.null loads null reference into accumulator.
Dlda.str.yaml29 title: Load accumulator from string constant pool
30 description: Load string specified by id into accumulator.
42 description: Load string specified by id into accumulator.
113 description: Load string specified by id into accumulator.
142 description: Load string specified by id into accumulator.
181 description: Load string specified by id into accumulator.
221 description: Load string specified by id into accumulator.
273 description: Load string specified by id into accumulator.
332 description: Load string specified by id into accumulator.
385 description: Load string specified by id into accumulator.
[all …]
Dldstatic.yaml64 Get static field value by field_id and put it into accumulator.
240 …description: Check that field value is loaded into accumulator in PandaAssembly context. More test…
244 …ost significant bits are sign or unsigned extended based on the field type to fit accumulator size.
280 …description: Check that field value is loaded into accumulator in PandaAssembly context. Signed in…
284 …ost significant bits are sign or unsigned extended based on the field type to fit accumulator size.
319 …description: Check that field value is loaded into accumulator in PandaAssembly context. More test…
323 …ost significant bits are sign or unsigned extended based on the field type to fit accumulator size.
352 …description: Check that field value is loaded into accumulator in PandaAssembly context. Signed in…
356 …ost significant bits are sign or unsigned extended based on the field type to fit accumulator size.
524 …description: Check that accumulator value is loaded from field into accumulator in PandaAssembly c…
[all …]
Dldstatic.64.yaml65 Get static field value by field_id and put it into accumulator.
261 …description: Check that accumulator value is loaded from field into accumulator in PandaAssembly c…
263 description: Get static field value by field_id and put it into accumulator.
291 …description: Check that accumulator value is loaded from field into accumulator in PandaAssembly c…
293 description: Get static field value by field_id and put it into accumulator.
318 …description: Check that accumulator value is loaded from field into accumulator in PandaAssembly c…
350 …description: Check that accumulator value is loaded from field into accumulator in PandaAssembly c…
Dsta.yaml18 title: Store accumulator
19 description: Moves accumulator content into a register.
24 description: Check sta moves accumulator content into a register.
117 description: Check 'sta' with incorrect accumulator type. Register type is not checked.
133 ##- Accumulator initialization with incorrect types
203 … description: Check 'sta' with uninitialized accumulator. Destination register is not checked.
Dsta.64.yaml18 title: Store accumulator
19 description: Moves accumulator content into a register.
24 description: Check sta.64 moves accumulator content into a register.
144 description: Check 'sta.64' with incorrect accumulator type. Register type is not checked.
160 ##- Accumulator initialization with incorrect types
233 … description: Check 'sta.64' with uninitialized accumulator. Destination register is not checked.
Disinstance.yaml51 …Resolve object type by specified id and if an object in accumulator is an instance of the resolved…
52 put 1 into accumulator, otherwise put 0.
272 …description: Check that verifier fails when accumulator contains wrong value - neither object, nor…
298 …description: Check that verifier fails when accumulator contains wrong value - neither object, nor…
325 description: Check that the instruction sets accumulator to 1 when expected
328 …Resolve object type by specified id and if an object in accumulator is an instance of the resolved…
329 put 1 into accumulator, otherwise put 0.
450 description: Check that the instruction sets accumulator to 1 when expected
453 …Resolve object type by specified id and if an object in accumulator is an instance of the resolved…
454 put 1 into accumulator, otherwise put 0.
[all …]
Dlda.obj.yaml19 title: Load accumulator from register
20 description: Moves register content into an accumulator.
45 …description: Check lda.obj moves register content into accumulator (references to various type of …
152 …description: Check lda.obj moves register content into accumulator (references to various type of …
185 description: Check lda.obj moves register content into accumulator (null reference).
345 … lda.obj with incorrect source register type in PandaAssembly context. Accumulator type is not che…
413 … lda.obj with incorrect source register type in PandaAssembly context. Accumulator type is not che…
Du32tou16.yaml20 Perform specified integer extension or truncations of accumulator.
65 Check `u32tou16` with incorrect accumulator type.
112 description: Check 'u32tou16' with uninitialized accumulator.
Du32tou8.yaml20 Perform specified integer extension or truncations of accumulator.
65 Check `u32tou8` with incorrect accumulator type.
112 description: Check 'u32tou8' with uninitialized accumulator.
Du32tof64.yaml20 Perform specified primitive type conversion of accumulator.
83 Check `u32tof64` with incorrect accumulator type.
130 description: Check 'u32tof64' with uninitialized accumulator.
Du32toi16.yaml20 Perform specified integer extension or truncations of accumulator.
70 Check `u32toi16` with incorrect accumulator type.
117 description: Check 'u32toi16' with uninitialized accumulator.
Du64tou32.yaml20 Perform specified integer extension or truncations of accumulator.
65 Check `u64tou32` with incorrect accumulator type.
112 description: Check 'u64tou32' with uninitialized accumulator.
Du32tof32.yaml20 Perform specified primitive type conversion of accumulator.
83 Check `u32tof32` with incorrect accumulator type.
130 description: Check 'u32tof64' with uninitialized accumulator.
Du32toi64.yaml20 Perform specified integer extension or truncations of accumulator.
65 Check `u32toi64` with incorrect accumulator type.
112 description: Check 'u32toi64' with uninitialized accumulator.
Du64toi32.yaml20 Perform specified integer extension or truncations of accumulator.
70 Check `u64toi32` with incorrect accumulator type.
117 description: Check 'u64toi32' with uninitialized accumulator.
Di64toi32.yaml20 Perform specified integer extension or truncations of accumulator.
73 Check `i64toi32` with incorrect accumulator type.
120 description: Check 'i64toi32' with uninitialized accumulator.
/arkcompiler/runtime_core/tests/cts-assembly/
Darrays-02.pa19 # Store accumulator content into array slot pointed by index.
28 # Load an element from array using accumulator as an index and puts it into accumulator.
Darrays-04.pa19 # Load an element from array using accumulator as an index and puts it into accumulator.
29 # Store accumulator content into array slot pointed by index.
Darrays-03.pa19 # Load an element from array using accumulator as an index and puts it into accumulator.
29 # Store accumulator content into array slot pointed by index.
/arkcompiler/runtime_core/bytecode_optimizer/
Dreg_acc_alloc.cpp24 * Decide if accumulator register gets dirty between two instructions.
37 // accumulator usage. Only linear flow is supported right now. in IsAccWriteBetween()
84 * Return true if instruction can read the accumulator.
100 * Return true if instruction can write the accumulator.
108 * Decide if user can use accumulator as source.
149 * Check if all the Phi inputs and outputs can use the accumulator register.
158 // These cases are not optimized for accumulator. in IsPhiAccReady()
205 * Determine the accumulator usage between instructions.

12345678910