Re: [PATCH] rs6000: Don't split FP comparisons at expand time

2019-11-21 Thread Segher Boessenkool
On Wed, Nov 20, 2019 at 11:17:11PM +, Segher Boessenkool wrote: > We currently expand various floating point comparisons early, to some > sequences with cror insns and the like. This doesn't optimize well. > > Change that to allow any of the 14 floating point comparisons in the > instruction

[PATCH] rs6000: Don't split FP comparisons at expand time

2019-11-20 Thread Segher Boessenkool
We currently expand various floating point comparisons early, to some sequences with cror insns and the like. This doesn't optimize well. Change that to allow any of the 14 floating point comparisons in the instruction stream, and split them after combine (at split1). Tested on powerpc64-linux {