Summary: | Poor bit-field code generation | ||
---|---|---|---|
Product: | gcc | Reporter: | Dave Richards <dave> |
Component: | middle-end | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | gcc-bugs |
Priority: | P2 | Keywords: | missed-optimization |
Version: | 4.0.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2005-11-13 16:52:38 | |
Bug Depends on: | |||
Bug Blocks: | 19466 |
Description
Dave Richards
2005-03-28 19:25:17 UTC
What options did you use to get the x86 asm? Don't worry about it, I can reproduce it on PPC: lwz r0,0(r12) rlwinm r3,r0,0,1,31 mr r4,r3 stw r3,0(r12) rlwimi r4,r0,0,1,1 mr r5,r4 stw r4,0(r12) Trying to find an equivalent C testcase. Though it is hard. gnatmake -O3 bit_test objdump --disassemble -r bit_test.o |