95_bitfields.expect 4.1 KB

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