* i386/i386.c (x86_builtin_vectorization_cost): Likewise.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 17 Oct 2017 17:37:23 +0000 (19:37 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 17 Oct 2017 17:37:23 +0000 (17:37 +0000)
From-SVN: r253824

gcc/ChangeLog
gcc/config/i386/i386.c

index 6b9a62eac2f27b814326b408959ca975e58a4c5c..de2aa1dc38900edcd2e855c4811a493dc6d6535e 100644 (file)
@@ -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  <ubizjak@gmail.com>
 
index 2024cfea8ff96ae574ce381a558d5e64086bab8c..79eb4b5ea2c5f43ed545c34e20971d9f77b1a437 100644 (file)
@@ -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: