/dports/biology/plink/plink-ng-79b2df8c/2.0/ |
H A D | plink2_ld.cc | 225 const VecW half2_both = vecw_srli(cur_hom, 1) & m1; in DotprodVecsNm() 226 const VecW half2_neg = vecw_srli(half1_neg, 1) & m1; in DotprodVecsNm() 298 VecW half2_ssq = vecw_srli(half1_ssq, 1) & m1; in SumSsqVecs() 299 VecW half2_plus = vecw_srli(half1_plus, 1) & m1; in SumSsqVecs() 394 const VecW half_b_ssq = vecw_srli(half_a_ssq, 1) & m1; in SumSsqNmVecs() 395 const VecW half_b_nm = vecw_srli(half_a_nm, 1) & m1; in SumSsqNmVecs() 401 count1_nm = count1_nm - (vecw_srli(count1_nm, 1) & m1); in SumSsqNmVecs() 2058 VecW mask_half2 = vecw_srli(mask_half1, 1) & m1; in HardcallPhasedR2RefineMain() 2070 mask1 = mask1 - (vecw_srli(mask1, 1) & m1); in HardcallPhasedR2RefineMain() 2071 mask2 = mask2 - (vecw_srli(mask2, 1) & m1); in HardcallPhasedR2RefineMain() [all …]
|
H A D | plink2_matrix_calc.cc | 1040 agg_ibs0 = agg_ibs0 - (vecw_srli(agg_ibs0, 1) & m1); in IncrKing() 1060 cur_ibs0 = cur_ibs0 - (vecw_srli(cur_ibs0, 1) & m1); in IncrKing() 1126 agg_ibs0 = agg_ibs0 - (vecw_srli(agg_ibs0, 1) & m1); in IncrKingHomhom() 1149 cur_ibs0 = cur_ibs0 - (vecw_srli(cur_ibs0, 1) & m1); in IncrKingHomhom() 2260 agg_ibs0 = agg_ibs0 - (vecw_srli(agg_ibs0, 1) & m1); in IncrKingSubset() 2261 agg_hethet = agg_hethet - (vecw_srli(agg_hethet, 1) & m1); in IncrKingSubset() 2280 cur_ibs0 = cur_ibs0 - (vecw_srli(cur_ibs0, 1) & m1); in IncrKingSubset() 2343 agg_homhom = agg_homhom - (vecw_srli(agg_homhom, 1) & m1); in IncrKingSubsetHomhom() 2344 agg_ibs0 = agg_ibs0 - (vecw_srli(agg_ibs0, 1) & m1); in IncrKingSubsetHomhom() 2345 agg_hethet = agg_hethet - (vecw_srli(agg_hethet, 1) & m1); in IncrKingSubsetHomhom() [all …]
|
H A D | plink2_common.cc | 485 VecW bothset1 = m1 & cur_geno_vword & vecw_srli(cur_geno_vword, 1); in CountMissingVec6() 494 bothset1 = (bothset1 & m2) + (vecw_srli(bothset1, 2) & m2); in CountMissingVec6() 498 VecW bothset2 = m1 & cur_geno_vword & vecw_srli(cur_geno_vword, 1); in CountMissingVec6() 508 bothset1 = bothset1 + (bothset2 & m2) + (vecw_srli(bothset2, 2) & m2); in CountMissingVec6() 556 cur_mask = vecw_srli(interleaved_mask_vword, 1) & m1; in CountMissingMaskedVec6() 566 bothset1 = (bothset1 & m2) + (vecw_srli(bothset1, 2) & m2); in CountMissingMaskedVec6() 568 cur_mask = vecw_srli(interleaved_mask_vword, 1) & m1; in CountMissingMaskedVec6() 579 cur_mask = vecw_srli(interleaved_mask_vword, 1) & m1; in CountMissingMaskedVec6() 1853 mask_second = mask_second | vecw_srli(mask_second, 1); in InterleavedMaskZero() 1893 set_second = set_second | vecw_srli(set_second, 1); in InterleavedMaskMissing() [all …]
|
H A D | plink2_cmdline.h | 1537 loader = vecw_srli(loader, 1); in VcountIncr1To4() 1540 loader = vecw_srli(loader, 1); in VcountIncr1To4() 1543 loader = vecw_srli(loader, 1); in VcountIncr1To4() 1557 loader = vecw_srli(loader, 1); in Vcount0Incr1To4() 1560 loader = vecw_srli(loader, 1); in Vcount0Incr1To4() 1563 loader = vecw_srli(loader, 1); in Vcount0Incr1To4() 1577 loader = vecw_srli(loader, 4); in VcountIncr4To8() 1590 loader = vecw_srli(loader, 4); in Vcount0Incr4To8() 1602 loader = vecw_srli(loader, 8); in VcountIncr8To32() 1605 loader = vecw_srli(loader, 8); in VcountIncr8To32() [all …]
|
H A D | plink2_cmdline.cc | 1855 const VecW half1b = vecw_srli(half1a, 1) & m1; in PopcountVecsNoSse42Intersect3val() 1856 const VecW half2b = vecw_srli(half2a, 1) & m1; in PopcountVecsNoSse42Intersect3val() 1860 count1a = count1a - (vecw_srli(count1a, 1) & m1); in PopcountVecsNoSse42Intersect3val() 1861 count2a = count2a - (vecw_srli(count2a, 1) & m1); in PopcountVecsNoSse42Intersect3val() 1862 count3a = count3a - (vecw_srli(count3a, 1) & m1); in PopcountVecsNoSse42Intersect3val() 1863 count1b = count1b - (vecw_srli(count1b, 1) & m1); in PopcountVecsNoSse42Intersect3val() 1864 count2b = count2b - (vecw_srli(count2b, 1) & m1); in PopcountVecsNoSse42Intersect3val() 1865 count3b = count3b - (vecw_srli(count3b, 1) & m1); in PopcountVecsNoSse42Intersect3val() 1873 count1a = (count1a & m2) + (vecw_srli(count1a, 2) & m2); in PopcountVecsNoSse42Intersect3val() 1874 count2a = (count2a & m2) + (vecw_srli(count2a, 2) & m2); in PopcountVecsNoSse42Intersect3val() [all …]
|
H A D | plink2_common.h | 844 *acc4_iter += vecw_srli(loader, 2) & m2; in VcountIncr2To4() 856 *acc4_iter += vecw_srli(loader, 2) & m2; in Vcount0Incr2To4()
|
H A D | plink2_misc.cc | 5673 const VecW vv_hi = vecw_srli(vv, 1); in UpdateDenseSampleCounts3() 5719 const VecW vv_hi = vecw_srli(vv, 1); in UpdateDenseSampleCounts2()
|
/dports/biology/plink/plink-ng-79b2df8c/2.0/include/ |
H A D | pgenlib_misc.cc | 468 VecW vvec_rshift = vecw_srli(cur_vvec, 1); in Count12Vec6() 473 vvec_rshift = vecw_srli(cur_vvec, 1); in Count12Vec6() 479 vvec_rshift = vecw_srli(cur_vvec, 1); in Count12Vec6() 488 vvec_rshift = vecw_srli(cur_vvec, 1); in Count12Vec6() 493 vvec_rshift = vecw_srli(cur_vvec, 1); in Count12Vec6() 499 vvec_rshift = vecw_srli(cur_vvec, 1); in Count12Vec6() 568 VecW odd1 = m1 & vecw_srli(cur_geno_vword, 1); in Count3FreqVec6() 587 odd1 = (odd1 & m2) + (vecw_srli(odd1, 2) & m2); in Count3FreqVec6() 592 VecW odd2 = m1 & vecw_srli(cur_geno_vword, 1); in Count3FreqVec6() 653 const VecW vec_odd = vecw_srli(cur_vec, 4) & m4; in FillInterleavedMaskVec() [all …]
|
H A D | plink2_bits.cc | 48 vec_lo = (vec_lo | vecw_srli(vec_lo, 3)) & m4; in Pack32bTo16bMask() 49 vec_hi = (vec_hi | vecw_srli(vec_hi, 3)) & m4; in Pack32bTo16bMask() 53 vec_lo = (vec_lo | vecw_srli(vec_lo, 1)) & m2; in Pack32bTo16bMask() 54 vec_hi = (vec_hi | vecw_srli(vec_hi, 1)) & m2; in Pack32bTo16bMask() 55 vec_lo = (vec_lo | vecw_srli(vec_lo, 2)) & m4; in Pack32bTo16bMask() 56 vec_hi = (vec_hi | vecw_srli(vec_hi, 2)) & m4; in Pack32bTo16bMask() 58 vec_lo = (vec_lo | vecw_srli(vec_lo, 4)) & m8; in Pack32bTo16bMask() 59 vec_hi = (vec_hi | vecw_srli(vec_hi, 4)) & m8; in Pack32bTo16bMask() 439 const VecW hi = vecw_srli(vv, 4) & m4; in PopcountVecsAvx2() 921 VecW half2 = vecw_srli(half1, 1) & m1; in PopcountVecsNoAvx2() [all …]
|
H A D | pgenlib_write.cc | 501 VecW xor_shifted1 = vecw_srli(xor1, 1); in CountLdAndInvertedLdDiffs() 502 VecW xor_shifted2 = vecw_srli(xor2, 1); in CountLdAndInvertedLdDiffs() 518 xor_shifted1 = vecw_srli(xor1, 1); in CountLdAndInvertedLdDiffs() 523 count_ld_inv = (count_ld_inv & m2) + (vecw_srli(count_ld_inv, 2) & m2); in CountLdAndInvertedLdDiffs() 524 count_ld = (count_ld & m2) + (vecw_srli(count_ld, 2) & m2); in CountLdAndInvertedLdDiffs() 528 inner_acc_ld = inner_acc_ld + ((count_ld + vecw_srli(count_ld, 4)) & m4); in CountLdAndInvertedLdDiffs() 667 *write_iter++ = vecw_and_notfirst(m1 & vecw_srli(cur_geno, 1), cur_geno); in OnebitPreprocessBuf() 673 const VecW cur_geno_rshift = vecw_srli(cur_geno, 1); in OnebitPreprocessBuf() 683 const VecW cur_geno_or_masked = (cur_geno | vecw_srli(cur_geno, 1)) & m1; in OnebitPreprocessBuf() 693 const VecW cur_geno_rshift = vecw_srli(cur_geno, 1); in OnebitPreprocessBuf() [all …]
|
H A D | pgenlib_read.cc | 281 const VecW cur_vec_rshifted = vecw_srli(cur_vec, 1); in GenovecNonmissingToZeroUnsafe() 296 const VecW cur_vec_rshifted = vecw_srli(cur_vec, 1); in GenovecNonzeroToMissingUnsafe() 325 vptr[vidx] = cur_vec | vecw_srli(cur_vec, 1) | not_m1; in GenovecNonzeroToMissingThenInvertUnsafe() 337 const VecW cur_vec_rshifted = vecw_srli(cur_vec, 1); in GenovecInvertThenNonzeroToMissingUnsafe() 2249 const VecW vec_odd = vecw_srli(cur_vec, 4) & m4; in ParseOnebitUnsafe() 3592 loader = vecw_srli(loader, 1) | loader; in CountNybbleVec() 3593 loader = vecw_srli(loader, 2) | loader; in CountNybbleVec() 5850 const VecW vec_odd = vecw_srli(cur_vec, 4); in Expand2bitTo8() 5872 const VecW vec01_odd = vecw_srli(vec01, 2) & m03; in Expand2bitTo8() 5884 const VecW vec23_odd = vecw_srli(vec23, 2) & m03; in Expand2bitTo8() [all …]
|
H A D | plink2_bits.h | 167 const VecW hi = vecw_srli(vv, 4) & m4; in PopcountVecAvx2()
|
H A D | plink2_base.h | 768 HEADER_INLINE VecW vecw_srli(VecW vv, uint32_t ct) { in vecw_srli() function 1109 HEADER_INLINE VecW vecw_srli(VecW vv, uint32_t ct) { in vecw_srli() function 1503 HEADER_INLINE VecW vecw_srli(VecW vv, uint32_t ct) { in vecw_srli() function
|