| /arkcompiler/runtime_core/pandastdlib/ |
| D | pandastdlib.pa | 148 .function void panda.StackOverflowException.ctor(panda.StackOverflowException a0, panda.String a1, … 150 stobj.obj a0, panda.StackOverflowException.message 152 stobj.obj a0, panda.StackOverflowException.cause 156 .function void panda.NullPointerException.ctor(panda.NullPointerException a0, panda.String a1, pand… 158 stobj.obj a0, panda.NullPointerException.message 160 stobj.obj a0, panda.NullPointerException.cause 164 .function panda.String panda.NullPointerException.getMessage(panda.NullPointerException a0) { 165 ldobj.obj a0, panda.NullPointerException.message 169 .function panda.Object panda.NullPointerException.getCause(panda.NullPointerException a0) { 170 ldobj.obj a0, panda.NullPointerException.cause [all …]
|
| /arkcompiler/runtime_core/tests/regression/ |
| D | loop-unroll.pa | 39 # while (a0 < a1): 40 # a0++ 44 .function i32 run_case2(i32 a0, i32 a1) <static> { 47 lda a0 49 inci a0, 1 57 .function i32 run_case2a(i32 a0) <static> { 61 lda a0 63 inci a0, 1 73 # while (a0 < a1): 74 # a0++ [all …]
|
| /arkcompiler/runtime_core/tests/benchmarks/ |
| D | controlflow-recursive.pa | 22 .function i32 test(i32 a0, i32 a1, i32 a2){ 24 mov v4, a0 #loop_counter 25 lda a0 65 .function i32 ack(i32 a0, i32 a1){ 66 lda a0 73 call.short ack, a0, v1 75 lda a0 85 lda a0 93 .function i32 fib(i32 a0){ 95 jgt a0, if [all …]
|
| D | bitops-nsieve-bits.pa | 22 .function u1 test(i32 a0, i32 a1, i64 a2){ 23 call.short sieve, a0, a1 50 .function i32[] sieve(i32 a0, i32 a1){ 51 shl a1, a0 56 call primes, v3, a0, a1, v0 60 .function i32[] primes(i32[] a0, i32 a1, i32 a2){ 63 call.short init, a0, a0 64 sta.obj a0 77 ldarr a0 85 lda.obj a0 [all …]
|
| D | access-binary-trees.pa | 20 .function void TreeNode.Construct(TreeNode a0, TreeNode a1, TreeNode a2, i32 a3) { 22 stobj.obj a0, TreeNode.left 24 stobj.obj a0, TreeNode.right 26 stobj a0, TreeNode.item 30 .function i32 TreeNode.itemCheck(TreeNode a0) <static> { 32 ldobj.obj a0, TreeNode.left 34 ldobj.obj a0, TreeNode.left 38 ldobj.obj a0, TreeNode.right 44 ldobj a0, TreeNode.item 48 ldobj a0, TreeNode.item [all …]
|
| D | math-cordic.pa | 21 .function u1 test(i32 a0, f64 a1){ 25 call.short cordic, a0, v0 39 .function f64 cordic(i32 a0, f64[] a1){ 45 jeq a0, loop_exit 56 .function f64 cordicsincos(f64 a0, f64[] a1){ 66 call.short FIXED, a0, a0 127 .function f64 FLOAT(f64 a0){ 129 lda.64 a0 134 .function f64 FIXED(f64 a0){ 136 fmul2.64 a0 [all …]
|
| D | math-spectral-norm.pa | 15 .function f64 Math.sqrt(f64 a0) <external> 16 .function f64 Math.absF64(f64 a0) <external> 26 .function u1 test(i32 a0, i32 a1, f64 a2){ 28 mov v4, a0 #loop counter 29 lda a0 54 .function f64 spectralnorm(i32 a0){ 55 mov v0, a0 65 jeq a0, loop_exit 89 jeq a0, loop3_exit 115 .function void AtAu(f64[] a0, f64[] a1, f64[] a2){ [all …]
|
| /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> { 17 lda a0 25 # (a0 >>> 21) | ~a1 26 .function i32 or_not_shr_i32(i32 a0, i32 a1) <static> { 28 lda a0 36 # (a0 >> 21) | ~a1 37 .function i32 or_not_ashr_i32(i32 a0, i32 a1) <static> { 39 lda a0 47 # a1 | ~(a0 << 21) [all …]
|
| D | math-62.pa | 14 # (a0 << 21) ^ a1 15 .function i32 xor_shl_i32(i32 a0, i32 a1) <static> { 17 lda a0 22 # (a0 >>> 21) ^ a1 23 .function i32 xor_shr_i32(i32 a0, i32 a1) <static> { 25 lda a0 30 # (a0 >> 21) ^ a1 31 .function i32 xor_ashr_i32(i32 a0, i32 a1) <static> { 33 lda a0 38 # a1 ^ (a0 << 21) [all …]
|
| D | math-60.pa | 14 # (a0 << 21) & a1 15 .function i32 and_shl_i32(i32 a0, i32 a1) <static> { 17 lda a0 22 # (a0 >>> 21) & a1 23 .function i32 and_shr_i32(i32 a0, i32 a1) <static> { 25 lda a0 30 # (a0 >> 21) & a1 31 .function i32 and_ashr_i32(i32 a0, i32 a1) <static> { 33 lda a0 38 # a1 & (a0 << 21) [all …]
|
| D | math-59.pa | 14 # (a0 << 21) - a1 15 .function i32 sub_shl_i32(i32 a0, i32 a1) <static> { 17 lda a0 22 # (a0 >>> 21) - a1 23 .function i32 sub_shr_i32(i32 a0, i32 a1) <static> { 25 lda a0 30 # (a0 >> 21) - a1 31 .function i32 sub_ashr_i32(i32 a0, i32 a1) <static> { 33 lda a0 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> { 17 lda a0 25 # (a0 >>> 21) & ~a1 26 .function i32 and_not_shr_i32(i32 a0, i32 a1) <static> { 28 lda a0 36 # (a0 >> 21) & ~a1 37 .function i32 and_not_ashr_i32(i32 a0, i32 a1) <static> { 39 lda a0 47 # a1 & ~(a0 << 21) [all …]
|
| D | math-58.pa | 14 # (a0 << 21) + a1 15 .function i32 add_shl_i32(i32 a0, i32 a1) <static> { 17 lda a0 22 # (a0 >>> 21) + a1 23 .function i32 add_shr_i32(i32 a0, i32 a1) <static> { 25 lda a0 30 # (a0 >> 21) + a1 31 .function i32 add_ashr_i32(i32 a0, i32 a1) <static> { 33 lda a0 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> { 17 lda a0 25 # (a0 >>> 21) ^ ~a1 26 .function i32 xor_not_shr_i32(i32 a0, i32 a1) <static> { 28 lda a0 36 # (a0 >> 21) ^ ~a1 37 .function i32 xor_not_ashr_i32(i32 a0, i32 a1) <static> { 39 lda a0 47 # a1 ^ ~(a0 << 21) [all …]
|
| D | math-61.pa | 14 # (a0 << 21) | a1 15 .function i32 or_shl_i32(i32 a0, i32 a1) <static> { 17 lda a0 22 # (a0 >>> 21) | a1 23 .function i32 or_shr_i32(i32 a0, i32 a1) <static> { 25 lda a0 30 # (a0 >> 21) | a1 31 .function i32 or_ashr_i32(i32 a0, i32 a1) <static> { 33 lda a0 38 # a1 & (a0 << 21) [all …]
|
| D | arrays-06.pa | 103 .function i32 foo1(i32 a0){ 104 newarr v1, a0, i32[] 109 jeq a0, loop_exit 120 lda a0 122 sta a0 123 call.short foo2, a0, v2 128 .function i32 foo2(i32 a0){ 129 newarr v1, a0, i32[] 134 jeq a0, loop_exit 145 lda a0 [all …]
|
| D | tst-select.pa | 17 .function i32 testVarsEqZeroI32(i32 a0, i32 a1) { 18 lda a0 28 .function i32 testVarsNeZeroI32(i32 a0, i32 a1) { 29 lda a0 39 .function i32 testVarSmallImmEqZeroI32(i32 a0) { 41 and2 a0 50 .function i32 testVarSmallImmNeZeroI32(i32 a0) { 52 and2 a0 61 .function i32 testVarLargeImmEqZeroI32(i32 a0) { 63 and2 a0 [all …]
|
| D | tst-compare.pa | 17 .function i32 testVarsEqZeroI32(i32 a0, i32 a1) { 18 lda a0 28 .function i32 testVarsNeZeroI32(i32 a0, i32 a1) { 29 lda a0 39 .function i32 testVarSmallImmEqZeroI32(i32 a0) { 41 and2 a0 50 .function i32 testVarSmallImmNeZeroI32(i32 a0) { 52 and2 a0 61 .function i32 testVarLargeImmEqZeroI32(i32 a0) { 63 and2 a0 [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) { 32 lda a0 39 # a2 - a0 * a1 [all …]
|
| D | tst-branch.pa | 28 .function i32 testVarsEqZeroI32(i32 a0, i32 a1) { 29 lda a0 39 .function i32 testVarsNeZeroI32(i32 a0, i32 a1) { 40 lda a0 50 .function i32 testVarSmallImmEqZeroI32(i32 a0) { 52 and2 a0 61 .function i32 testVarSmallImmNeZeroI32(i32 a0) { 63 and2 a0 72 .function i32 testVarLargeImmEqZeroI32(i32 a0) { 74 and2 a0 [all …]
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | inline_external.pa | 31 .function i32 A.getConst_virt(A a0) { 36 .function i32 A.getParam(i32 a0) <static> { 37 lda a0 41 .function i32 A.getParam_virt(A a0, i32 a1) { 50 .function void A.getVoid_virt(A a0) { 54 .function i32 A.getObj(A a0) <static> { 55 ldobj a0, A.data 59 .function i32 A.getObj_virt(A a0) { 60 ldobj a0, A.data 64 .function void A.setObj(A a0, i32 a1) <static> { [all …]
|
| D | implicit_nullcheck_tests.pa | 62 .function panda.String panda.NullPointerException.getMessage(panda.NullPointerException a0) <extern… 70 .function i32 __noinline__call_ldarray(i32[] a0) { 73 ldarr a0 79 sta.obj a0 80 call.virt panda.NullPointerException.getMessage, a0 93 .function i32 __noinline__call_starray(i32[] a0) { 97 starr a0, v0 103 sta.obj a0 104 call.virt panda.NullPointerException.getMessage, a0 117 .function i32 __noinline__call_ldobj_i32(A a0) { [all …]
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | call.virt.range.yaml | 28 .function i32 R.nextRand(R a0) { 29 ldobj a0, R.currentValue 48 stobj a0, R.currentValue 100 .function void A.constructor(A a0) <ctor> { 105 .function void A.foo(A a0*s) %s { 190 .function void R.constructor(R a0) <ctor> { 195 .function void R.storeValues(R a0, %s) { 200 .function u32 R.test(R a0) { 238 stobj a0, R.f1 240 stobj a0, R.f2 [all …]
|
| /arkcompiler/runtime_core/disassembler/tests/sources/ |
| D | newarrs.pa | 16 .function u1 g(u1 a0) { 17 newarr v0, a0, u1[] 18 newarr v0, a0, i8[] 19 newarr v0, a0, u8[] 20 newarr v0, a0, i16[] 21 newarr v0, a0, u16[] 22 newarr v0, a0, i32[] 23 newarr v0, a0, u32[] 24 newarr v0, a0, f32[] 25 newarr v0, a0, f64[] [all …]
|
| D | calls.pa | 18 .function u8 B.Bhandler_unspec(B a0) { 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) { 52 .function u8 handler_short(u1 a0) { 56 .function u8 handler_short2(u1 a0, i64 a1) { 60 .function u16 handler_long(i8 a0, i16 a1, i32 a2) { [all …]
|