[vec-cmp, patch 5/6] Disable bool patterns when possible
Jeff Law
law@redhat.com
Wed Oct 21 17:49:00 GMT 2015
On 10/08/2015 09:15 AM, Ilya Enkovich wrote:
> Hi,
>
> This patch disables transformation of boolean computations into integer ones in case target supports vector comparison. Pattern still applies to transform resulting boolean value into integer or avoid COND_EXPR with SSA_NAME as condition.
>
> Thanks,
> Ilya
> --
> 2015-10-08 Ilya Enkovich <enkovich.gnu@gmail.com>
>
> * tree-vect-patterns.c (check_bool_pattern): Check fails
> if we can vectorize comparison directly.
> (search_type_for_mask): New.
> (vect_recog_bool_pattern): Support cases when bool pattern
> check fails.
And just to be clear, I think there was an x86 patch in this series.
I'm leaving that for Uros & Kirill. I think Richi covered the other
patches from this series.
Jeff
More information about the Gcc-patches
mailing list