Primitive boolean array packing

B. Blaser bsrbnd at
Mon Oct 8 08:40:19 UTC 2018

On Sun, 7 Oct 2018 at 20:29, Roman Kennke <rkennke at> wrote:
> IIRC, some CPUs even have instructions for directly getting/setting
> bits, without explicit mask/shift. AArch64 can do that I think. Not sure
> if it's more efficient though.
> Roman

Sounds great, probably no word-tearing problem and no additional sync
would be necessary on this arch.
Unfortunately, I don't have the opportunity to work on this hardware,
maybe someone could experiment on it?

More information about the compiler-dev mailing list