Re: [ARM][PATCH, PR 68223] arm_[su]min_cmp pattern fails

2015-11-05 Thread Ramana Radhakrishnan
On 06/11/15 06:46, Michael Collison wrote: > The patterns arm_smin_cmp and arm_umin_cmp patterns fail if operand 0 and > operand 2 are equal and both are less than operand 1. The solution is to > remove the two patterns. Agreed. There is no way this can be made to work without additional branche

[ARM][PATCH, PR 68223] arm_[su]min_cmp pattern fails

2015-11-05 Thread Michael Collison
The patterns arm_smin_cmp and arm_umin_cmp patterns fail if operand 0 and operand 2 are equal and both are less than operand 1. The solution is to remove the two patterns. 2015-11-06 Michael Collison PR target/68223 * gcc/config/arm/arm.md (*arm_smin_cmp): Remove pattern. (*arm_