@@ -426,16 +426,16 @@ class vxsort {
426426
427427 // From now on, we are fully aligned
428428 // 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;
431431 #ifndef NDEBUG
432432 readLeft = nullptr ;
433433 readRight = nullptr ;
434434 #endif
435435
436436 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 ));
439439 partition_block (dl, P, tmpLeft, tmpRight);
440440 partition_block (dr, P, tmpLeft, tmpRight);
441441 }
@@ -526,7 +526,7 @@ class vxsort {
526526 readLeftV += 1 ;
527527 }
528528
529- auto d = MT::load_vec (nextPtr);
529+ TV d = MT::load_vec (nextPtr);
530530 partition_block (d, P, writeLeft, writeRight);
531531 // partition_block_without_compress(d, P, writeLeft, writeRight);
532532 }
@@ -561,8 +561,8 @@ class vxsort {
561561 const auto rightAlign = hint.right_align ;
562562 const auto rai = ~((rightAlign - 1 ) >> 31 );
563563 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);
566566
567567#ifdef VXSORT_STATS
568568 vxsort_stats<T>::bump_vec_loads (2 );
@@ -581,8 +581,8 @@ class vxsort {
581581 // were actually needed to be written to the right hand side
582582 // e) We write the right portion of the left vector to the right side
583583 // 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);
586586 auto rtMask = MT::get_cmpgt_mask (RT0, P);
587587 auto ltMask = MT::get_cmpgt_mask (LT0, P);
588588 const auto rtPopCountRightPart = max (_mm_popcnt_u32 (rtMask), rightAlign);
0 commit comments