Home
last modified time | relevance | path

Searched refs:sad (Results 1 – 11 of 11) sorted by relevance

/art/test/660-checker-simd-sad/src/
DSimdSadShort3.java57 int sad = 0; in sadShort2IntParamRight() local
59 sad += Math.abs(s[i] - param); in sadShort2IntParamRight()
61 return sad; in sadShort2IntParamRight()
97 int sad = 0; in sadShort2IntParamLeft() local
99 sad += Math.abs(param - s[i]); in sadShort2IntParamLeft()
101 return sad; in sadShort2IntParamLeft()
137 int sad = 0; in sadShort2IntConstRight() local
139 sad += Math.abs(s[i] - 32767); in sadShort2IntConstRight()
141 return sad; in sadShort2IntConstRight()
177 int sad = 0; in sadShort2IntConstLeft() local
[all …]
DSimdSadShort.java30 short sad = 0; in sadShort2Short() local
32 sad += Math.abs(s1[i] - s2[i]); in sadShort2Short()
34 return sad; in sadShort2Short()
39 short sad = 0; in sadShort2ShortAlt() local
43 sad += s >= p ? s - p : p - s; in sadShort2ShortAlt()
45 return sad; in sadShort2ShortAlt()
50 short sad = 0; in sadShort2ShortAlt2() local
56 sad += x; in sadShort2ShortAlt2()
58 return sad; in sadShort2ShortAlt2()
94 int sad = 0; in sadShort2Int() local
[all …]
DSimdSadByte.java26 byte sad = 0; in sadByte2Byte()
28 sad += Math.abs(b1[i] - b2[i]); in sadByte2Byte()
30 return sad; in sadByte2Byte()
35 byte sad = 0; in sadByte2ByteAlt()
39 sad += s >= p ? s - p : p - s; in sadByte2ByteAlt()
41 return sad; in sadByte2ByteAlt()
46 byte sad = 0; in sadByte2ByteAlt2()
52 sad += x; in sadByte2ByteAlt2()
54 return sad; in sadByte2ByteAlt2()
59 short sad = 0; in sadByte2Short() local
[all …]
DSimdSadChar.java28 char sad = 0; in sadChar2Char() local
30 sad += Math.abs(s1[i] - s2[i]); in sadChar2Char()
32 return sad; in sadChar2Char()
37 char sad = 0; in sadChar2CharAlt() local
41 sad += s >= p ? s - p : p - s; in sadChar2CharAlt()
43 return sad; in sadChar2CharAlt()
48 char sad = 0; in sadChar2CharAlt2() local
54 sad += x; in sadChar2CharAlt2()
56 return sad; in sadChar2CharAlt2()
75 int sad = 0; in sadChar2Int() local
[all …]
DSimdSadShort2.java28 short sad = 0; in sadCastChar2Short() local
30 sad += Math.abs(((short) s1[i]) - ((short) s2[i])); in sadCastChar2Short()
32 return sad; in sadCastChar2Short()
37 short sad = 0; in sadCastChar2ShortAlt() local
41 sad += s >= p ? s - p : p - s; in sadCastChar2ShortAlt()
43 return sad; in sadCastChar2ShortAlt()
48 short sad = 0; in sadCastChar2ShortAlt2() local
55 sad += x; in sadCastChar2ShortAlt2()
57 return sad; in sadCastChar2ShortAlt2()
109 int sad = 0; in sadCastChar2Int() local
[all …]
DSimdSadInt.java62 int sad = 0; in sadInt2Int() local
64 sad += Math.abs(x[i] - y[i]); in sadInt2Int()
66 return sad; in sadInt2Int()
88 int sad = 0; in sadInt2IntAlt() local
92 sad += s >= p ? s - p : p - s; in sadInt2IntAlt()
94 return sad; in sadInt2IntAlt()
137 int sad = 0; in sadInt2IntAlt2() local
143 sad += m; in sadInt2IntAlt2()
145 return sad; in sadInt2IntAlt2()
185 long sad = 0; in sadInt2Long() local
[all …]
DSimdSadLong.java57 long sad = 0; in sadLong2Long() local
59 sad += Math.abs(x[i] - y[i]); in sadLong2Long()
61 return sad; in sadLong2Long()
84 long sad = 0; in sadLong2LongAlt() local
88 sad += s >= p ? s - p : p - s; in sadLong2LongAlt()
90 return sad; in sadLong2LongAlt()
128 long sad = 0; in sadLong2LongAlt2() local
134 sad += m; in sadLong2LongAlt2()
136 return sad; in sadLong2LongAlt2()
174 long sad = 1; // starts at 1 in sadLong2LongAt1() local
[all …]
/art/test/660-checker-sad/
DAndroid.bp3 // Build rules for ART run-test `660-checker-sad`.
16 name: "art-run-test-660-checker-sad",
21 ":art-run-test-660-checker-sad-expected-stdout",
22 ":art-run-test-660-checker-sad-expected-stderr",
31 name: "art-run-test-660-checker-sad-expected-stdout",
32 out: ["art-run-test-660-checker-sad-expected-stdout.txt"],
39 name: "art-run-test-660-checker-sad-expected-stderr",
40 out: ["art-run-test-660-checker-sad-expected-stderr.txt"],
/art/test/660-checker-simd-sad/
DAndroid.bp3 // Build rules for ART run-test `660-checker-simd-sad`.
16 name: "art-run-test-660-checker-simd-sad",
21 ":art-run-test-660-checker-simd-sad-expected-stdout",
22 ":art-run-test-660-checker-simd-sad-expected-stderr",
31 name: "art-run-test-660-checker-simd-sad-expected-stdout",
32 out: ["art-run-test-660-checker-simd-sad-expected-stdout.txt"],
39 name: "art-run-test-660-checker-simd-sad-expected-stderr",
40 out: ["art-run-test-660-checker-simd-sad-expected-stderr.txt"],
/art/test/623-checker-loop-regressions/src/
DMain.java781 int sad = 0; in testSADAndSet() local
785 sad += temp; in testSADAndSet()
787 return sad; in testSADAndSet()
/art/
DTEST_MAPPING1187 "name": "art-run-test-660-checker-sad"
1190 "name": "art-run-test-660-checker-simd-sad"
2615 "name": "art-run-test-660-checker-sad[com.google.android.art.apex]"
2618 "name": "art-run-test-660-checker-simd-sad[com.google.android.art.apex]"
4061 "name": "art-run-test-660-checker-sad"
4064 "name": "art-run-test-660-checker-simd-sad"
5497 "name": "art-run-test-660-checker-sad"
5500 "name": "art-run-test-660-checker-simd-sad"