Home
last modified time | relevance | path

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

/art/test/660-checker-simd-sad-short3/src/
DMain.java48 int sad = 0; in sadShort2IntParamRight() local
50 sad += Math.abs(s[i] - param); in sadShort2IntParamRight()
52 return sad; in sadShort2IntParamRight()
79 int sad = 0; in sadShort2IntParamLeft() local
81 sad += Math.abs(param - s[i]); in sadShort2IntParamLeft()
83 return sad; in sadShort2IntParamLeft()
110 int sad = 0; in sadShort2IntConstRight() local
112 sad += Math.abs(s[i] - 32767); in sadShort2IntConstRight()
114 return sad; in sadShort2IntConstRight()
141 int sad = 0; in sadShort2IntConstLeft() local
[all …]
/art/test/660-checker-simd-sad-short/src/
DMain.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()
85 int sad = 0; in sadShort2Int() local
[all …]
/art/test/660-checker-simd-sad-byte/src/
DMain.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 …]
/art/test/660-checker-simd-sad-char/src/
DMain.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 …]
/art/test/660-checker-simd-sad-short2/src/
DMain.java28 short sad = 0; in sadCastedChar2Short() local
30 sad += Math.abs(((short) s1[i]) - ((short) s2[i])); in sadCastedChar2Short()
32 return sad; in sadCastedChar2Short()
37 short sad = 0; in sadCastedChar2ShortAlt() local
41 sad += s >= p ? s - p : p - s; in sadCastedChar2ShortAlt()
43 return sad; in sadCastedChar2ShortAlt()
48 short sad = 0; in sadCastedChar2ShortAlt2() local
54 sad += x; in sadCastedChar2ShortAlt2()
56 return sad; in sadCastedChar2ShortAlt2()
99 int sad = 0; in sadCastedChar2Int() local
[all …]
/art/test/660-checker-simd-sad-int/src/
DMain.java44 int sad = 0; in sadInt2Int() local
46 sad += Math.abs(x[i] - y[i]); in sadInt2Int()
48 return sad; in sadInt2Int()
70 int sad = 0; in sadInt2IntAlt() local
74 sad += s >= p ? s - p : p - s; in sadInt2IntAlt()
76 return sad; in sadInt2IntAlt()
101 int sad = 0; in sadInt2IntAlt2() local
107 sad += m; in sadInt2IntAlt2()
109 return sad; in sadInt2IntAlt2()
140 long sad = 0; in sadInt2Long() local
[all …]
/art/test/660-checker-simd-sad-long/src/
DMain.java48 long sad = 0; in sadLong2Long() local
50 sad += Math.abs(x[i] - y[i]); in sadLong2Long()
52 return sad; in sadLong2Long()
75 long sad = 0; in sadLong2LongAlt() local
79 sad += s >= p ? s - p : p - s; in sadLong2LongAlt()
81 return sad; in sadLong2LongAlt()
110 long sad = 0; in sadLong2LongAlt2() local
116 sad += m; in sadLong2LongAlt2()
118 return sad; in sadLong2LongAlt2()
147 long sad = 1; // starts at 1 in sadLong2LongAt1() local
[all …]