/external/valgrind/main/none/tests/arm/ |
D | neon128.c | 357 TESTINSN_imm("vmov.i8 q2", q2, 0x7); in main() 371 TESTINSN_imm("vmvn.i8 q2", q2, 0x7); in main() 382 TESTINSN_imm("vorr.i16 q2", q2, 0x7); in main() 412 TESTINSN_bin("vadd.i32 q0, q1, q2", q0, q1, i32, 24, q2, i32, 120); in main() 413 TESTINSN_bin("vadd.i64 q0, q1, q2", q0, q1, i32, 140, q2, i32, 120); in main() 414 TESTINSN_bin("vadd.i32 q0, q1, q2", q0, q1, i32, 140, q2, i32, 120); in main() 415 TESTINSN_bin("vadd.i16 q0, q1, q2", q0, q1, i32, 140, q2, i32, 120); in main() 416 TESTINSN_bin("vadd.i8 q0, q1, q2", q0, q1, i32, 140, q2, i32, 120); in main() 417 TESTINSN_bin("vadd.i8 q0, q1, q2", q0, q1, i32, (1 << 31) + 1, q2, i32, (1 << 31) + 2); in main() 418 TESTINSN_bin("vadd.i16 q0, q1, q2", q0, q1, i32, (1 << 31) + 1, q2, i32, (1 << 31) + 2); in main() [all …]
|
/external/llvm/test/MC/ARM/ |
D | vmov-vmvn-byte-replicate.s | 6 @ CHECK: vmov.i8 q2, #0xff @ encoding: [0x5f,0x4e,0x87,0xf3] 8 @ CHECK: vmov.i8 q2, #0xab @ encoding: [0x5b,0x4e,0x82,0xf3] 9 @ CHECK: vmov.i8 q2, #0xab @ encoding: [0x5b,0x4e,0x82,0xf3] 10 @ CHECK: vmov.i8 q2, #0xab @ encoding: [0x5b,0x4e,0x82,0xf3] 13 @ CHECK: vmov.i8 q2, #0x0 @ encoding: [0x50,0x4e,0x80,0xf2] 15 @ CHECK: vmov.i8 q2, #0x54 @ encoding: [0x54,0x4e,0x85,0xf2] 17 @ CHECK: vmov.i8 q2, #0x54 @ encoding: [0x54,0x4e,0x85,0xf2] 20 vmov.i32 q2, #0xffffffff 22 vmov.i32 q2, #0xabababab 23 vmov.i16 q2, #0xabab [all …]
|
D | thumb-neon-crypto.s | 19 sha1c.32 q0, q1, q2 20 @ CHECK: sha1c.32 q0, q1, q2 @ encoding: [0x02,0xef,0x44,0x0c] 21 sha1m.32 q0, q1, q2 22 @ CHECK: sha1m.32 q0, q1, q2 @ encoding: [0x22,0xef,0x44,0x0c] 23 sha1p.32 q0, q1, q2 24 @ CHECK: sha1p.32 q0, q1, q2 @ encoding: [0x12,0xef,0x44,0x0c] 25 sha1su0.32 q0, q1, q2 26 @ CHECK: sha1su0.32 q0, q1, q2 @ encoding: [0x32,0xef,0x44,0x0c] 27 sha256h.32 q0, q1, q2 28 @ CHECK: sha256h.32 q0, q1, q2 @ encoding: [0x02,0xff,0x44,0x0c] [all …]
|
D | vorr-vbic-illegal-cases.s | 7 @ CHECK: vorr.i32 q2, #0xffffffff 11 @ CHECK: vorr.i32 q2, #0xabababab 13 @ CHECK: vorr.i16 q2, #0xabab 15 @ CHECK: vorr.i16 q2, #0xabab 20 @ CHECK: vbic.i32 q2, #0xffffffff 24 @ CHECK: vbic.i32 q2, #0xabababab 28 @ CHECK: vbic.i16 q2, #0xabab 31 vorr.i32 q2, #0xffffffff 33 vorr.i32 q2, #0xabababab 34 vorr.i16 q2, #0xabab [all …]
|
D | vmov-vmvn-illegal-cases.s | 7 @ CHECK: vmov.i32 q2, #0xffffffab 9 @ CHECK: vmov.i16 q2, #0xffab 11 @ CHECK: vmov.i16 q2, #0xffab 16 @ CHECK: vmvn.i32 q2, #0xffffffab 18 @ CHECK: vmvn.i16 q2, #0xffab 20 @ CHECK: vmvn.i16 q2, #0xffab 23 vmov.i32 q2, #0xffffffab 24 vmov.i16 q2, #0xffab 25 vmov.i16 q2, #0xffab 28 vmvn.i32 q2, #0xffffffab [all …]
|
D | neon-crypto.s | 27 sha1c.32 q0, q1, q2 28 sha1m.32 q0, q1, q2 29 sha1p.32 q0, q1, q2 30 sha1su0.32 q0, q1, q2 31 sha256h.32 q0, q1, q2 32 sha256h2.32 q0, q1, q2 33 sha256su1.32 q0, q1, q2 34 @ CHECK: sha1c.32 q0, q1, q2 @ encoding: [0x44,0x0c,0x02,0xf2] 35 @ CHECK: sha1m.32 q0, q1, q2 @ encoding: [0x44,0x0c,0x22,0xf2] 36 @ CHECK: sha1p.32 q0, q1, q2 @ encoding: [0x44,0x0c,0x12,0xf2] [all …]
|
D | neon-minmax-encoding.s | 19 vmax.s8 q1, q2, q3 27 vmax.s8 q2, q3 30 vmax.u8 q11, q2 33 vmax.f32 q2, q1 49 @ CHECK: vmax.s8 q1, q2, q3 @ encoding: [0x46,0x26,0x04,0xf2] 56 @ CHECK: vmax.s8 q2, q2, q3 @ encoding: [0x46,0x46,0x04,0xf2] 59 @ CHECK: vmax.u8 q11, q11, q2 @ encoding: [0xc4,0x66,0x46,0xf3] 62 @ CHECK: vmax.f32 q2, q2, q1 @ encoding: [0x42,0x4f,0x04,0xf2] 81 vmin.s8 q1, q2, q3 89 vmin.s8 q2, q3 [all …]
|
D | neont2-minmax-encoding.s | 21 vmax.s8 q1, q2, q3 29 vmax.s8 q2, q3 32 vmax.u8 q11, q2 35 vmax.f32 q2, q1 51 @ CHECK: vmax.s8 q1, q2, q3 @ encoding: [0x04,0xef,0x46,0x26] 58 @ CHECK: vmax.s8 q2, q2, q3 @ encoding: [0x04,0xef,0x46,0x46] 61 @ CHECK: vmax.u8 q11, q11, q2 @ encoding: [0x46,0xff,0xc4,0x66] 64 @ CHECK: vmax.f32 q2, q2, q1 @ encoding: [0x04,0xef,0x42,0x4f] 83 vmin.s8 q1, q2, q3 91 vmin.s8 q2, q3 [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
D | ftbbox.c | 227 FT_Pos q1, q2, q3, q4; 231 q2 = p2; 237 while ( q2 > *max || q3 > *max ) 240 if ( q1 + q2 > q3 + q4 ) /* first half */ 243 q3 = q3 + q2; 244 q2 = q2 + q1; 246 q3 = q3 + q2; 249 q2 = q2 / 2; 253 q1 = q1 + q2; 254 q2 = q2 + q3; [all …]
|
/external/chromium_org/third_party/freetype/src/base/ |
D | ftbbox.c | 227 FT_Pos q1, q2, q3, q4; 231 q2 = p2; 237 while ( q2 > *max || q3 > *max ) 240 if ( q1 + q2 > q3 + q4 ) /* first half */ 243 q3 = q3 + q2; 244 q2 = q2 + q1; 246 q3 = q3 + q2; 249 q2 = q2 / 2; 253 q1 = q1 + q2; 254 q2 = q2 + q3; [all …]
|
/external/eigen/test/ |
D | geo_quaternion.cpp | 71 Quaternionx q1, q2; in quaternion() local 72 q2.setIdentity(); in quaternion() 73 VERIFY_IS_APPROX(Quaternionx(Quaternionx::Identity()).coeffs(), q2.coeffs()); in quaternion() 75 VERIFY_IS_APPROX(q1.coeffs(), (q1*q2).coeffs()); in quaternion() 78 q1 *= q2; in quaternion() 81 q2 = AngleAxisx(a, v1.normalized()); in quaternion() 84 Scalar refangle = abs(AngleAxisx(q1.inverse()*q2).angle()); in quaternion() 88 if((q1.coeffs()-q2.coeffs()).norm() > 10*largeEps) in quaternion() 90 VERIFY_IS_MUCH_SMALLER_THAN(abs(q1.angularDistance(q2) - refangle), Scalar(1)); in quaternion() 95 VERIFY_IS_APPROX(q1 * q2 * v2, in quaternion() [all …]
|
/external/skia/experimental/Intersection/ |
D | QuadraticImplicit.cpp | 27 static int findRoots(const QuadImplicitForm& i, const Quadratic& q2, double roots[4], in findRoots() argument 30 set_abc(&q2[0].x, a, b, c); in findRoots() 32 set_abc(&q2[0].y, d, e, f); in findRoots() 80 static bool onlyEndPtsInCommon(const Quadratic& q1, const Quadratic& q2, Intersections& i) { in onlyEndPtsInCommon() argument 103 double test = (q2[n].y - origY) * adj - (q2[n].x - origX) * opp; in onlyEndPtsInCommon() 110 if (q1[i1] == q2[i2]) { in onlyEndPtsInCommon() 126 static bool addIntercept(const Quadratic& q1, const Quadratic& q2, double tMin, double tMax, in addIntercept() argument 130 xy_at_t(q2, tMid, mid.x, mid.y); in addIntercept() 133 _Vector dxdy = dxdy_at_t(q2, tMid); in addIntercept() 156 static bool isLinearInner(const Quadratic& q1, double t1s, double t1e, const Quadratic& q2, in isLinearInner() argument [all …]
|
D | QuadraticBezierClip.cpp | 15 bool bezier_clip(const Quadratic& q1, const Quadratic& q2, double& minT, double& maxT) { in bezier_clip() argument 41 endLine.quadDistanceY(q2, distance2y); in bezier_clip() 72 r2.setBounds(q2); in bezier_clip() 78 q2[0].x, q2[0].y, q2[1].x, q2[1].y, q2[2].x, q2[2].y, minT, maxT); in bezier_clip()
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
D | QuadraticImplicit.cpp | 27 static int findRoots(const QuadImplicitForm& i, const Quadratic& q2, double roots[4], in findRoots() argument 30 set_abc(&q2[0].x, a, b, c); in findRoots() 32 set_abc(&q2[0].y, d, e, f); in findRoots() 80 static bool onlyEndPtsInCommon(const Quadratic& q1, const Quadratic& q2, Intersections& i) { in onlyEndPtsInCommon() argument 103 double test = (q2[n].y - origY) * adj - (q2[n].x - origX) * opp; in onlyEndPtsInCommon() 110 if (q1[i1] == q2[i2]) { in onlyEndPtsInCommon() 126 static bool addIntercept(const Quadratic& q1, const Quadratic& q2, double tMin, double tMax, in addIntercept() argument 130 xy_at_t(q2, tMid, mid.x, mid.y); in addIntercept() 133 _Vector dxdy = dxdy_at_t(q2, tMid); in addIntercept() 156 static bool isLinearInner(const Quadratic& q1, double t1s, double t1e, const Quadratic& q2, in isLinearInner() argument [all …]
|
D | QuadraticBezierClip.cpp | 15 bool bezier_clip(const Quadratic& q1, const Quadratic& q2, double& minT, double& maxT) { in bezier_clip() argument 41 endLine.quadDistanceY(q2, distance2y); in bezier_clip() 72 r2.setBounds(q2); in bezier_clip() 78 q2[0].x, q2[0].y, q2[1].x, q2[1].y, q2[2].x, q2[2].y, minT, maxT); in bezier_clip()
|
/external/chromium_org/v8/src/base/ |
D | division-by-constant.cc | 35 T q2 = min / ad; // Init. q2 = 2**p/|d|. in SignedDivisionByConstant() local 36 T r2 = min - q2 * ad; // Init. r2 = rem(2**p, |d|). in SignedDivisionByConstant() 46 q2 = 2 * q2; // Update q2 = 2**p/|d|. in SignedDivisionByConstant() 49 q2 = q2 + 1; in SignedDivisionByConstant() 54 T mul = q2 + 1; in SignedDivisionByConstant() 73 T q2 = max / d; // Init. q2 = (2**p - 1)/d. in UnsignedDivisionByConstant() local 74 T r2 = max - q2 * d; // Init. r2 = rem(2**p - 1, d). in UnsignedDivisionByConstant() 86 if (q2 >= max) a = true; in UnsignedDivisionByConstant() 87 q2 = 2 * q2 + 1; in UnsignedDivisionByConstant() 90 if (q2 >= min) a = true; in UnsignedDivisionByConstant() [all …]
|
/external/chromium_org/third_party/skia/src/pathops/ |
D | SkDQuadIntersection.cpp | 81 static bool only_end_pts_in_common(const SkDQuad& q1, const SkDQuad& q2) { in only_end_pts_in_common() argument 104 double test = (q2[n].fY - origY) * adj - (q2[n].fX - origX) * opp; in only_end_pts_in_common() 119 static bool add_intercept(const SkDQuad& q1, const SkDQuad& q2, double tMin, double tMax, in add_intercept() argument 122 SkDPoint mid = q2.ptAtT(tMid); in add_intercept() 125 SkDVector dxdy = q2.dxdyAtT(tMid); in add_intercept() 148 static bool is_linear_inner(const SkDQuad& q1, double t1s, double t1e, const SkDQuad& q2, in is_linear_inner() argument 158 int roots = rootTs.intersect(q2, *testLines[index]); in is_linear_inner() 165 SkDPoint qPt = q2.ptAtT(t); in is_linear_inner() 188 SkDPoint end = q2.ptAtT(t2s); in is_linear_inner() 193 end = q2.ptAtT(t2e); in is_linear_inner() [all …]
|
/external/skia/src/pathops/ |
D | SkDQuadIntersection.cpp | 81 static bool only_end_pts_in_common(const SkDQuad& q1, const SkDQuad& q2) { in only_end_pts_in_common() argument 104 double test = (q2[n].fY - origY) * adj - (q2[n].fX - origX) * opp; in only_end_pts_in_common() 119 static bool add_intercept(const SkDQuad& q1, const SkDQuad& q2, double tMin, double tMax, in add_intercept() argument 122 SkDPoint mid = q2.ptAtT(tMid); in add_intercept() 125 SkDVector dxdy = q2.dxdyAtT(tMid); in add_intercept() 148 static bool is_linear_inner(const SkDQuad& q1, double t1s, double t1e, const SkDQuad& q2, in is_linear_inner() argument 158 int roots = rootTs.intersect(q2, *testLines[index]); in is_linear_inner() 165 SkDPoint qPt = q2.ptAtT(t); in is_linear_inner() 188 SkDPoint end = q2.ptAtT(t2s); in is_linear_inner() 193 end = q2.ptAtT(t2e); in is_linear_inner() [all …]
|
/external/libvpx/libvpx/vp8/common/arm/neon/ |
D | dequant_idct_neon.c | 24 int16x8_t q1, q2, q3, q4, q5, q6; in vp8_dequant_idct_add_neon() local 55 q2 = vreinterpretq_s16_u16(vmulq_u16(vreinterpretq_u16_s16(q4), in vp8_dequant_idct_add_neon() 58 d12 = vqadd_s16(vget_low_s16(q1), vget_low_s16(q2)); in vp8_dequant_idct_add_neon() 59 d13 = vqsub_s16(vget_low_s16(q1), vget_low_s16(q2)); in vp8_dequant_idct_add_neon() 61 q2 = vcombine_s16(vget_high_s16(q1), vget_high_s16(q2)); in vp8_dequant_idct_add_neon() 63 q3 = vqdmulhq_n_s16(q2, sinpi8sqrt2); in vp8_dequant_idct_add_neon() 64 q4 = vqdmulhq_n_s16(q2, cospi8sqrt2minus1); in vp8_dequant_idct_add_neon() 69 q3 = vqaddq_s16(q3, q2); in vp8_dequant_idct_add_neon() 70 q4 = vqaddq_s16(q4, q2); in vp8_dequant_idct_add_neon() 88 q2 = vcombine_s16(d2tmp2.val[1], d2tmp3.val[1]); in vp8_dequant_idct_add_neon() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/arm/neon/ |
D | dequant_idct_neon.c | 24 int16x8_t q1, q2, q3, q4, q5, q6; in vp8_dequant_idct_add_neon() local 55 q2 = vreinterpretq_s16_u16(vmulq_u16(vreinterpretq_u16_s16(q4), in vp8_dequant_idct_add_neon() 58 d12 = vqadd_s16(vget_low_s16(q1), vget_low_s16(q2)); in vp8_dequant_idct_add_neon() 59 d13 = vqsub_s16(vget_low_s16(q1), vget_low_s16(q2)); in vp8_dequant_idct_add_neon() 61 q2 = vcombine_s16(vget_high_s16(q1), vget_high_s16(q2)); in vp8_dequant_idct_add_neon() 63 q3 = vqdmulhq_n_s16(q2, sinpi8sqrt2); in vp8_dequant_idct_add_neon() 64 q4 = vqdmulhq_n_s16(q2, cospi8sqrt2minus1); in vp8_dequant_idct_add_neon() 69 q3 = vqaddq_s16(q3, q2); in vp8_dequant_idct_add_neon() 70 q4 = vqaddq_s16(q4, q2); in vp8_dequant_idct_add_neon() 88 q2 = vcombine_s16(d2tmp2.val[1], d2tmp3.val[1]); in vp8_dequant_idct_add_neon() [all …]
|
/external/freetype/src/base/ |
D | ftbbox.c | 207 FT_Pos q2, in update_cubic_max() argument 214 while ( q2 > max || q3 > max ) in update_cubic_max() 217 if ( q1 + q2 > q3 + q4 ) /* first half */ in update_cubic_max() 220 q3 = q3 + q2; in update_cubic_max() 221 q2 = q2 + q1; in update_cubic_max() 223 q3 = q3 + q2; in update_cubic_max() 226 q2 = q2 / 2; in update_cubic_max() 230 q1 = q1 + q2; in update_cubic_max() 231 q2 = q2 + q3; in update_cubic_max() 233 q1 = q1 + q2; in update_cubic_max() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
D | vp9_loopfilter_filters.c | 25 uint8_t q2, uint8_t q3) { in filter_mask() argument 31 mask |= (abs(q2 - q1) > limit) * -1; in filter_mask() 32 mask |= (abs(q3 - q2) > limit) * -1; in filter_mask() 41 uint8_t q2, uint8_t q3) { in flat_mask4() argument 46 mask |= (abs(q2 - q0) > thresh) * -1; in flat_mask4() 56 uint8_t q1, uint8_t q2, in flat_mask5() argument 58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3); in flat_mask5() 114 const uint8_t q0 = s[0 * p], q1 = s[1 * p], q2 = s[2 * p], q3 = s[3 * p]; in vp9_lpf_horizontal_4_c() local 116 p3, p2, p1, p0, q0, q1, q2, q3); in vp9_lpf_horizontal_4_c() 139 const uint8_t q0 = s[0], q1 = s[1], q2 = s[2], q3 = s[3]; in vp9_lpf_vertical_4_c() local [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_loopfilter_filters.c | 25 uint8_t q2, uint8_t q3) { in filter_mask() argument 31 mask |= (abs(q2 - q1) > limit) * -1; in filter_mask() 32 mask |= (abs(q3 - q2) > limit) * -1; in filter_mask() 41 uint8_t q2, uint8_t q3) { in flat_mask4() argument 46 mask |= (abs(q2 - q0) > thresh) * -1; in flat_mask4() 56 uint8_t q1, uint8_t q2, in flat_mask5() argument 58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3); in flat_mask5() 114 const uint8_t q0 = s[0 * p], q1 = s[1 * p], q2 = s[2 * p], q3 = s[3 * p]; in vp9_lpf_horizontal_4_c() local 116 p3, p2, p1, p0, q0, q1, q2, q3); in vp9_lpf_horizontal_4_c() 139 const uint8_t q0 = s[0], q1 = s[1], q2 = s[2], q3 = s[3]; in vp9_lpf_vertical_4_c() local [all …]
|
/external/openssl/crypto/aes/asm/ |
D | aesv8-armx.S | 24 vld1.32 {q1,q2},[r3]! 90 vsub.i8 q2,q2,q10 @ adjust the mask 207 vld1.8 {q2},[r0] 212 .byte 0x00,0x43,0xb0,0xf3 @ aese q2,q0 214 .byte 0x84,0x43,0xb0,0xf3 @ aesmc q2,q2 216 .byte 0x02,0x43,0xb0,0xf3 @ aese q2,q1 218 .byte 0x84,0x43,0xb0,0xf3 @ aesmc q2,q2 221 .byte 0x00,0x43,0xb0,0xf3 @ aese q2,q0 223 .byte 0x84,0x43,0xb0,0xf3 @ aesmc q2,q2 224 .byte 0x02,0x43,0xb0,0xf3 @ aese q2,q1 [all …]
|
/external/libvpx/libvpx/vp9/common/arm/neon/ |
D | vp9_loopfilter_16_neon.asm | 63 vld1.u8 {q9}, [r2@64] ; q2 89 ; q2 thresh 96 ; q9 q2 111 vabd.u8 q3, q9, q8 ; m5 = abs(q2 - q1) 112 vabd.u8 q4, q10, q9 ; m6 = abs(q3 - q2) 126 vcgt.u8 q13, q13, q2 ; (abs(p1 - p0) > thresh)*-1 127 vcgt.u8 q14, q14, q2 ; (abs(q1 - q0) > thresh)*-1 130 vabd.u8 q2, q5, q8 ; a = abs(p1 - q1) 137 vshr.u8 q2, q2, #1 ; a = a / 2 141 vqadd.u8 q9, q9, q2 ; a = b + a [all …]
|