@@ -426,16 +426,16 @@ class vxsort {
426
426
427
427
// From now on, we are fully aligned
428
428
// and all reading is done in full vector units
429
- auto readLeftV = (TV*) readLeft;
430
- auto readRightV = (TV*) readRight;
429
+ TV* readLeftV = (TV*) readLeft;
430
+ TV* readRightV = (TV*) readRight;
431
431
#ifndef NDEBUG
432
432
readLeft = nullptr ;
433
433
readRight = nullptr ;
434
434
#endif
435
435
436
436
for (auto u = 0 ; u < InnerUnroll; u++) {
437
- auto dl = MT::load_vec (readLeftV + u);
438
- auto dr = MT::load_vec (readRightV - (u + 1 ));
437
+ TV dl = MT::load_vec (readLeftV + u);
438
+ TV dr = MT::load_vec (readRightV - (u + 1 ));
439
439
partition_block (dl, P, tmpLeft, tmpRight);
440
440
partition_block (dr, P, tmpLeft, tmpRight);
441
441
}
@@ -526,7 +526,7 @@ class vxsort {
526
526
readLeftV += 1 ;
527
527
}
528
528
529
- auto d = MT::load_vec (nextPtr);
529
+ TV d = MT::load_vec (nextPtr);
530
530
partition_block (d, P, writeLeft, writeRight);
531
531
// partition_block_without_compress(d, P, writeLeft, writeRight);
532
532
}
@@ -561,8 +561,8 @@ class vxsort {
561
561
const auto rightAlign = hint.right_align ;
562
562
const auto rai = ~((rightAlign - 1 ) >> 31 );
563
563
const auto lai = leftAlign >> 31 ;
564
- const auto preAlignedLeft = (TV*) (left + leftAlign);
565
- const auto preAlignedRight = (TV*) (right + rightAlign - N);
564
+ TV* const preAlignedLeft = (TV*) (left + leftAlign);
565
+ TV* const preAlignedRight = (TV*) (right + rightAlign - N);
566
566
567
567
#ifdef VXSORT_STATS
568
568
vxsort_stats<T>::bump_vec_loads (2 );
@@ -581,8 +581,8 @@ class vxsort {
581
581
// were actually needed to be written to the right hand side
582
582
// e) We write the right portion of the left vector to the right side
583
583
// now that its write position has been updated
584
- auto RT0 = MT::load_vec (preAlignedRight);
585
- auto LT0 = MT::load_vec (preAlignedLeft);
584
+ TV RT0 = MT::load_vec (preAlignedRight);
585
+ TV LT0 = MT::load_vec (preAlignedLeft);
586
586
auto rtMask = MT::get_cmpgt_mask (RT0, P);
587
587
auto ltMask = MT::get_cmpgt_mask (LT0, P);
588
588
const auto rtPopCountRightPart = max (_mm_popcnt_u32 (rtMask), rightAlign);
0 commit comments