This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 05/26/2011 02:37 PM, Aldy Hernandez wrote:The narrowest integer mode containing the bit field is still 32, so we access the bitfield with an SI instruction as expected.
OK, then:
struct A { int i: 4; int j: 4; int k: 8; int l: 8; int m: 8; };
now the narrowest mode containing 'j' is QI/8, but it would still be safe to use SI.
Attachment:
curr
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |