Le mardi 05 août 2014, 22:08:13 Thomas Preud'homme a écrit : > > + warr = 0; > + if(bb){ > + s = 64 - ((type->t >> (VT_STRUCT_SHIFT + 6)) & > 0x3f); > > Spacing issue again and I don't understand the + 6. The bitfield size is > encoded from bit (1 << VT_STRUCT_SHIFT) on 6 bits. So you should do: > (type->t >> VT_STRUCT_SHIFT) & 0x3f (that is remove all the bits before the > bitfield size and then only keep the 6 least significant bits.
Sorry my apologize. I forgot there is 6 bits for the position and then again 6 bits for the size. Please ignore above remark. Best regards, Thomas
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel