Move to AAL/PAL bits and address_bits

This commit is contained in:
Nathaniel Wesley Filardo
2021-07-21 16:55:25 +01:00
committed by Nathaniel Wesley Filardo
parent e212ddd0e0
commit 15e3052087
6 changed files with 14 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ namespace test
{
size_t rand = (size_t)r.next();
size_t offset = bits::clz(rand);
if constexpr (bits::is64())
if constexpr (Pal::address_bits > 32)
{
if (offset > 30)
offset = 30;