Re: Wrong cost computation / conclusion ins insn combine?

2023-05-25 Thread Georg-Johann Lay
Am 24.05.23 um 14:31 schrieb Richard Earnshaw (lists): On 23/05/2023 19:41, Georg-Johann Lay wrote: For some time now I am staring at the following test case and what combine does with it: typedef struct { unsigned b0 : 1; unsigned b1 : 1; unsigned b2 : 1; unsigned b3 :

Re: Wrong cost computation / conclusion ins insn combine?

2023-05-24 Thread Richard Earnshaw (lists) via Gcc
On 23/05/2023 19:41, Georg-Johann Lay wrote: For some time now I am staring at the following test case and what combine does with it: typedef struct {     unsigned b0 : 1;     unsigned b1 : 1;     unsigned b2 : 1;     unsigned b3 : 1;     unsigned b4 : 1;     unsigned b5 : 1;    

Wrong cost computation / conclusion ins insn combine?

2023-05-23 Thread Georg-Johann Lay
For some time now I am staring at the following test case and what combine does with it: typedef struct { unsigned b0 : 1; unsigned b1 : 1; unsigned b2 : 1; unsigned b3 : 1; unsigned b4 : 1; unsigned b5 : 1; unsigned b6 : 1; unsigned b7 : 1; } b_t; Prior to