You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/05/16 10:51:52 UTC

[GitHub] [arrow] cyb70289 commented on a diff in pull request #13112: ARROW-16478: [C++] Refine cpu info detection

cyb70289 commented on code in PR #13112:
URL: https://github.com/apache/arrow/pull/13112#discussion_r873586429


##########
cpp/src/parquet/level_conversion.cc:
##########
@@ -137,7 +137,9 @@ void DefLevelsToBitmap(const int16_t* def_levels, int64_t num_def_levels,
   // is deleted in a follow-up release.
   if (level_info.rep_level > 0) {
 #if defined(ARROW_HAVE_RUNTIME_BMI2)
-    if (CpuInfo::GetInstance()->HasEfficientBmi2()) {
+    const CpuInfo* ci = CpuInfo::GetInstance();
+    // BMI2 (pext, pdep) is only efficient on Intel X86 processors.

Review Comment:
   Restored `HasEfficientBmi2`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org