re PR target/81175 (EXC_BAD_ACCESS in ::slpeel_duplicate_current_defs_from_edges...
authorJakub Jelinek <jakub@redhat.com>
Wed, 28 Jun 2017 07:55:20 +0000 (09:55 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 28 Jun 2017 07:55:20 +0000 (09:55 +0200)
PR target/81175
* config/i386/i386.c (ix86_init_mmx_sse_builtins): Use def_builtin
rather than def_builtin_pure for __builtin_ia32_gatherpf*.

From-SVN: r249727

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

index 9a7e095c08c395b8b05a2f19b352c662f130079a..ff71efad23eefcca11f66871e129fd7ad4dac1f7 100644 (file)
@@ -1,3 +1,9 @@
+2017-06-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/81175
+       * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use def_builtin
+       rather than def_builtin_pure for __builtin_ia32_gatherpf*.
+
 2017-06-28  Richard Biener  <rguenther@suse.de>
 
        * tree-vectorizer.h (vect_get_vec_defs): Remove.
index 5e8d0ff0e3d2084598eb92bdc1c0a06c9b247636..9d53a6c869cd8bd96a90c1f29306a87b0c00b67d 100644 (file)
@@ -32886,18 +32886,18 @@ ix86_init_mmx_sse_builtins (void)
               IX86_BUILTIN_SCATTERALTDIV16SI);
 
   /* AVX512PF */
-  def_builtin_pure (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfdpd",
-                   VOID_FTYPE_QI_V8SI_PCVOID_INT_INT,
-                   IX86_BUILTIN_GATHERPFDPD);
-  def_builtin_pure (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfdps",
-                   VOID_FTYPE_HI_V16SI_PCVOID_INT_INT,
-                   IX86_BUILTIN_GATHERPFDPS);
-  def_builtin_pure (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfqpd",
-                   VOID_FTYPE_QI_V8DI_PCVOID_INT_INT,
-                   IX86_BUILTIN_GATHERPFQPD);
-  def_builtin_pure (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfqps",
-                   VOID_FTYPE_QI_V8DI_PCVOID_INT_INT,
-                   IX86_BUILTIN_GATHERPFQPS);
+  def_builtin (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfdpd",
+              VOID_FTYPE_QI_V8SI_PCVOID_INT_INT,
+              IX86_BUILTIN_GATHERPFDPD);
+  def_builtin (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfdps",
+              VOID_FTYPE_HI_V16SI_PCVOID_INT_INT,
+              IX86_BUILTIN_GATHERPFDPS);
+  def_builtin (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfqpd",
+              VOID_FTYPE_QI_V8DI_PCVOID_INT_INT,
+              IX86_BUILTIN_GATHERPFQPD);
+  def_builtin (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_gatherpfqps",
+              VOID_FTYPE_QI_V8DI_PCVOID_INT_INT,
+              IX86_BUILTIN_GATHERPFQPS);
   def_builtin (OPTION_MASK_ISA_AVX512PF, "__builtin_ia32_scatterpfdpd",
               VOID_FTYPE_QI_V8SI_PCVOID_INT_INT,
               IX86_BUILTIN_SCATTERPFDPD);