| /arkcompiler/runtime_core/tests/cts-assembly/ |
| D | math-64.pa | 14 # (a0 << 21) | ~a1 15 .function i32 or_not_shl_i32(i32 a0, i32 a1) <static> { 20 lda a1 25 # (a0 >>> 21) | ~a1 26 .function i32 or_not_shr_i32(i32 a0, i32 a1) <static> { 31 lda a1 36 # (a0 >> 21) | ~a1 37 .function i32 or_not_ashr_i32(i32 a0, i32 a1) <static> { 42 lda a1 47 # a1 | ~(a0 << 21) [all …]
|
| D | math-62.pa | 14 # (a0 << 21) ^ a1 15 .function i32 xor_shl_i32(i32 a0, i32 a1) <static> { 19 xor2 a1 22 # (a0 >>> 21) ^ a1 23 .function i32 xor_shr_i32(i32 a0, i32 a1) <static> { 27 xor2 a1 30 # (a0 >> 21) ^ a1 31 .function i32 xor_ashr_i32(i32 a0, i32 a1) <static> { 35 xor2 a1 38 # a1 ^ (a0 << 21) [all …]
|
| D | math-60.pa | 14 # (a0 << 21) & a1 15 .function i32 and_shl_i32(i32 a0, i32 a1) <static> { 19 and2 a1 22 # (a0 >>> 21) & a1 23 .function i32 and_shr_i32(i32 a0, i32 a1) <static> { 27 and2 a1 30 # (a0 >> 21) & a1 31 .function i32 and_ashr_i32(i32 a0, i32 a1) <static> { 35 and2 a1 38 # a1 & (a0 << 21) [all …]
|
| D | math-59.pa | 14 # (a0 << 21) - a1 15 .function i32 sub_shl_i32(i32 a0, i32 a1) <static> { 19 sub2 a1 22 # (a0 >>> 21) - a1 23 .function i32 sub_shr_i32(i32 a0, i32 a1) <static> { 27 sub2 a1 30 # (a0 >> 21) - a1 31 .function i32 sub_ashr_i32(i32 a0, i32 a1) <static> { 35 sub2 a1 38 # a1 - (a0 << 21) [all …]
|
| D | math-63.pa | 14 # (a0 << 21) & ~a1 15 .function i32 and_not_shl_i32(i32 a0, i32 a1) <static> { 20 lda a1 25 # (a0 >>> 21) & ~a1 26 .function i32 and_not_shr_i32(i32 a0, i32 a1) <static> { 31 lda a1 36 # (a0 >> 21) & ~a1 37 .function i32 and_not_ashr_i32(i32 a0, i32 a1) <static> { 42 lda a1 47 # a1 & ~(a0 << 21) [all …]
|
| D | math-58.pa | 14 # (a0 << 21) + a1 15 .function i32 add_shl_i32(i32 a0, i32 a1) <static> { 19 add2 a1 22 # (a0 >>> 21) + a1 23 .function i32 add_shr_i32(i32 a0, i32 a1) <static> { 27 add2 a1 30 # (a0 >> 21) + a1 31 .function i32 add_ashr_i32(i32 a0, i32 a1) <static> { 35 add2 a1 38 # a1 + (a0 << 21) [all …]
|
| D | math-65.pa | 14 # (a0 << 21) ^ ~a1 15 .function i32 xor_not_shl_i32(i32 a0, i32 a1) <static> { 20 lda a1 25 # (a0 >>> 21) ^ ~a1 26 .function i32 xor_not_shr_i32(i32 a0, i32 a1) <static> { 31 lda a1 36 # (a0 >> 21) ^ ~a1 37 .function i32 xor_not_ashr_i32(i32 a0, i32 a1) <static> { 42 lda a1 47 # a1 ^ ~(a0 << 21) [all …]
|
| D | math-61.pa | 14 # (a0 << 21) | a1 15 .function i32 or_shl_i32(i32 a0, i32 a1) <static> { 19 or2 a1 22 # (a0 >>> 21) | a1 23 .function i32 or_shr_i32(i32 a0, i32 a1) <static> { 27 or2 a1 30 # (a0 >> 21) | a1 31 .function i32 or_ashr_i32(i32 a0, i32 a1) <static> { 35 or2 a1 38 # a1 & (a0 << 21) [all …]
|
| D | math-54.pa | 14 # a2 - a0 * a1 15 .function i32 msub_i32(i32 a0, i32 a1, i32 a2) { 16 mul a0, a1 22 # - (a0 * a1) + a2 23 .function i32 msub_i32_var0(i32 a0, i32 a1, i32 a2) { 24 mul a0, a1 30 # (-a0) * a1 + a2 31 .function i32 msub_i32_var1(i32 a0, i32 a1, i32 a2) { 34 mul2 a1 39 # a2 - a0 * a1 [all …]
|
| D | math-68.pa | 14 # a0 * 0 + a1 15 .function i64 mza(i64 a0, i64 a1) <static> { 19 add2.64 a1 23 # a0 * a1 + 0 24 .function i64 maz(i64 a0, i64 a1) <static> { 27 mul2.64 a1 32 # a0 - a1 * 0 33 .function i64 mzs(i64 a0, i64 a1) <static> { 35 lda.64 a1 43 # 0 - a0 * a1 [all …]
|
| D | math-57.pa | 14 .function i32 xor_not_i32(i32 a0, i32 a1) <static> { 17 xor2 a1 21 .function i64 xor_not_i64(i64 a0, i64 a1) <static> { 24 xor2.64 a1 28 .function i32 and_not_i32(i32 a0, i32 a1) <static> { 31 and2 a1 35 .function i64 and_not_i64(i64 a0, i64 a1) <static> { 38 and2.64 a1 42 .function i32 or_not_i32(i32 a0, i32 a1) <static> { 45 or2 a1 [all …]
|
| D | math-55.pa | 15 .function i32 mneg_i32_0(i32 a0, i32 a1) { 16 mul a0, a1 22 .function i32 mneg_i32_1(i32 a0, i32 a1) { 25 mul2 a1 30 .function i64 mneg_i64_0(i64 a0, i64 a1) { 32 mul2.64 a1 38 .function i64 mneg_i64_1(i64 a0, i64 a1) { 41 mul2.64 a1 46 .function f64 mneg_f64_0(f64 a0, f64 a1) { 48 fmul2.64 a1 [all …]
|
| D | math-56.pa | 15 .function i32 and_not_i32(i32 a0, i32 a1) { 16 lda a1 23 .function i64 and_not_i64(i64 a0, i64 a1) { 24 lda.64 a1 31 .function i32 or_not_i32(i32 a0, i32 a1) { 32 lda a1 39 .function i64 or_not_i64(i64 a0, i64 a1) { 40 lda.64 a1 47 .function i32 xor_not_i32(i32 a0, i32 a1) { 48 lda a1 [all …]
|
| /arkcompiler/runtime_core/tests/regression/ |
| D | irreducible_loop.pa | 15 .function i32 find_even_on_even(i32[] a0, i32 a1) { 17 lda a1 19 jeqz _zero # if a1 is even jump to _zero 21 inci a1, 1 # make a1 even 23 lda a1 24 ldarr a0 # load even index a1 27 inci a1, 1 # increment a1 (now it's odd) 29 lda a1 33 jmp _one # make a1 even 35 inci a1, -1 [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | call.virt.yaml | 140 - ', i32 a1' 145 - ',i64 a1' 150 - ',i64[] a1' 158 - ',A a1' 166 - ', i32[] a1, i64 a2' 175 - ', i64[] a1, A a2' 185 - ',A[] a1, f64 a2' 194 - ', f64[] a1, panda.String a2' 206 - ', panda.String[] a1, panda.Object[] a2' 216 - ', panda.Object[] a1, panda.Object a2' [all …]
|
| D | call.virt.range.negative.yaml | 162 - ', i32 a1' 169 - ', i64 a1' 176 - ', f64 a1' 184 - ', i32 a1' 191 - ', i64 a1' 198 - ', f64 a1' 206 - ', i32 a1' 213 - ', i64 a1' 220 - ', f64 a1' 228 - ', i32 a1, f64 a2, i64 a3' [all …]
|
| D | call.virt.range_base.yaml | 138 - ', i32 a1' 142 - ',i64 a1' 146 - ',i64[] a1' 153 - ',A a1' 160 - ', i32[] a1, i64 a2' 168 - ', i64[] a1, A a2' 177 - ',A[] a1, f64 a2' 185 - ', f64[] a1, panda.String a2' 196 - ', panda.String[] a1, panda.Object[] a2' 205 - ', panda.Object[] a1, panda.Object a2' [all …]
|
| D | call.virt.negative.yaml | 157 - ', i32 a1' 164 - ', i64 a1' 171 - ', f64 a1' 179 - ', i32 a1' 186 - ', i64 a1' 193 - ', f64 a1' 201 - ', i32 a1' 208 - ', i64 a1' 215 - ', f64 a1' 223 - ', i32 a1, f64 a2, i64 a3' [all …]
|
| D | call.virt.short.yaml | 177 - ',i32 a1' 182 - ',i32[] a1' 190 - ',i64 a1' 195 - ',i64[] a1' 203 - ',A a1' 211 - ',A[] a1' 220 - ',f64 a1' 225 - ',f64[] a1' 233 - ',panda.String a1' 241 - ',panda.String[] a1' [all …]
|
| D | call.polymorphic.range.yaml | 32 … .function panda.Object panda.reflect.Field.get(panda.reflect.Field a0, panda.Object a1) <external> 33 .function panda.reflect.Field panda.Class.getField(panda.Class a0, panda.String a1) <external> 36 …andles$Lookup.findStatic(panda.invoke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, pa… 37 …ndles$Lookup.findVirtual(panda.invoke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, pa… 38 …les$Lookup.findVarHandle(panda.invoke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, pa… 86 ….function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <ex… 133 ….function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1, R a2, R a3) <ex… 176 … .function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, R a1) <external> 206 …ke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a1) <external, static> 259 … - .function i32 panda.invoke.MethodHandle.invoke(panda.invoke.MethodHandle a0, i32 a1) <external> [all …]
|
| D | calle.polymorphic.range.yaml | 32 … .function panda.Object panda.reflect.Field.get(panda.reflect.Field a0, panda.Object a1) <external> 33 .function panda.reflect.Field panda.Class.getField(panda.Class a0, panda.String a1) <external> 36 …andles$Lookup.findStatic(panda.invoke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, pa… 37 …ndles$Lookup.findVirtual(panda.invoke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, pa… 38 …les$Lookup.findVarHandle(panda.invoke.MethodHandles$Lookup a0, panda.Class a1, panda.String a2, pa… 86 ….function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3… 133 ….function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1, R a2, R a3… 176 … .function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, R a1) <external> 206 …ke.MethodType panda.invoke.MethodType.methodType(panda.Class a0, panda.Class a1) <external, static> 259 …function i32 panda.invoke.MethodHandle.invokeExact(panda.invoke.MethodHandle a0, i32 a1) <external> [all …]
|
| /arkcompiler/runtime_core/pandastdlib/ |
| D | pandastdlib.pa | 148 .function void panda.StackOverflowException.ctor(panda.StackOverflowException a0, panda.String a1, … 149 lda.obj a1 156 .function void panda.NullPointerException.ctor(panda.NullPointerException a0, panda.String a1, pand… 157 lda.obj a1 174 …BoundsException.ctor(panda.ArrayIndexOutOfBoundsException a0, panda.String a1, panda.Object a2) <c… 175 lda.obj a1 192 …OutOfBoundsException.ctor(panda.IndexOutOfBoundsException a0, panda.String a1, panda.Object a2) <c… 193 lda.obj a1 210 .function void panda.IllegalStateException.ctor(panda.IllegalStateException a0, panda.String a1, pa… 211 lda.obj a1 [all …]
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | inline_external.pa | 41 .function i32 A.getParam_virt(A a0, i32 a1) { 42 lda a1 64 .function void A.setObj(A a0, i32 a1) <static> { 65 lda a1 76 .function void A.setObj_virt(A a0, i32 a1) { 77 lda a1 82 .function i32 A.getObj_wrong_virt(A a0, A a1) { 83 ldobj a1, A.data 87 .function void A.setObj_wrong_virt(A a0, i32 a1, A a2) { 88 lda a1 [all …]
|
| /arkcompiler/runtime_core/tests/benchmarks/ |
| D | controlflow-recursive.pa | 22 .function i32 test(i32 a0, i32 a1, i32 a2){ 27 jgt a1, loop_exit 65 .function i32 ack(i32 a0, i32 a1){ 68 lda a1 70 lda a1 81 lda a1 113 .function i32 tak(i32 a0, i32 a1, i32 a2){ 114 lda a1 119 call tak, v0, a1, a2, a0 121 lda a1 [all …]
|
| /arkcompiler/runtime_core/disassembler/tests/sources/ |
| D | calls.pa | 22 .function u8 B.Bhandler_short(B a0, u1 a1) { 26 .function u8 B.Bhandler_short2(B a0, u1[] a1, i64 a2) { 30 .function u16 B.Bhandler_long(B a0, i8 a1, i16 a2, i32 a3) { 34 .function u16 B.Bhandler_long2(B a0, i8 a1, i16 a2, i32 a3, i64 a4) { 38 .function u16 B.Bhandler_range(B a0, i8 a1, i16 a2, i32 a3, i8 a4, i16 a5, i32 a6) { 42 .function u16 long_function(i8 a0, i16 a1, i32 a2, i8 a3, i16 a4, i32 a5, i64 a6, f32 a7) { 56 .function u8 handler_short2(u1 a0, i64 a1) { 60 .function u16 handler_long(i8 a0, i16 a1, i32 a2) { 64 .function u16 handler_long2(i8 a0, i16 a1, i32 a2, f64 a3) { 68 .function u16 handler_range(i8 a0, i16 a1, i32 a2, i8 a3, i16 a4, i32 a5) { [all …]
|