mapleFU commented on PR #39403:
URL: https://github.com/apache/arrow/pull/39403#issuecomment-1873378808

   Oh I think I've found the reason...
   
   ```c++
   uint64_t TrailingBits2(uint64_t v, int num_bits) {
     if (__builtin_expect(num_bits == 0, 0)) return 0;
     if (__builtin_expect(num_bits >= 64, 0)) return v;
     return ((v >> num_bits) << num_bits) ^ v;
   }
   ```
   
   Also generate `bzhi`. Seems we need rethink the problem here: 
https://github.com/apache/arrow/pull/39403#discussion_r1439035783


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to