Home
last modified time | relevance | path

Searched refs:acc2 (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/openssl/crypto/ec/asm/
Decp_nistz256-armv8.pl47 $acc0,$acc1,$acc2,$acc3,$acc4,$acc5) =
227 ldp $acc2,$acc3,[$ap,#16]
249 ldp $acc2,$acc3,[$ap,#16]
270 ldp $acc2,$acc3,[$ap,#16]
275 mov $t2,$acc2
295 ldp $acc2,$acc3,[$ap,#16]
300 mov $t2,$acc2
304 mov $a2,$acc2
332 ldp $acc2,$acc3,[$ap,#16]
355 mov $acc2,xzr
[all …]
Decp_nistz256-ppc64.pl42 my ($rp,$ap,$bp,$bi,$acc0,$acc1,$acc2,$acc3,$poly1,$poly3,
212 ld $acc2,16($ap)
249 ld $acc2,16($ap)
284 ld $acc2,16($ap)
289 mr $t2,$acc2
324 ld $acc2,16($ap)
331 mr $t2,$acc2
332 std $acc2,80($sp)
376 ld $acc2,16($ap)
412 li $acc2,0
[all …]
Decp_nistz256-x86_64.pl490 my ($acc0,$acc1,$acc2,$acc3,$acc4,$acc5,$acc6,$acc7)=map("%r$_",(8..15));
544 mov %rdx, $acc2
547 add %rax, $acc2
569 sub $acc0, $acc2
577 adc %rdx, $acc2
600 add $t1, $acc2
602 add %rax, $acc2
638 add $t0, $acc2
640 add %rax, $acc2
659 add %rax, $acc2
[all …]
/third_party/boost/libs/accumulators/test/
Dvariance.cpp48 accumulator_set<int, stats<tag::variance> > acc2; in test_stat() local
50 acc2(1); in test_stat()
51 acc2(2); in test_stat()
52 acc2(3); in test_stat()
53 acc2(4); in test_stat()
54 acc2(5); in test_stat()
56 BOOST_CHECK_EQUAL(5u, count(acc2)); in test_stat()
57 BOOST_CHECK_CLOSE(3., mean(acc2), 1e-5); in test_stat()
58 BOOST_CHECK_CLOSE(2., variance(acc2), 1e-5); in test_stat()
70 accumulator_set<int, stats<tag::variance> > acc2; in test_persistency() local
[all …]
Dmean.cpp59 immediate_mean_t acc2, test_acc2(sample = 0); in test_stat() local
61 acc2(1, covariate1 = 3); in test_stat()
62 BOOST_CHECK_CLOSE(1., mean(acc2), 1e-5); in test_stat()
63 BOOST_CHECK_EQUAL(1u, count(acc2)); in test_stat()
64 BOOST_CHECK_CLOSE(3., (accumulators::mean_of_variates<int, tag::covariate1>(acc2)), 1e-5); in test_stat()
66 acc2(0, covariate1 = 4); in test_stat()
67 BOOST_CHECK_CLOSE(0.5, mean(acc2), 1e-5); in test_stat()
68 BOOST_CHECK_EQUAL(2u, count(acc2)); in test_stat()
69 BOOST_CHECK_CLOSE(3.5, (accumulators::mean_of_variates<int, tag::covariate1>(acc2)), 1e-5); in test_stat()
71 acc2(2, covariate1 = 8); in test_stat()
[all …]
Dweighted_mean.cpp69 > acc2, test_acc2(sample = 0); in test_stat() local
71 acc2(1, weight = 2, covariate1 = 3); in test_stat()
72 BOOST_CHECK_CLOSE(1., weighted_mean(acc2), 1e-5); in test_stat()
73 BOOST_CHECK_EQUAL(1u, count(acc2)); in test_stat()
74 BOOST_CHECK_CLOSE(2., mean_of_weights(acc2), 1e-5); in test_stat()
75 …BOOST_CHECK_CLOSE(3., (accumulators::weighted_mean_of_variates<int, tag::covariate1>(acc2)), 1e-5); in test_stat()
77 acc2(0, weight = 4, covariate1 = 4); in test_stat()
78 BOOST_CHECK_CLOSE(1./3., weighted_mean(acc2), 1e-5); in test_stat()
79 BOOST_CHECK_EQUAL(2u, count(acc2)); in test_stat()
80 BOOST_CHECK_CLOSE(3., mean_of_weights(acc2), 1e-5); in test_stat()
[all …]
Dvector.cpp115 accumulator_set<sample_t, stats<tag::mean(immediate)> > acc2(sample = sample_t(3,0)); in test_stat() local
117 acc2(sample_t(3,1)); in test_stat()
118 is_equal(std::vector<double>(3,1.), mean(acc2)); in test_stat()
119 BOOST_CHECK_EQUAL(1u, count(acc2)); in test_stat()
121 acc2(sample_t(3,0)); in test_stat()
122 is_equal(std::vector<double>(3,0.5), mean(acc2)); in test_stat()
123 BOOST_CHECK_EQUAL(2u, count(acc2)); in test_stat()
125 acc2(sample_t(3,2)); in test_stat()
126 is_equal(std::vector<double>(3,1.), mean(acc2)); in test_stat()
127 BOOST_CHECK_EQUAL(3u, count(acc2)); in test_stat()
[all …]
Dvalarray.cpp115 accumulator_set<sample_t, stats<tag::mean(immediate)> > acc2(sample = sample_t(0,3)); in test_stat() local
117 acc2(sample_t(1,3)); in test_stat()
118 is_equal(std::valarray<double>(1., 3), mean(acc2)); in test_stat()
119 BOOST_CHECK_EQUAL(1u, count(acc2)); in test_stat()
121 acc2(sample_t(0,3)); in test_stat()
122 is_equal(std::valarray<double>(0.5, 3), mean(acc2)); in test_stat()
123 BOOST_CHECK_EQUAL(2u, count(acc2)); in test_stat()
125 acc2(sample_t(2,3)); in test_stat()
126 is_equal(std::valarray<double>(1., 3), mean(acc2)); in test_stat()
127 BOOST_CHECK_EQUAL(3u, count(acc2)); in test_stat()
[all …]
Dweighted_kurtosis.cpp31 accumulator_set<int, stats<tag::weighted_kurtosis>, int > acc2; in test_stat() local
46 acc2(2, weight = 4); in test_stat()
47 acc2(7, weight = 1); in test_stat()
48 acc2(4, weight = 3); in test_stat()
49 acc2(9, weight = 1); in test_stat()
50 acc2(3, weight = 2); in test_stat()
52 BOOST_CHECK_EQUAL( weighted_mean(acc2), 42./11. ); in test_stat()
53 BOOST_CHECK_EQUAL( accumulators::weighted_moment<2>(acc2), 212./11. ); in test_stat()
54 BOOST_CHECK_EQUAL( accumulators::weighted_moment<3>(acc2), 1350./11. ); in test_stat()
55 BOOST_CHECK_EQUAL( accumulators::weighted_moment<4>(acc2), 9956./11. ); in test_stat()
[all …]
Dweighted_skewness.cpp31 accumulator_set<int, stats<tag::weighted_skewness>, int > acc2; in test_stat() local
46 acc2(2, weight = 4); in test_stat()
47 acc2(7, weight = 1); in test_stat()
48 acc2(4, weight = 3); in test_stat()
49 acc2(9, weight = 1); in test_stat()
50 acc2(3, weight = 2); in test_stat()
52 BOOST_CHECK_EQUAL( weighted_mean(acc2), 42./11. ); in test_stat()
53 BOOST_CHECK_EQUAL( accumulators::weighted_moment<2>(acc2), 212./11. ); in test_stat()
54 BOOST_CHECK_EQUAL( accumulators::weighted_moment<3>(acc2), 1350./11. ); in test_stat()
55 BOOST_CHECK_CLOSE( weighted_skewness(acc2), 1.30708406282, 1e-6 ); in test_stat()
Dkurtosis.cpp34 accumulator_set<int, stats<tag::kurtosis > > acc2; in test_stat() local
49 acc2(2); in test_stat()
50 acc2(7); in test_stat()
51 acc2(4); in test_stat()
52 acc2(9); in test_stat()
53 acc2(3); in test_stat()
55 BOOST_CHECK_EQUAL( mean(acc2), 5 ); in test_stat()
56 BOOST_CHECK_EQUAL( accumulators::moment<2>(acc2), 159./5. ); in test_stat()
57 BOOST_CHECK_EQUAL( accumulators::moment<3>(acc2), 1171./5. ); in test_stat()
58 BOOST_CHECK_EQUAL( accumulators::moment<4>(acc2), 1863 ); in test_stat()
[all …]
Dskewness.cpp34 accumulator_set<int, stats<tag::skewness > > acc2; in test_stat() local
49 acc2(2); in test_stat()
50 acc2(7); in test_stat()
51 acc2(4); in test_stat()
52 acc2(9); in test_stat()
53 acc2(3); in test_stat()
55 BOOST_CHECK_EQUAL( mean(acc2), 5 ); in test_stat()
56 BOOST_CHECK_EQUAL( accumulators::moment<2>(acc2), 159./5. ); in test_stat()
57 BOOST_CHECK_EQUAL( accumulators::moment<3>(acc2), 1171./5. ); in test_stat()
58 BOOST_CHECK_CLOSE( skewness(acc2), 0.406040288214, 1e-6 ); in test_stat()
Dweighted_variance.cpp38 accumulator_set<int, stats<tag::weighted_variance>, int> acc2; in test_stat() local
40 acc2(1, weight = 2); in test_stat()
41 acc2(2, weight = 3); in test_stat()
42 acc2(3, weight = 1); in test_stat()
43 acc2(4, weight = 4); in test_stat()
44 acc2(5, weight = 1); in test_stat()
46 BOOST_CHECK_EQUAL(5u, count(acc2)); in test_stat()
47 BOOST_CHECK_CLOSE(2.9090909, weighted_mean(acc2), 1e-5); in test_stat()
48 BOOST_CHECK_CLOSE(1.7190083, weighted_variance(acc2), 1e-5); in test_stat()
Drolling_moment.cpp84 …accumulator_set<int, stats<tag::rolling_moment<2> > > acc2(tag::rolling_moment<2>::window_size = 3… in test_persistency() local
87 acc2(2); acc5(2); in test_persistency()
88 acc2(4); acc5(3); in test_persistency()
89 acc2(5); acc5(4); in test_persistency()
90 acc2(6); acc5(5); in test_persistency()
92 BOOST_CHECK_CLOSE(rolling_moment<2>(acc2), (16.0 + 25.0 + 36.0)/3, 1e-5); in test_persistency()
95 acc2.serialize(oa, 0); in test_persistency()
98 …accumulator_set<int, stats<tag::rolling_moment<2> > > acc2(tag::rolling_moment<2>::window_size = 3… in test_persistency() local
101 acc2.serialize(ia, 0); in test_persistency()
103 BOOST_CHECK_CLOSE(rolling_moment<2>(acc2), (16.0 + 25.0 + 36.0)/3, 1e-5); in test_persistency()
Ddroppable.cpp49 accumulator_set<int, stats<droppable<tag::mean(immediate)> > > acc2, test_acc2(sample = 0); in test_stat() local
51 acc2(1); in test_stat()
52 BOOST_CHECK_CLOSE(1., mean(acc2), 1e-5); in test_stat()
53 BOOST_CHECK_EQUAL(1u, count(acc2)); in test_stat()
55 acc2(0); in test_stat()
56 BOOST_CHECK_CLOSE(0.5, mean(acc2), 1e-5); in test_stat()
57 BOOST_CHECK_EQUAL(2u, count(acc2)); in test_stat()
59 acc2.drop<tag::mean>(); in test_stat()
61 acc2(2); in test_stat()
62 BOOST_CHECK_CLOSE(0.5, mean(acc2), 1e-5); in test_stat()
[all …]
Dtail_variate_means.cpp39 accumulator_t2 acc2( right_tail_cache_size = c ); in test_stat() local
61 acc2(100., covariate1 = cov1); in test_stat()
62 acc2( 50., covariate1 = cov2); in test_stat()
63 acc2(200., covariate1 = cov3); in test_stat()
64 acc2( 80., covariate1 = cov4); in test_stat()
65 acc2( 20., covariate1 = cov5); in test_stat()
90 …BOOST_CHECK_EQUAL( *(tail_variate_means(acc2, quantile_probability = 0.7).begin() ), 28 ); // (… in test_stat()
91 …BOOST_CHECK_EQUAL( *(tail_variate_means(acc2, quantile_probability = 0.7).begin() + 1), 42 ); // (… in test_stat()
92 …BOOST_CHECK_EQUAL( *(tail_variate_means(acc2, quantile_probability = 0.7).begin() + 2), 35 ); // (… in test_stat()
93 …BOOST_CHECK_EQUAL( *(tail_variate_means(acc2, quantile_probability = 0.7).begin() + 3), 45 ); // (… in test_stat()
[all …]
Dp_square_quantile.cpp40 accumulator_t acc2(quantile_probability = 0.1 ); in test_stat() local
53 acc2(sample); in test_stat()
64 BOOST_CHECK_CLOSE( p_square_quantile(acc2), 0.1 , 3*epsilon ); in test_stat()
86 accumulator_t acc2(quantile_probability = 0.999); in test_persistency() local
92 acc2(sample); in test_persistency()
96 BOOST_CHECK_CLOSE(p_square_quantile(acc2), 0.999, epsilon); in test_persistency()
99 acc2.serialize(oa, 0); in test_persistency()
102 accumulator_t acc2(quantile_probability = 0.999); in test_persistency() local
105 acc2.serialize(ia, 0); in test_persistency()
107 BOOST_CHECK_CLOSE(p_square_quantile(acc2), 0.999, epsilon); in test_persistency()
/third_party/openssl/crypto/bn/asm/
Darmv8-mont.pl279 my ($acc0,$acc1,$acc2,$acc3,$acc4,$acc5,$acc6,$acc7)=map("x$_",(19..26));
330 mov $acc2,xzr
377 adcs $acc2,$acc2,$t1
391 adds $acc2,$acc2,$t3 // t[2]+lo(a[1]*a[0])
418 stp $acc2,$acc3,[$tp],#8*2 // t[2..3]
444 adc $acc2,xzr,xzr // t[10]
453 adc $acc2,$acc2,$t3
462 adcs $acc2,$acc2,$t3
470 adcs $acc2,$acc2,$t2
477 adcs $acc2,$acc2,$t1
[all …]
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_cmplx_mult_f32.c147 f32x4_t acc0, acc1, acc2; in arm_mat_cmplx_mult_f32_3x3_mve() local
175 acc2 = vcmulq(vecA, vecB); in arm_mat_cmplx_mult_f32_3x3_mve()
176 acc2 = vcmlaq_rot90(acc2, vecA, vecB); in arm_mat_cmplx_mult_f32_3x3_mve()
190 acc2 = vcmlaq(acc2, vecA, vecB); in arm_mat_cmplx_mult_f32_3x3_mve()
191 acc2 = vcmlaq_rot90(acc2, vecA, vecB); in arm_mat_cmplx_mult_f32_3x3_mve()
198 pOut[2 * CMPLX_DIM * MATRIX_DIM3 + 0] = acc2[0] + acc2[2]; in arm_mat_cmplx_mult_f32_3x3_mve()
199 pOut[2 * CMPLX_DIM * MATRIX_DIM3 + 1] = acc2[1] + acc2[3]; in arm_mat_cmplx_mult_f32_3x3_mve()
218 acc2 = vcmulq(vecA, vecB); in arm_mat_cmplx_mult_f32_3x3_mve()
219 acc2 = vcmlaq_rot90(acc2, vecA, vecB); in arm_mat_cmplx_mult_f32_3x3_mve()
232 acc2 = vcmlaq(acc2, vecA, vecB); in arm_mat_cmplx_mult_f32_3x3_mve()
[all …]
Darm_mat_mult_q31.c138 q63_t acc0, acc1, acc2; in arm_mat_mult_q31_3x3_mve() local
155 acc2 = vrmlaldavhq(vecA, vecB); in arm_mat_mult_q31_3x3_mve()
159 acc2 = asrl(acc2, 23); in arm_mat_mult_q31_3x3_mve()
163 pOut[2 * MATRIX_DIM3] = (q31_t) acc2; in arm_mat_mult_q31_3x3_mve()
176 acc2 = vrmlaldavhq(vecA, vecB); in arm_mat_mult_q31_3x3_mve()
180 acc2 = asrl(acc2, 23); in arm_mat_mult_q31_3x3_mve()
184 pOut[2 * MATRIX_DIM3] = (q31_t) acc2; in arm_mat_mult_q31_3x3_mve()
197 acc2 = vrmlaldavhq(vecA, vecB); in arm_mat_mult_q31_3x3_mve()
201 acc2 = asrl(acc2, 23); in arm_mat_mult_q31_3x3_mve()
205 pOut[2 * MATRIX_DIM3] = (q31_t) acc2; in arm_mat_mult_q31_3x3_mve()
[all …]
Darm_mat_cmplx_mult_q31.c78 q63_t acc0, acc1, acc2, acc3; in arm_mat_cmplx_mult_q31_2x2_mve() local
96 acc2 = vmlsldavq_s32(vecA, vecB); in arm_mat_cmplx_mult_q31_2x2_mve()
101 pOut[1 * CMPLX_DIM * MATRIX_DIM2 + 0] = (q31_t) asrl(acc2, 31); in arm_mat_cmplx_mult_q31_2x2_mve()
114 acc2 = vmlsldavq_s32(vecA, vecB); in arm_mat_cmplx_mult_q31_2x2_mve()
121 pOut[1 * CMPLX_DIM * MATRIX_DIM2 + 0] = (q31_t) asrl(acc2, 31); in arm_mat_cmplx_mult_q31_2x2_mve()
141 q63_t acc0, acc1, acc2, acc3; in arm_mat_cmplx_mult_q31_3x3_mve() local
170 acc2 = vmlsldavq_s32(vecA, vecB); in arm_mat_cmplx_mult_q31_3x3_mve()
178 acc2 = vmlsldavaq_s32(acc2, vecA, vecB1); in arm_mat_cmplx_mult_q31_3x3_mve()
183 pOut[1 * CMPLX_DIM * MATRIX_DIM3 + 0] = (q31_t) asrl(acc2, 31); in arm_mat_cmplx_mult_q31_3x3_mve()
211 acc2 = vmlsldavq_s32(vecA, vecB); in arm_mat_cmplx_mult_q31_3x3_mve()
[all …]
Darm_mat_cmplx_mult_f16.c151 f16x8_t acc0, acc1, acc2; in arm_mat_cmplx_mult_f16_3x3_mve() local
179 acc2 = vcmulq(vecA2, vecB); in arm_mat_cmplx_mult_f16_3x3_mve()
180 acc2 = vcmlaq_rot90(acc2, vecA2, vecB); in arm_mat_cmplx_mult_f16_3x3_mve()
184 mve_cmplx_sum_intra_vec_f16(acc2, &pOut[2 * CMPLX_DIM * MATRIX_DIM]); in arm_mat_cmplx_mult_f16_3x3_mve()
199 acc2 = vcmulq(vecA2, vecB); in arm_mat_cmplx_mult_f16_3x3_mve()
200 acc2 = vcmlaq_rot90(acc2, vecA2, vecB); in arm_mat_cmplx_mult_f16_3x3_mve()
204 mve_cmplx_sum_intra_vec_f16(acc2, &pOut[2 * CMPLX_DIM * MATRIX_DIM]); in arm_mat_cmplx_mult_f16_3x3_mve()
219 acc2 = vcmulq(vecA2, vecB); in arm_mat_cmplx_mult_f16_3x3_mve()
220 acc2 = vcmlaq_rot90(acc2, vecA2, vecB); in arm_mat_cmplx_mult_f16_3x3_mve()
224 mve_cmplx_sum_intra_vec_f16(acc2, &pOut[2 * CMPLX_DIM * MATRIX_DIM]); in arm_mat_cmplx_mult_f16_3x3_mve()
[all …]
Darm_mat_mult_q15.c136 q63_t acc0, acc1, acc2; in arm_mat_mult_q15_3x3_mve() local
153 acc2 = vmlaldavq(vecA2, vecB); in arm_mat_mult_q15_3x3_mve()
157 acc2 = asrl(acc2, 15); in arm_mat_mult_q15_3x3_mve()
161 pOut[2 * MATRIX_DIM3] = (q15_t) __SSAT(acc2, 16); in arm_mat_mult_q15_3x3_mve()
171 acc2 = vmlaldavq(vecA2, vecB); in arm_mat_mult_q15_3x3_mve()
175 acc2 = asrl(acc2, 15); in arm_mat_mult_q15_3x3_mve()
179 pOut[2 * MATRIX_DIM3] = (q15_t) __SSAT(acc2, 16); in arm_mat_mult_q15_3x3_mve()
189 acc2 = vmlaldavq(vecA2, vecB); in arm_mat_mult_q15_3x3_mve()
193 acc2 = asrl(acc2, 15); in arm_mat_mult_q15_3x3_mve()
197 pOut[2 * MATRIX_DIM3] = (q15_t) __SSAT(acc2, 16); in arm_mat_mult_q15_3x3_mve()
[all …]
/third_party/openssl/crypto/aes/asm/
Daes-sparcv9.pl49 $acc2="%o1";
222 srl $s2,5,$acc2 !
226 and $acc2,2040,$acc2
230 ldx [$tbl+$acc2],$acc2 !
279 srlx $acc2,16,$acc2 !
283 xor $acc2,$t0,$t0
313 srl $t2,5,$acc2
317 and $acc2,2040,$acc2
322 ldx [$tbl+$acc2],$acc2
362 srlx $acc2,16,$acc2
[all …]
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_fir_q31.c235 q63_t acc0=0, acc1=0, acc2=0, acc3=0; in arm_fir_q31_1_4_mve() local
260 acc2 = vrmlaldavhq(vecIn0, vecCoeffs); in arm_fir_q31_1_4_mve()
267 acc2 = asrl(acc2, 23); in arm_fir_q31_1_4_mve()
272 *pOutput++ = (q31_t) acc2; in arm_fir_q31_1_4_mve()
301 acc2 = vrmlaldavhq(vecIn0, vecCoeffs); in arm_fir_q31_1_4_mve()
305 acc2 = asrl(acc2, 23); in arm_fir_q31_1_4_mve()
309 *pOutput++ = (q31_t) acc2; in arm_fir_q31_1_4_mve()
465 q63_t acc0, acc1, acc2, acc3; in arm_fir_q31_29_32_mve() local
543 acc2 = vrmlaldavhq(vecIn0, vecCoeffs0); in arm_fir_q31_29_32_mve()
545 acc2 = vrmlaldavhaq(acc2, vecIn0, vecCoeffs1); in arm_fir_q31_29_32_mve()
[all …]

12345