Re: Question on missed insn combine optimization.

2011-07-12 Thread Georg-Johann Lay
Bernd Schmidt wrote: > On 07/12/11 13:11, Georg-Johann Lay wrote: >> Not familiar with combine inerts, I'd like to know if >> it's low hanging fruit to teach insn combine to perform >> optimizations like the following. >> >> Suppose following C code, int = HI >> >> int y15; >> int x15; >> >> void q

Re: Question on missed insn combine optimization.

2011-07-12 Thread Bernd Schmidt
On 07/12/11 13:11, Georg-Johann Lay wrote: > Not familiar with combine inerts, I'd like to know if > it's low hanging fruit to teach insn combine to perform > optimizations like the following. > > Suppose following C code, int = HI > > int y15; > int x15; > > void qmul8_xy (char c, int x, int y)

Question on missed insn combine optimization.

2011-07-12 Thread Georg-Johann Lay
Not familiar with combine inerts, I'd like to know if it's low hanging fruit to teach insn combine to perform optimizations like the following. Suppose following C code, int = HI int y15; int x15; void qmul8_xy (char c, int x, int y) { y15 = y * c; x15 = x * c; } and that the target has