Attempt to fix likely arm bug

This commit is contained in:
2024-08-01 14:01:41 -07:00
parent adb8fdc5e9
commit 4113183155
+1 -1
View File
@@ -959,7 +959,7 @@ template <class NodeT> Node *getChildGeqSimd(NodeT *self, int child) {
static_assert(NodeT::kMaxNodes <= 16); static_assert(NodeT::kMaxNodes <= 16);
assume(self->numChildren <= NodeT::kMaxNodes); assume(self->numChildren <= NodeT::kMaxNodes);
uint64_t mask = self->numChildren == 16 uint64_t mask = self->numChildren == 16
? uint64_t(nullptr) ? uint64_t(-1)
: (uint64_t(1) << (self->numChildren * 4)) - 1; : (uint64_t(1) << (self->numChildren * 4)) - 1;
// 0xf for each 0xff (within mask) // 0xf for each 0xff (within mask)
uint64_t bitfield = uint64_t bitfield =