From a584b03d5f53ce92fbdb49552d7b2ece09d789e7 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Tue, 17 Oct 2017 19:37:23 +0200 Subject: [PATCH] * i386/i386.c (x86_builtin_vectorization_cost): Likewise. From-SVN: r253824 --- gcc/ChangeLog | 1 + gcc/config/i386/i386.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b9a62eac2f..de2aa1dc389 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -12,6 +12,7 @@ * rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Likewise. * s390/s390.c (s390_builtin_vectorization_cost): Likewise. * spu/spu.c (spu_builtin_vectorization_cost): Likewise. + * i386/i386.c (x86_builtin_vectorization_cost): Likewise. 2017-10-17 Uros Bizjak diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2024cfea8ff..79eb4b5ea2c 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -44043,6 +44043,8 @@ ix86_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost, case unaligned_load: case unaligned_store: + case vector_gather_load: + case vector_scatter_store: return ix86_cost->vec_unalign_load_cost; case cond_branch_taken: -- 2.30.2