[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tcc grammar problems
From: |
Thomas Preud'homme |
Subject: |
Re: [Tinycc-devel] tcc grammar problems |
Date: |
Wed, 06 Aug 2014 21:56:50 +0800 |
User-agent: |
KMail/4.12.4 (Linux/3.14-2-amd64; KDE/4.13.3; x86_64; ; ) |
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.
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/01
- Re: [Tinycc-devel] tcc grammar problems, grischka, 2014/08/01
- Re: [Tinycc-devel] tcc grammar problems, Sia Lang, 2014/08/01
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/04
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/05
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/06
- Re: [Tinycc-devel] tcc grammar problems,
Thomas Preud'homme <=
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/06
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/08
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/08
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/10
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/10
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/13
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/18
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/19
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/21
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/30