On Tue, Dec 1, 2015 at 8:55 PM, Segher Boessenkool <seg...@kernel.crashing.org> wrote: > On 64-bit we can do comparisons of 32-bit values by extending those > values to 64-bit, subtracting them, and then getting the high bit of > the result. For registers this is always cheaper than using the carry > bit sequence; and if the comparison involves a constant, this is cheaper > than the sequence we previously generated in half of the cases (and the > same cost in the other cases). > > After this, the only sequence left that is using the mfcr insn is the > one doing signed comparison of Pmode registers. > > Testing in progress. Okay for trunk if that succeeds?
Okay. Thanks, David