Re: [PATCH] Use vpmin to optimize some vector comparisons (PR target/88547)

2018-12-21 Thread Uros Bizjak
On Fri, Dec 21, 2018 at 10:13 AM Jakub Jelinek wrote: > > Hi! > > The following patch attempts to improve code generated for some > integral vector comparisons and VEC_COND_EXPRs with integral comparisons. > The only available integral vector comparison instructions are GT and > EQ, the rest is ha

[PATCH] Use vpmin to optimize some vector comparisons (PR target/88547)

2018-12-21 Thread Jakub Jelinek
Hi! The following patch attempts to improve code generated for some integral vector comparisons and VEC_COND_EXPRs with integral comparisons. The only available integral vector comparison instructions are GT and EQ, the rest is handled either by negating the result (for vcond swapping op_true/op_f