#include <iostream>
using namespace std;

struct test {
	uint32_t t1:20; 
	uint32_t t2:20; 
	uint32_t t3:20; 
	uint32_t t4:20; 
	uint32_t t5:20; 
	uint32_t t6:20; 
	uint32_t t7:20; 
	uint32_t t8:20; 
}; 

struct test2 {
	uint64_t t1:20; 
	uint64_t t2:20; 
	uint64_t t3:20; 
	uint64_t t4:20; 
	uint64_t t5:20; 
	uint64_t t6:20; 
	uint64_t t7:20; 
	uint64_t t8:20; 
}; 
int main() {
	cout << "test is "<<sizeof(test)<<" bytes compared to "<<8*sizeof(uint32_t)<<endl;
	cout << "test2 is "<<sizeof(test2)<<" bytes compared to "<<8*sizeof(uint32_t)<<endl;
	return 0;
}