diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-06-07 13:12:01 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-06-07 17:31:01 -0400 |
commit | 5ad089a3c946aec655436fa3b0b50d6574b78197 (patch) | |
tree | 4f832709576103acddbc6dea927c4269611c2968 /gcc/objc | |
parent | 64735dc923e0a1a2e04c5313471d91ca8b954e9a (diff) | |
download | gcc-5ad089a3c946aec655436fa3b0b50d6574b78197.zip gcc-5ad089a3c946aec655436fa3b0b50d6574b78197.tar.gz gcc-5ad089a3c946aec655436fa3b0b50d6574b78197.tar.bz2 |
Implement multi-bit aligned accessors for sparse bitmap.
Provide set/get routines to allow sparse bitmaps to be treated as an array
of multiple bit values. Only chunk sizes that are powers of 2 are supported.
* bitmap.c (bitmap_set_aligned_chunk): New.
(bitmap_get_aligned_chunk): New.
(test_aligned_chunk): New.
(bitmap_c_tests): Call test_aligned_chunk.
* bitmap.h (bitmap_set_aligned_chunk, bitmap_get_aligned_chunk): New.
Diffstat (limited to 'gcc/objc')
0 files changed, 0 insertions, 0 deletions