[Bug middle-end/18038] addition in a multibit bitfield is inefficient

2011-02-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18038 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug middle-end/18038] addition in a multibit bitfield is inefficient

2011-02-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18038 --- Comment #2 from Andrew Pinski 2011-02-18 20:32:51 UTC --- We generated now: .cfi_startproc movzbl(%eax), %ecx addl%ecx, %edx andl$-4, %ecx andl$3, %edx orl%edx, %ecx movb%cl, (%eax) ret

[Bug middle-end/18038] addition in a multibit bitfield is inefficient

2004-10-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-17 16:58 --- Again for PPC: struct B { unsigned :30; unsigned b : 2; }; Confirmed. -- What|Removed |Added