Re: [10/11] Expander fixes for 40-bit integers

2011-07-06 Thread Richard Henderson
On 07/01/2011 10:41 AM, Bernd Schmidt wrote: > * optabs.c (expand_binop): Tighten conditions for doubleword > expansions. > (widen_bswap): Assert that mode bitsize and precision are the > same. > * stor-layout.c (get_best_mode): Skip modes that have lower > preci

[10/11] Expander fixes for 40-bit integers

2011-07-01 Thread Bernd Schmidt
This fixes a few random problems that occur when you add a new fractional integer mode - for example, trying to expand doubleword shifts normally for them, or trying to generate 40->64 bit widening multiply. In some cases where it seems we can only deal with modes where precision == bitsisze, I've