Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 75) sorted by relevance

123

/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali27 # CHECK-DAG: [[ArgX:i\d+]] ParameterValue
28 # CHECK-DAG: [[ArgY:z\d+]] ParameterValue
29 # CHECK-DAG: [[Cst1:i\d+]] IntConstant 1
30 # CHECK-DAG: [[Cst5:i\d+]] IntConstant 5
31 # CHECK-DAG: [[Cst7:i\d+]] IntConstant 7
32 # CHECK-DAG: [[PhiX:i\d+]] Phi [ [[ArgX]] [[Add5:i\d+]] [[Add7:i\d+]] ] loop_header:[[HeaderY:…
40 # CHECK-DAG: [[ArgX:i\d+]] ParameterValue
41 # CHECK-DAG: [[ArgY:z\d+]] ParameterValue
42 # CHECK-DAG: [[Cst7:i\d+]] IntConstant 7
43 # CHECK-DAG: [[PhiX:i\d+]] Phi [ [[ArgX]] [[AddX:i\d+]] ] loop_header:[[HeaderY:…
[all …]
/art/test/003-omnibus-opcodes/src/
DFloatMath.java26 double d; in convTest() local
50 d = (double) f; in convTest()
51 Main.assertTrue(d > 1238.567 && d < 1238.568); in convTest()
54 d = 1234.5678; in convTest()
55 i = (int) d; in convTest()
58 d = -1234.5678; in convTest()
59 i = (int) d; in convTest()
63 d = 5678956789.0123; in convTest()
64 l = (long) d; in convTest()
67 d = -5678956789.0123; in convTest()
[all …]
/art/test/027-arithmetic/src/
DMain.java56 long d = 0x44; in shiftTest2() local
62 long result = ((a << 56) | (b << 48) | (c << 40) | (d << 32) | in shiftTest2()
71 double d; in convTest() local
85 d = 1234.5678; in convTest()
86 i = (int) d; in convTest()
87 System.out.println("d=" + d + " --> i=" + i); in convTest()
89 d = -1234.5678; in convTest()
90 i = (int) d; in convTest()
91 System.out.println("d=" + d + " --> i=" + i); in convTest()
94 d = 5678956789.0123; in convTest()
[all …]
/art/test/405-optimizing-long-allocator/src/
DMain.java76 long d = 0; in $opt$TestFourLive() local
81 d++; in $opt$TestFourLive()
83 return d; in $opt$TestFourLive()
90 long d = 0; in $opt$TestMultipleLive() local
98 d++; in $opt$TestMultipleLive()
123 long d = 0; in $opt$testSpillInIf() local
128 d += 2; in $opt$testSpillInIf()
132 return a - b - c - d - e; in $opt$testSpillInIf()
135 …public static long $opt$TestAgressiveLive1(long a, long b, long c, long d, long e, long f, long g)… in $opt$TestAgressiveLive1() argument
137 long i = c - d; in $opt$TestAgressiveLive1()
[all …]
/art/test/105-invoke/src/
DMain.java31 int virI_IIII(int a, int b, int c, int d) { in virI_IIII() argument
32 return a + b + c + d + 919; in virI_IIII()
35 int virI_IIIII(int a, int b, int c, int d, int e) { in virI_IIIII() argument
36 return a + b + c + d + e + 1010; in virI_IIIII()
39 int virI_IIIIII(int a, int b, int c, int d, int e, int f) { in virI_IIIIII() argument
40 return a + b + c + d + e + f + 2020; in virI_IIIIII()
55 static int statI_IIII(int a, int b, int c, int d) { in statI_IIII() argument
56 return a + b + c + d + 919; in statI_IIII()
59 static int statI_IIIII(int a, int b, int c, int d, int e) { in statI_IIIII() argument
60 return a + b + c + d + e + 1010; in statI_IIIII()
[all …]
/art/test/404-optimizing-allocator/src/
DMain.java70 int d = 0; in $opt$reg$TestFourLive() local
75 d++; in $opt$reg$TestFourLive()
77 return d; in $opt$reg$TestFourLive()
84 int d = 0; in $opt$reg$TestMultipleLive() local
92 d++; in $opt$reg$TestMultipleLive()
117 int d = 0; in $opt$reg$testSpillInIf() local
122 d += 2; in $opt$reg$testSpillInIf()
126 return a - b - c - d - e; in $opt$reg$testSpillInIf()
129 public static int $opt$reg$TestAgressiveLive1(int a, int b, int c, int d, int e, int f, int g) { in $opt$reg$TestAgressiveLive1() argument
131 int i = c - d; in $opt$reg$TestAgressiveLive1()
[all …]
/art/test/StaticLeafMethods/
DStaticLeafMethods.java32 static int sum(int a, int b, int c, int d) { in sum() argument
33 return a + b + c + d; in sum()
35 static int sum(int a, int b, int c, int d, int e) { in sum() argument
36 return a + b + c + d + e; in sum()
47 static double sum(double a, double b, double c, double d) { in sum() argument
48 return a + b + c + d; in sum()
50 static double sum(double a, double b, double c, double d, double e) { in sum() argument
51 return a + b + c + d + e; in sum()
/art/test/NonStaticLeafMethods/
DNonStaticLeafMethods.java34 int sum(int a, int b, int c, int d) { in sum() argument
35 return a + b + c + d; in sum()
37 int sum(int a, int b, int c, int d, int e) { in sum() argument
38 return a + b + c + d + e; in sum()
49 double sum(double a, double b, double c, double d) { in sum() argument
50 return a + b + c + d; in sum()
52 double sum(double a, double b, double c, double d, double e) { in sum() argument
53 return a + b + c + d + e; in sum()
/art/test/474-fp-sub-neg/src/
DMain.java32 double d = 0; in doubleTest() local
35 d -= dc; in doubleTest()
36 d = -d; in doubleTest()
39 System.out.println(d); in doubleTest()
40 System.out.println(d + 0f); in doubleTest()
41 System.out.println(d - (-0f)); in doubleTest()
/art/compiler/optimizing/
Dintrinsics.cc77 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ? in GetIntrinsic()
80 return ((method.d.data & kIntrinsicFlagToFloatingPoint) == 0) ? in GetIntrinsic()
85 switch (GetType(method.d.data, true)) { in GetIntrinsic()
91 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data; in GetIntrinsic()
95 switch (GetType(method.d.data, true)) { in GetIntrinsic()
103 LOG(FATAL) << "Unknown/unsupported op size " << method.d.data; in GetIntrinsic()
119 return ((method.d.data & kIntrinsicFlagMin) == 0) ? in GetIntrinsic()
122 return ((method.d.data & kIntrinsicFlagMin) == 0) ? in GetIntrinsic()
125 return ((method.d.data & kIntrinsicFlagMin) == 0) ? in GetIntrinsic()
128 return ((method.d.data & kIntrinsicFlagMin) == 0) ? in GetIntrinsic()
[all …]
/art/test/439-swap-double/src/
DMain.java28 callWithDoubles(a, b, c, d, e, f, g); in foo()
29 callWithDoubles(b, c, d, e, f, g, a); in foo()
30 callWithDoubles(c, d, e, f, g, a, b); in foo()
31 callWithDoubles(d, e, f, g, a, b, c); in foo()
35 double a, double b, double c, double d, double e, double f, double g) { in callWithDoubles() argument
36 System.out.println(a - b - c - d - e - f - g); in callWithDoubles()
42 double d = 4.0; field in Main
/art/test/455-set-vreg/src/
DMain.java21 int testIntVReg(int a, int b, int c, int d, int e) { in testIntVReg() argument
23 return a - b - c - d - e; in testIntVReg()
26 long testLongVReg(long a, long b, long c, long d, long e) { in testLongVReg() argument
28 return a - b - c - d - e; in testLongVReg()
31 float testFloatVReg(float a, float b, float c, float d, float e) { in testFloatVReg() argument
33 return a - b - c - d - e; in testFloatVReg()
36 double testDoubleVReg(double a, double b, double c, double d, double e) { in testDoubleVReg() argument
38 return a - b - c - d - e; in testDoubleVReg()
/art/runtime/
Dreflection_test.cc198 args[0].d = 0.0; in InvokeIdentityDoubleMethod()
202 args[0].d = -1.0; in InvokeIdentityDoubleMethod()
206 args[0].d = DBL_MAX; in InvokeIdentityDoubleMethod()
210 args[0].d = DBL_MIN; in InvokeIdentityDoubleMethod()
384 args[0].d = 0.0; in InvokeSumDoubleDoubleMethod()
385 args[1].d = 0.0; in InvokeSumDoubleDoubleMethod()
389 args[0].d = 1.0; in InvokeSumDoubleDoubleMethod()
390 args[1].d = 2.0; in InvokeSumDoubleDoubleMethod()
394 args[0].d = 1.0; in InvokeSumDoubleDoubleMethod()
395 args[1].d = -2.0; in InvokeSumDoubleDoubleMethod()
[all …]
/art/test/704-multiply-accumulate/src/
DMain.java42 int d = c; in test_int() local
64 result = d*d; in test_int()
65 d++; in test_int()
77 ia[c] = d; // array out of bound. in test_int()
78 result += d; in test_int()
103 long d = c; in test_long() local
125 result = d*d; in test_long()
126 d++; in test_long()
140 result += d; in test_long()
/art/test/017-float/src/
DMain.java23 double d = 3.1415926535; in float_017() local
27 System.out.println("base values: d=" + d + " f=" + f); in float_017()
28 System.out.println("base values: d=" + d + " f=" + f); in float_017()
29 System.out.println("base values: f=" + f + " d=" + d); in float_017()
/art/runtime/mirror/
Darray-inl.h256 static inline void ArrayBackwardCopy(T* d, const T* s, int32_t count) { in ArrayBackwardCopy() argument
257 d += count; in ArrayBackwardCopy()
260 d--; in ArrayBackwardCopy()
262 *d = *s; in ArrayBackwardCopy()
269 static inline void ArrayForwardCopy(T* d, const T* s, int32_t count) { in ArrayForwardCopy() argument
271 *d = *s; in ArrayForwardCopy()
272 d++; in ArrayForwardCopy()
302 uint8_t* d = reinterpret_cast<uint8_t*>(dst_raw); in Memmove() local
304 memmove(d, s, count); in Memmove()
308 uint16_t* d = reinterpret_cast<uint16_t*>(dst_raw); in Memmove() local
[all …]
/art/runtime/entrypoints/
Dmath_entrypoints.cc35 extern "C" int64_t art_d2l(double d) { in art_d2l() argument
36 return art_float_to_integral<int64_t, double>(d); in art_d2l()
43 extern "C" int32_t art_d2i(double d) { in art_d2i() argument
44 return art_float_to_integral<int32_t, double>(d); in art_d2i()
Dmath_entrypoints.h24 extern "C" int64_t art_d2l(double d);
25 extern "C" int32_t art_d2i(double d);
/art/test/027-arithmetic/
Dexpected.txt3 d=1234.5678 --> i=1234
4 d=-1234.5678 --> i=-1234
5 d=5.6789567890123E9 --> l=5678956789
6 d=-5.6789567890123E9 --> l=-5678956789
/art/test/017-float/
Dexpected.txt1 base values: d=3.1415926535 f=3.1415927
2 base values: d=3.1415926535 f=3.1415927
3 base values: f=3.1415927 d=3.1415926535
/art/test/700-LoadArgRegs/
Dexpected.txt24 a, b, c, d
25 a, b, c, d, e
26 a, b, c, d, e, f
27 a, b, c, d, e, f, g
/art/test/440-stmp/src/
DMain.java24 baz(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o); in bar()
27 public static void baz(float a, float b, float c, float d, float e, float f, float g, in baz() argument
29 System.out.println(a - b - c - d - e - f - g - h - i - j - k - l - m - n - o); in baz()
35 float d = 4.0f; field in Main
/art/test/401-optimizing-compiler/src/
DMain.java146 static int $opt$TestInvokeWith5Parameters(int a, int b, int c, int d, int e) { in $opt$TestInvokeWith5Parameters() argument
147 return a - b - c - d - e; in $opt$TestInvokeWith5Parameters()
150 static int $opt$TestInvokeWith7Parameters(int a, int b, int c, int d, int e, int f, int g) { in $opt$TestInvokeWith7Parameters() argument
151 return a - b - c - d - e - f - g; in $opt$TestInvokeWith7Parameters()
194 public static void printStaticMethodWith5Args(int a, int b, int c, int d, int e) { in printStaticMethodWith5Args() argument
196 + a + " " + b + " " + c + " " + d + " " + e); in printStaticMethodWith5Args()
199 public static void printStaticMethodWith7Args(int a, int b, int c, int d, int e, int f, int g) { in printStaticMethodWith7Args() argument
201 + a + " " + b + " " + c + " " + d + " " + e + " " + f + " " + g); in printStaticMethodWith7Args()
/art/test/014-math3/src/
DMain.java26 double d = 0.0; in math_014() local
47 try { d = 10.0 / d; } in math_014()
/art/test/451-spill-splot/src/
DMain.java25 double d = 3.0; in main() local
50 System.out.println(a + b + c + d + e + f + g + h + i + j); in main()
54 d = computeDouble(); in main()
61 System.out.println(a + b + c + d + e + f + g + h + i + j); in main()

123