Home
last modified time | relevance | path

Searched refs:m2 (Results 1 – 25 of 529) sorted by relevance

12345678910>>...22

/external/valgrind/none/tests/s390x/
Dmul.h3 #define MUL_REG_MEM(insn, m1, m2) \ argument
13 : "Q" (m2) \
15 printf(#insn " %16.16lX * %16.16lX = %16.16lX%16.16lX\n", m1, m2, tmp1, tmp2); \
18 #define MUL_REG_REG(insn, m1, m2) \ argument
28 : "d" (m2) \
30 printf(#insn " %16.16lX * %16.16lX = %16.16lX%16.16lX\n", m1, m2, tmp1, tmp2); \
33 #define MUL_REG_IMM(insn, m1, m2) \ argument
39 #insn " 2, " #m2 "\n" \
44 printf(#insn " %16.16lX * %16.16lX = %16.16lX%16.16lX\n", m1, (unsigned long) m2, tmp1, tmp2); \
47 #define MUL_REG_XIMM(insn, m1, um2, m2) \ argument
[all …]
Dmul.c18 static void do_regmem_insns(unsigned long m2) in do_regmem_insns() argument
20 memsweep(m, m2); in do_regmem_insns()
21 regsweep(mr, m2); in do_regmem_insns()
22 memsweep(mh, m2); in do_regmem_insns()
23 memsweep(mlg, m2); in do_regmem_insns()
24 regsweep(mlgr, m2); in do_regmem_insns()
25 memsweep(ml, m2); in do_regmem_insns()
26 regsweep(mlr, m2); in do_regmem_insns()
27 memsweep(ms, m2); in do_regmem_insns()
28 regsweep(msr, m2); in do_regmem_insns()
[all …]
/external/eigen/test/
Dvectorwiseop.cpp27 m2(rows, cols), in vectorwiseop_array() local
35 m2 = m1; in vectorwiseop_array()
36 m2.colwise() += colvec; in vectorwiseop_array()
37 VERIFY_IS_APPROX(m2, m1.colwise() + colvec); in vectorwiseop_array()
38 VERIFY_IS_APPROX(m2.col(c), m1.col(c) + colvec); in vectorwiseop_array()
40 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_array()
43 m2 = m1; in vectorwiseop_array()
44 m2.rowwise() += rowvec; in vectorwiseop_array()
45 VERIFY_IS_APPROX(m2, m1.rowwise() + rowvec); in vectorwiseop_array()
46 VERIFY_IS_APPROX(m2.row(r), m1.row(r) + rowvec); in vectorwiseop_array()
[all …]
Dtriangular.cpp26 m2 = MatrixType::Random(rows, cols), in triangular_square() local
34 MatrixType m2up = m2.template triangularView<Upper>(); in triangular_square()
40 VERIFY(!m2.isLowerTriangular()); in triangular_square()
54 m1.template triangularView<Upper>() = m2.transpose() + m2; in triangular_square()
55 m3 = m2.transpose() + m2; in triangular_square()
60 m1.template triangularView<Lower>() = m2.transpose() + m2; in triangular_square()
83 …VERIFY(m2.isApprox(m3.adjoint() * (m1.adjoint().template triangularView<Lower>().solve(m2)), large… in triangular_square()
85 …VERIFY(m2.isApprox(m3.transpose() * (m1.transpose().template triangularView<Upper>().solve(m2)), l… in triangular_square()
87 VERIFY(m2.isApprox(m3 * (m1.template triangularView<Upper>().solve(m2)), largerEps)); in triangular_square()
89 …VERIFY(m2.isApprox(m3.conjugate() * (m1.conjugate().template triangularView<Lower>().solve(m2)), l… in triangular_square()
[all …]
Ddeterminant.cpp22 MatrixType m1(size, size), m2(size, size); in determinant() local
24 m2.setRandom(); in determinant()
28 VERIFY_IS_APPROX((m1*m2).eval().determinant(), m1.determinant() * m2.determinant()); in determinant()
35 m2 = m1; in determinant()
36 m2.row(i).swap(m2.row(j)); in determinant()
37 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
38 m2 = m1; in determinant()
39 m2.col(i).swap(m2.col(j)); in determinant()
40 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
41 VERIFY_IS_APPROX(m2.determinant(), m2.transpose().determinant()); in determinant()
[all …]
Dsparse_basic.cpp137 SparseMatrixType m2(rows,cols); in sparse_basic() local
139 m2.reserve(VectorXi::Constant(m2.outerSize(), 2)); in sparse_basic()
146 m2.insert(i,j) = m1(i,j) = internal::random<Scalar>(); in sparse_basic()
149 m2.finalize(); in sparse_basic()
150 VERIFY_IS_APPROX(m2,m1); in sparse_basic()
157 SparseMatrixType m2(rows,cols); in sparse_basic() local
159 m2.reserve(VectorXi::Constant(m2.outerSize(), 2)); in sparse_basic()
165 m2.insert(i,j) = m1(i,j) = internal::random<Scalar>(); in sparse_basic()
169 m2.coeffRef(i,j) += v; in sparse_basic()
173 VERIFY_IS_APPROX(m2,m1); in sparse_basic()
[all …]
Dinteger_types.cpp31 m2 = MatrixType::Random(rows, cols), in signed_integer_type_tests() local
36 } while(m1 == mzero || m1 == m2); in signed_integer_type_tests()
46 VERIFY_IS_EQUAL(-m2+m1+m2, m1); in signed_integer_type_tests()
47 VERIFY_IS_EQUAL((-m1+m2)*s1, -s1*m1+s1*m2); in signed_integer_type_tests()
67 m2 = MatrixType::Random(rows, cols), in integer_type_tests() local
80 } while(m1 == mzero || m1 == m2); in integer_type_tests()
103 VERIFY(m1!=m2); in integer_type_tests()
104 VERIFY(!(m1==m2)); in integer_type_tests()
106 m1 = m2; in integer_type_tests()
107 VERIFY(m1==m2); in integer_type_tests()
[all …]
Dnomalloc.cpp44 m2 = MatrixType::Random(rows, cols), in nomalloc() local
52 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); in nomalloc()
53 VERIFY_IS_APPROX((m1+m2)(r,c), (m1(r,c))+(m2(r,c))); in nomalloc()
55 VERIFY_IS_APPROX((m1*m1.transpose())*m2, m1*(m1.transpose()*m2)); in nomalloc()
57 m2.col(0).noalias() = m1 * m1.col(0); in nomalloc()
58 m2.col(0).noalias() -= m1.adjoint() * m1.col(0); in nomalloc()
59 m2.col(0).noalias() -= m1 * m1.row(0).adjoint(); in nomalloc()
60 m2.col(0).noalias() -= m1.adjoint() * m1.row(0).adjoint(); in nomalloc()
62 m2.row(0).noalias() = m1.row(0) * m1; in nomalloc()
63 m2.row(0).noalias() -= m1.row(0) * m1.adjoint(); in nomalloc()
[all …]
Dproduct_syrk.cpp25 m2 = MatrixType::Random(rows, cols), in syrk() local
37 m2.setZero(); in syrk()
38 VERIFY_IS_APPROX((m2.template selfadjointView<Lower>().rankUpdate(rhs2,s1)._expression()), in syrk()
40 m2.setZero(); in syrk()
41 …VERIFY_IS_APPROX(((m2.template triangularView<Lower>() += s1 * rhs2 * rhs22.adjoint()).nestedExpr… in syrk()
45 m2.setZero(); in syrk()
46 VERIFY_IS_APPROX(m2.template selfadjointView<Upper>().rankUpdate(rhs2,s1)._expression(), in syrk()
48 m2.setZero(); in syrk()
49 …VERIFY_IS_APPROX((m2.template triangularView<Upper>() += s1 * rhs22 * rhs2.adjoint()).nestedExpres… in syrk()
53 m2.setZero(); in syrk()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_sad4d_sse2.asm29 mova m2, m0
31 psubusw m2, m5
35 por m5, m2
39 mova m2, m0
41 psubusw m2, m7
45 por m7, m2
49 movu m2, [ref1q+%3*2]
51 movhps m2, [ref1q+%5*2]
53 psubusw m3, m2
54 psubusw m2, m0
[all …]
Dintrapred_sse2.asm93 movq m2, [leftq]
97 psadbw m2, m1
98 paddw m0, m2
207 mova m2, [leftq]
212 psadbw m2, m1
213 paddw m0, m2
214 movhlps m2, m0
215 paddw m0, m2
239 pxor m2, m2
245 psadbw m2, m1
[all …]
Dhighbd_subpel_variance_impl_sse2.asm201 movu m2, [srcq + 16]
206 pavgw m2, [secq+16]
208 SUM_SSE m0, m1, m2, m3, m6, m7
217 movu m2, [srcq + src_strideq*2]
223 pavgw m2, [secq]
225 SUM_SSE m0, m1, m2, m3, m6, m7
248 mova m2, [dstq]
256 SUM_SSE m0, m2, m1, m3, m6, m7
267 mova m2, [dstq]
276 SUM_SSE m0, m2, m1, m3, m6, m7
[all …]
/external/clang/test/CodeGen/
D3dnow-builtins.c8 __m64 test_m_pavgusb(__m64 m1, __m64 m2) { in test_m_pavgusb() argument
11 return _m_pavgusb(m1, m2); in test_m_pavgusb()
20 __m64 test_m_pfacc(__m64 m1, __m64 m2) { in test_m_pfacc() argument
23 return _m_pfacc(m1, m2); in test_m_pfacc()
26 __m64 test_m_pfadd(__m64 m1, __m64 m2) { in test_m_pfadd() argument
29 return _m_pfadd(m1, m2); in test_m_pfadd()
32 __m64 test_m_pfcmpeq(__m64 m1, __m64 m2) { in test_m_pfcmpeq() argument
35 return _m_pfcmpeq(m1, m2); in test_m_pfcmpeq()
38 __m64 test_m_pfcmpge(__m64 m1, __m64 m2) { in test_m_pfcmpge() argument
41 return _m_pfcmpge(m1, m2); in test_m_pfcmpge()
[all …]
/external/libcxx/test/std/containers/associative/multiset/multiset.special/
Dmember_swap.pass.cpp28 M m2; in main() local
30 M m2_save = m2; in main()
31 m1.swap(m2); in main()
33 assert(m2 == m1_save); in main()
48 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
50 M m2_save = m2; in main()
51 m1.swap(m2); in main()
53 assert(m2 == m1_save); in main()
64 M m2; in main() local
66 M m2_save = m2; in main()
[all …]
Dnon_member_swap.pass.cpp27 M m2; in main() local
29 M m2_save = m2; in main()
30 swap(m1, m2); in main()
32 assert(m2 == m1_save); in main()
47 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
49 M m2_save = m2; in main()
50 swap(m1, m2); in main()
52 assert(m2 == m1_save); in main()
63 M m2; in main() local
65 M m2_save = m2; in main()
[all …]
/external/libcxx/test/std/containers/associative/set/set.special/
Dmember_swap.pass.cpp28 M m2; in main() local
30 M m2_save = m2; in main()
31 m1.swap(m2); in main()
33 assert(m2 == m1_save); in main()
48 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
50 M m2_save = m2; in main()
51 m1.swap(m2); in main()
53 assert(m2 == m1_save); in main()
64 M m2; in main() local
66 M m2_save = m2; in main()
[all …]
Dnon_member_swap.pass.cpp27 M m2; in main() local
29 M m2_save = m2; in main()
30 swap(m1, m2); in main()
32 assert(m2 == m1_save); in main()
47 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
49 M m2_save = m2; in main()
50 swap(m1, m2); in main()
52 assert(m2 == m1_save); in main()
63 M m2; in main() local
65 M m2_save = m2; in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.special/
Dnon_member_swap.pass.cpp31 M m2; in main() local
33 M m2_save = m2; in main()
34 swap(m1, m2); in main()
36 assert(m2 == m1_save); in main()
51 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
53 M m2_save = m2; in main()
54 swap(m1, m2); in main()
56 assert(m2 == m1_save); in main()
67 M m2; in main() local
69 M m2_save = m2; in main()
[all …]
Dmember_swap.pass.cpp28 M m2; in main() local
30 M m2_save = m2; in main()
31 m1.swap(m2); in main()
33 assert(m2 == m1_save); in main()
48 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
50 M m2_save = m2; in main()
51 m1.swap(m2); in main()
53 assert(m2 == m1_save); in main()
64 M m2; in main() local
66 M m2_save = m2; in main()
[all …]
/external/libcxx/test/std/containers/associative/multimap/multimap.special/
Dnon_member_swap.pass.cpp31 M m2; in main() local
33 M m2_save = m2; in main()
34 swap(m1, m2); in main()
36 assert(m2 == m1_save); in main()
51 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
53 M m2_save = m2; in main()
54 swap(m1, m2); in main()
56 assert(m2 == m1_save); in main()
67 M m2; in main() local
69 M m2_save = m2; in main()
[all …]
Dmember_swap.pass.cpp28 M m2; in main() local
30 M m2_save = m2; in main()
31 m1.swap(m2); in main()
33 assert(m2 == m1_save); in main()
48 M m2(ar2, ar2+sizeof(ar2)/sizeof(ar2[0])); in main() local
50 M m2_save = m2; in main()
51 m1.swap(m2); in main()
53 assert(m2 == m1_save); in main()
64 M m2; in main() local
66 M m2_save = m2; in main()
[all …]
/external/eigen/test/eigen2/
Deigen2_determinant.cpp21 MatrixType m1(size, size), m2(size, size); in determinant() local
23 m2.setRandom(); in determinant()
27 VERIFY_IS_APPROX((m1*m2).determinant(), m1.determinant() * m2.determinant()); in determinant()
34 m2 = m1; in determinant()
35 m2.row(i).swap(m2.row(j)); in determinant()
36 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
37 m2 = m1; in determinant()
38 m2.col(i).swap(m2.col(j)); in determinant()
39 VERIFY_IS_APPROX(m2.determinant(), -m1.determinant()); in determinant()
40 VERIFY_IS_APPROX(m2.determinant(), m2.transpose().determinant()); in determinant()
[all …]
Deigen2_sparse_basic.cpp169 SparseMatrixType m2(rows,cols); in sparse_basic() local
170 m2.startFill(); in sparse_basic()
177 m2.fillrand(i,j) = m1(i,j) = ei_random<Scalar>(); in sparse_basic()
180 m2.endFill(); in sparse_basic()
181 VERIFY_IS_APPROX(m2,m1); in sparse_basic()
207 SparseMatrixType m2(rows, rows); in sparse_basic() local
211 initSparse<Scalar>(density, refM2, m2); in sparse_basic()
215 VERIFY_IS_APPROX(m1+m2, refM1+refM2); in sparse_basic()
216 VERIFY_IS_APPROX(m1+m2+m3, refM1+refM2+refM3); in sparse_basic()
217 VERIFY_IS_APPROX(m3.cwise()*(m1+m2), refM3.cwise()*(refM1+refM2)); in sparse_basic()
[all …]
Deigen2_linearstructure.cpp27 m2 = MatrixType::Random(rows, cols), in linearStructure() local
38 VERIFY_IS_APPROX(m1+m2-m1, m2); in linearStructure()
39 VERIFY_IS_APPROX(-m2+m1+m2, m1); in linearStructure()
41 VERIFY_IS_APPROX((m1+m2)*s1, s1*m1+s1*m2); in linearStructure()
42 VERIFY_IS_APPROX((-m1+m2)*s1, -s1*m1+s1*m2); in linearStructure()
43 m3 = m2; m3 += m1; in linearStructure()
44 VERIFY_IS_APPROX(m3, m1+m2); in linearStructure()
45 m3 = m2; m3 -= m1; in linearStructure()
46 VERIFY_IS_APPROX(m3, m2-m1); in linearStructure()
47 m3 = m2; m3 *= s1; in linearStructure()
[all …]
/external/vulkan-validation-layers/libs/glm/detail/
Dtype_mat4x3.inl428 tmat4x3<T, P> const & m2) argument
431 m1[0] + m2[0],
432 m1[1] + m2[1],
433 m1[2] + m2[2],
434 m1[3] + m2[3]);
452 tmat4x3<T, P> const & m2) argument
455 m1[0] - m2[0],
456 m1[1] - m2[1],
457 m1[2] - m2[2],
458 m1[3] - m2[3]);
[all …]

12345678910>>...22