blob: 6a8fd9abdbe515502f059d7805092930a91c8526 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
---- TEST 1 ----
bits in use : 0000001FFFFFFFFF007F0FFF
bits as set : 000000076055555500440333
values : 333 44 555555 06 07
align/size : 4 12
---- TEST 2 ----
bits in use : 000000000000003F7FFFFFFFFFFFFFFF00000000003F0FFF
bits as set : 0000000000000025123456789ABCDEF000000000001E0003
values : 03 1e 123456789abcdef0 05 fffffffe
align/size : 8 24
---- TEST 3 ----
bits in use : 001F1F1F000003FF
bits as set : 000E0619000002F5
values : 15 17 19 06 0e
align/size : 4 8
---- TEST 4 ----
bits in use : 0007FFFF00000027
bits as set : 00078F0F00000023
values : 03 ffffffff 0f fffffff8 78
align/size : 4 8
---- TEST 5 ----
bits in use : FFFFFF3FFFFFFFFF000000003FFFFFFF00001FFFFFFFFFFF
bits as set : 007744000000007800000000300000000000000123456789
values : 0000000123456789 f0000000 0000000000000078 44 77
align/size : 8 24
---- TEST 6 ----
bits in use : 0000007000FFFFFFFFFFFFFF
bits as set : 00000030002001FD00000004
values : 01 02 03 04 fffffffd
align/size : 4 12
---- TEST 1 - PACKED ----
bits in use : FFFFFFFFFFFFFF
bits as set : 3B02AAAAAC4333
values : 333 44 555555 06 07
align/size : 1 7
---- TEST 2 - PACKED ----
bits in use : 7FFFFFFFFFFFFFFFFFFFFF
bits as set : 4A48D159E26AF37BC1E003
values : 03 1e 123456789abcdef0 05 fffffffe
align/size : 1 11
---- TEST 3 - PACKED ----
bits in use : 7FFF000003FF
bits as set : 38D9000002F5
values : 15 17 19 06 0e
align/size : 1 6
---- TEST 4 - PACKED ----
bits in use : 07FFFF00000027
bits as set : 078F0F00000023
values : 03 ffffffff 0f fffffff8 78
align/size : 1 7
---- TEST 5 - PACKED ----
bits in use : FFFFFF07FFFFFFFFFFFFFFFF9FFFFFFFFFFF
bits as set : 007744000000000F18000000000123456789
values : 0000000123456789 f0000000 0000000000000078 44 77
align/size : 1 18
---- TEST 6 - PACKED ----
bits in use : 007000FFFFFFFFFFFFFF
bits as set : 0030002001FD00000004
values : 01 02 03 04 fffffffd
align/size : 1 10
---- TEST 1 - WITH ALIGN ----
bits in use : 000000000000001FFFFFFFFF007F0FFF
bits as set : 00000000000000076055555500440333
values : 333 44 555555 06 07
align/size : 16 16
---- TEST 2 - WITH ALIGN ----
bits in use : 0000000000000000000000000000003F7FFFFFFFFFFFFFFF00000000003F0FFF
bits as set : 00000000000000000000000000000025123456789ABCDEF000000000001E0003
values : 03 1e 123456789abcdef0 05 fffffffe
align/size : 16 32
---- TEST 3 - WITH ALIGN ----
bits in use : 0000000000000000000000000000001F000000000000000000001F1F000003FF
bits as set : 0000000000000000000000000000000E000000000000000000000619000002F5
values : 15 17 19 06 0e
align/size : 16 32
---- TEST 4 - WITH ALIGN ----
bits in use : 0007FFFF00000027
bits as set : 00078F0F00000023
values : 03 ffffffff 0f fffffff8 78
align/size : 4 8
---- TEST 5 - WITH ALIGN ----
bits in use : FFFFFF3FFFFFFFFF000000003FFFFFFF00001FFFFFFFFFFF
bits as set : 007744000000007800000000300000000000000123456789
values : 0000000123456789 f0000000 0000000000000078 44 77
align/size : 8 24
---- TEST 6 - WITH ALIGN ----
bits in use : 0000007000FFFFFFFFFFFFFF
bits as set : 00000030002001FD00000004
values : 01 02 03 04 fffffffd
align/size : 4 12
---- TEST 1 - PACKED - WITH ALIGN ----
bits in use : 000000000000000000FFFFFFFFFFFFFF
bits as set : 0000000000000000003B02AAAAAC4333
values : 333 44 555555 06 07
align/size : 16 16
---- TEST 2 - PACKED - WITH ALIGN ----
bits in use : 3F01FFFFFFFFFFFFFFFFFFFF
bits as set : 250048D159E26AF37BC1E003
values : 03 1e 123456789abcdef0 05 fffffffe
align/size : 1 12
---- TEST 3 - PACKED - WITH ALIGN ----
bits in use : 1F03FF000003FF
bits as set : 0E00D9000002F5
values : 15 17 19 06 0e
align/size : 1 7
---- TEST 4 - PACKED - WITH ALIGN ----
bits in use : 07FFFF00000027
bits as set : 078F0F00000023
values : 03 ffffffff 0f fffffff8 78
align/size : 1 7
---- TEST 5 - PACKED - WITH ALIGN ----
bits in use : FFFFFF07FFFFFFFFFFFFFFFF9FFFFFFFFFFF
bits as set : 007744000000000F18000000000123456789
values : 0000000123456789 f0000000 0000000000000078 44 77
align/size : 1 18
---- TEST 6 - PACKED - WITH ALIGN ----
bits in use : 007000FFFFFFFFFFFFFF
bits as set : 0030002001FD00000004
values : 01 02 03 04 fffffffd
align/size : 1 10
|