-----Original Message----- From: Mike Acton Sent: Monday, March 26, 2007 2:50 AM To: Mike Day; tech Subject: RE: curiously small code... Hey Mike, Using fsm* and gb* this way is definitely very cool! I think what you have below would be tough to beat for scalar values. And I think you've opened the door for a lot more uses of those instructions. I noticed something though: The values don't match exactly between your previous example and this one for the unswizzle. It's basically one-off. If you look at your iterative version (below), the value at (i) is equal to your new unswizzle8( i+1 ). // Previous iterative version (unswizzle) { u32 x=0, y=0; for (u32 i=0; i