/ark/runtime_core/disassembler/tests/sources/ |
D | instructions.pa | 27 mov.64 v2, v3 47 sta.obj v2 59 ucmp v2 72 jeq v2, label 73 jne v2, label 74 jlt v2, label 75 jgt v2, label 76 jle v2, label 77 jge v2, label 85 add2 v2 [all …]
|
D | calls.pa | 91 call.virt B.Bhandler_short2, v4, v1, v2 93 call.virt B.Bhandler_long, v4, v0, v1, v2 103 call.short handler_short2, v1, v2 105 call handler_long, v0, v1, v2 107 call handler_long2, v0, v1, v2, v3 117 initobj.short B.Bhandler_short2, v1, v2 119 initobj B.Bhandler_long, v0, v1, v2 121 initobj B.Bhandler_long2, v0, v1, v2, v3 131 call.short handler_short2_ext, v1, v2 133 call handler_long_ext, v0, v1, v2 [all …]
|
/ark/runtime_core/libpandabase/tests/ |
D | utf_test.cpp | 225 const std::vector<uint8_t> v2 {0x7f, 0x00}; in TEST() local 226 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) < 0); in TEST() 231 const std::vector<uint8_t> v2 {0x00}; in TEST() local 232 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) > 0); in TEST() 237 const std::vector<uint8_t> v2 {0x7f, 0x00}; in TEST() local 238 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) == 0); in TEST() 243 const std::vector<uint8_t> v2 {0x01, 0x70, 0x00}; in TEST() local 244 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) > 0); in TEST() 249 const std::vector<uint8_t> v2 {0x01, 0x73, 0x00}; in TEST() local 250 EXPECT_TRUE(CompareMUtf8ToMUtf8(v1.data(), v2.data()) < 0); in TEST() [all …]
|
/ark/runtime_core/tests/benchmarks/ |
D | math-cordic.pa | 26 sta.64 v2 #total 41 movi v2, 0 #loop_counter 44 lda v2 49 inci v2, 1 58 fmovi.64 v2, 0.0 #y 75 lda.64 v2 86 fadd2.64 v2 87 sta.64 v2 99 call.short FLOAT, v2, v1 104 lda.64 v2 [all …]
|
D | math-spectral-norm.pa | 21 fmovi.64 v2, 8.909361304388094 22 call test, v0, v1, v2, v0 57 newarr v2, v0, f64[] #w 69 fstarr.64 v2, v6 80 call AtAu, v1, v3, v2, v1 81 call AtAu, v3, v1, v2, v1 122 movi v2, 0 #loop_counter 135 call.short A, v4, v2 147 fstarr.64 a1, v2 148 inci v2, 1 [all …]
|
D | access-nbody.pa | 43 fmovi.64 v2, -4.395717154909567 44 call test, v0, v1, v2 51 movi v2, 5 56 newarr v4, v2, Body[] 134 fmovi.64 v2, -1.16032004402742839e+00 160 fmovi.64 v2, 4.12479856412430479e+00 186 fmovi.64 v2, -1.51111514016986312e+01 212 fmovi.64 v2, -2.59193146099879641e+01 236 fmovi.64 v2, 0.0 268 fmovi.64 v2, 0.0 #pz [all …]
|
D | access-fannkuch.pa | 34 newarr v2, v0, i32[] #perm1 42 call.short init, v2, v2 58 ldarr v2 65 ldarr v2 73 ldarr v2 74 starr v2, v13 80 starr v2, v7 94 call.short init2, v1, v2 131 call.short init2, v4, v2 138 ldarr v2 [all …]
|
D | access-nsieve.pa | 17 movi v2, 1854053 18 call test, v0, v1, v2, v0 33 movi v2, 0 #sum 46 add2 v2 47 sta v2 52 lda v2 58 movi v2, 0 #count 70 lda v2 85 inci v2, 1 86 lda v2
|
D | access-binary-trees.pa | 37 sta v2 42 add2 v2 43 sta v2 45 add2 v2 64 sta v2 68 call.short bottomUpTree, v2, v3 72 sta v2 76 call.short bottomUpTree, v2, v3 100 mov v2, a0 #minDepth 101 lda v2 [all …]
|
D | 3d-morph.pa | 21 movi v2, 120 22 call test, v0, v1, v2, v0 83 sta.64 v2 88 fdiv2.64 v2 91 sta v2 109 jeq v2, loop2_exit 111 mul2 v2 139 movi v2, 0 144 lda v2 147 fstarr.64 a0, v2 [all …]
|
D | controlflow-recursive.pa | 17 movi v2, 504699 18 call test, v0, v1, v2, v0 74 sta v2 78 call.short ack, v0, v2 105 sta v2 106 add v1, v2 128 sta v2 129 call tak, v2, a0, a1, a0
|
D | bitops-3bit-bits-in-byte.pa | 17 movi v2, 204800000 18 call test, v0, v1, v2, v0 54 movi v2, 0xE994 #bi3b 59 shr v2, v3 66 shr v2, v3 74 shr v2, v3
|
/ark/runtime_core/tests/cts-assembly/ |
D | obj-14.pa | 42 sta.obj v2 43 call.short IO.printString, v2, v2 54 sta.obj v2 60 # v1[v3] = v2 61 lda.obj v2 75 # (for int v2=0; v2 != v0; v2++) 76 movi v2, 0 92 # v6[v2] = v5 94 starr.obj v6, v2 96 inci v2, 1 [all …]
|
D | arrays-06.pa | 106 movi v2, 0 #sum 114 add2 v2 115 sta v2 123 call.short foo2, a0, v2 124 add2 v2 131 movi v2, 0 #sum 139 add2 v2 140 sta v2 149 add2 v2 156 movi v2, 0 #sum [all …]
|
D | math-54.pa | 72 movi v2, -56 73 call msub_i32, v0, v1, v2 79 movi v2, -56 80 call msub_i32_var0, v0, v1, v2 86 movi v2, -56 87 call msub_i32_var1, v0, v1, v2 93 movi.64 v2, 19 94 call msub_i64, v0, v1, v2 101 movi.64 v2, 19 102 call msub_i64_var0, v0, v1, v2 [all …]
|
D | arrays-01.pa | 22 movi v2, 0 27 starr.64 v1, v2 28 inci v2, 1 29 lda v2 33 sta v2 38 jne v2, exit_failure 39 inci v2, -1 40 lda v2
|
D | arrays-03.pa | 46 movi v2, 0 51 fstarr.64 v1, v2 52 inci v2, 1 53 lda v2 57 sta v2 60 lda v2 63 lda v2 72 inci v2, -1 73 lda v2
|
D | arrays-04.pa | 46 movi v2, 0 51 fstarr.32 v1, v2 52 inci v2, 1 53 lda v2 57 sta v2 60 lda v2 63 lda v2 72 inci v2, -1 73 lda v2
|
D | arrays-02.pa | 44 movi v2, 0 48 starr v1, v2 49 inci v2, 1 50 lda v2 54 sta v2 58 jne v2, exit_failure 59 inci v2, -1 60 lda v2
|
D | intrinsics-04.pa | 22 sta.64 v2 23 call.short abs, v2, v2 29 sta.64 v2 30 call.short abs, v2, v2
|
D | intrinsics-03.pa | 22 sta v2 23 call.short abs, v2, v2 29 sta v2 30 call.short abs, v2, v2
|
/ark/runtime_core/runtime/tests/ |
D | math_helpers_test.cpp | 160 T v2 = GetNaN<T>(); in TestFcmpl() local 161 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 166 T v2 = 1.0; in TestFcmpl() local 167 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 172 T v2 = GetNaN<T>(); in TestFcmpl() local 173 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 178 T v2 = 2.0; in TestFcmpl() local 179 EXPECT_EQ(fcmpl<T>()(v1, v2), -1); in TestFcmpl() 184 T v2 = v1; in TestFcmpl() local 185 EXPECT_EQ(fcmpl<T>()(v1, v2), 0); in TestFcmpl() [all …]
|
/ark/runtime_core/verification/value/tests/ |
D | variables_test.cpp | 28 auto v2 = vars.NewVar(); in TEST_F() local 30 EXPECT_TRUE(v1 != v2); in TEST_F() 36 EXPECT_TRUE(v3 != v2 && v3 != v1 && v3 != v4); in TEST_F() 48 ForEach(vars.AllVariables(), [&count, &v1, &v2, &v4, &v5](auto v) { in TEST_F() 50 EXPECT_TRUE(v == v1 || v == v2 || v == v4 || v == v5); in TEST_F()
|
/ark/runtime_core/runtime/bridge/ |
D | bridge.h | 35 inline bool operator==(const DecodedTaggedValue &v1, const DecodedTaggedValue &v2) 37 return v1.value == v2.value && v1.tag == v2.tag; 40 inline bool operator!=(const DecodedTaggedValue &v1, const DecodedTaggedValue &v2) 42 return !(v1 == v2);
|
/ark/runtime_core/assembler/samples/ |
D | Bubblesort.pa | 29 movi v2, 0 35 starr.64 a0, v2 36 inci v2, 1 37 lda v2 48 sta v2 61 movi v2, 0 68 lda v2
|