Re: [PATCH 3/6] combine: handle I2 a parallel of two SETs

2014-12-05 Thread Andreas Schwab
Segher Boessenkool writes: > gcc/ > * combine.c (is_parallel_of_n_reg_sets): New function. > (can_split_parallel_of_n_reg_sets): New function. > (try_combine): If I2 is a PARALLEL of two SETs, split it into > two insns if possible. This breaks bootstrap on m68k. ../../gc

Re: [PATCH 3/6] combine: handle I2 a parallel of two SETs

2014-12-01 Thread Jeff Law
On 11/27/14 18:44, Segher Boessenkool wrote: If I2 is a PARALLEL of two SETs, split it into two instructions, I1 and I2. If there already was an I1, rename it to I0. If there already was an I0, don't do anything. This surprisingly simple patch is enough to let combine handle such PARALLELs pro

[PATCH 3/6] combine: handle I2 a parallel of two SETs

2014-11-27 Thread Segher Boessenkool
If I2 is a PARALLEL of two SETs, split it into two instructions, I1 and I2. If there already was an I1, rename it to I0. If there already was an I0, don't do anything. This surprisingly simple patch is enough to let combine handle such PARALLELs properly. v2: Add some functions to make the chec