Name: Anonymous 2014-07-22 13:29
Can be yours or not, I just want to see something good.
Packing/unpacking one bit at a time like that is going to be horribly slow.It won't be, because memory is the bottleneck and superscalar architecture can unpack several bit at once.
x = word & 1;
y = word & 2;
z = word & 4;
x = word & 1