]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Deprecate -mstore-max= and related tuning.
authorliuhongt <hongtao.liu@intel.com>
Wed, 24 Sep 2025 02:55:50 +0000 (19:55 -0700)
committerliuhongt <hongtao.liu@intel.com>
Sun, 28 Sep 2025 05:14:05 +0000 (22:14 -0700)
For memset, the size of used vector is decided by MIN(MOVE_MAX_PIECES,
STORE_MAX_PIECES).
Unless there's u-arch prefer big size vector for memcpy and small size
vector for memset, there's no need to have a separate option or tune
for it.
In general, x86 backend always prefer big size vector for memset due
to STLF issue.

gcc/ChangeLog:

PR target/121970
* config/i386/i386-options.cc (ix86_target_string): Remove
store_max.
(ix86_debug_options): Ditto.
(ix86_function_specific_print): Ditto.
(ix86_valid_target_attribute_tree): Ditto.
(ix86_option_override_internal): Ditto.
* config/i386/i386-expand.cc (ix86_expand_builtin): Ditto.
* config/i386/i386-options.h (ix86_target_string): Ditto.
* config/i386/i386.h (MOVE_MAX): Ditto.
(STORE_MAX_PIECES): Set by move_max.
* config/i386/i386.opt: Deprecate mmove-max=.
* config/i386/x86-tune.def (X86_TUNE_AVX256_STORE_BY_PIECES):
Removed.
(X86_TUNE_AVX512_STORE_BY_PIECES): Ditto.

gcc/testsuite/ChangeLog:

* gcc.target/i386/pieces-memcmp-2.c: Remove mstore-max.
* gcc.target/i386/pieces-memcpy-19.c: Ditto.
* gcc.target/i386/pieces-memcpy-20.c: Ditto.
* gcc.target/i386/pr104610.c: Ditto.
* gcc.target/i386/pieces-memset-47.c: Scan warning for
mstore-max deprecation.
* gcc.target/i386/pieces-memset-48.c: Change mstore-max to mmove-max.
* gcc.target/i386/pr121410.c: Ditto.
* gcc.target/i386/pieces-memset-11.c: Change
avx256_store_by_pieces to avx256_move_by_pieces.
* gcc.target/i386/pieces-memset-14.c: Ditto.
* gcc.target/i386/pieces-memset-2.c: Ditto.
* gcc.target/i386/pieces-memset-20.c: Ditto.
* gcc.target/i386/pieces-memset-23.c: Ditto.
* gcc.target/i386/pieces-memset-29.c: Ditto.
* gcc.target/i386/pieces-memset-30.c: Ditto.
* gcc.target/i386/pieces-memset-33.c: Ditto.
* gcc.target/i386/pieces-memset-34.c: Ditto.
* gcc.target/i386/pieces-memset-37.c: Ditto.
* gcc.target/i386/pieces-memset-44.c: Ditto.
* gcc.target/i386/pieces-memset-5.c: Ditto.
* gcc.target/i386/pr100865-10a.c: Ditto.
* gcc.target/i386/pr100865-4a.c: Ditto.
* gcc.target/i386/pr90773-20.c: Ditto.
* gcc.target/i386/pr90773-21.c: Ditto.
* gcc.target/i386/pr90773-22.c: Ditto.
* gcc.target/i386/pr90773-23.c: Ditto.
* g++.target/i386/pr80566-1.C: Ditto.
* gcc.target/i386/pieces-memset-45.c: Change
avx512_store_by_pieces to avx512_move_by_pieces.

33 files changed:
gcc/config/i386/i386-expand.cc
gcc/config/i386/i386-options.cc
gcc/config/i386/i386-options.h
gcc/config/i386/i386.h
gcc/config/i386/i386.opt
gcc/config/i386/x86-tune.def
gcc/testsuite/g++.target/i386/pr80566-1.C
gcc/testsuite/gcc.target/i386/pieces-memcmp-2.c
gcc/testsuite/gcc.target/i386/pieces-memcpy-19.c
gcc/testsuite/gcc.target/i386/pieces-memcpy-20.c
gcc/testsuite/gcc.target/i386/pieces-memset-11.c
gcc/testsuite/gcc.target/i386/pieces-memset-14.c
gcc/testsuite/gcc.target/i386/pieces-memset-2.c
gcc/testsuite/gcc.target/i386/pieces-memset-20.c
gcc/testsuite/gcc.target/i386/pieces-memset-23.c
gcc/testsuite/gcc.target/i386/pieces-memset-29.c
gcc/testsuite/gcc.target/i386/pieces-memset-30.c
gcc/testsuite/gcc.target/i386/pieces-memset-33.c
gcc/testsuite/gcc.target/i386/pieces-memset-34.c
gcc/testsuite/gcc.target/i386/pieces-memset-37.c
gcc/testsuite/gcc.target/i386/pieces-memset-44.c
gcc/testsuite/gcc.target/i386/pieces-memset-45.c
gcc/testsuite/gcc.target/i386/pieces-memset-47.c
gcc/testsuite/gcc.target/i386/pieces-memset-48.c
gcc/testsuite/gcc.target/i386/pieces-memset-5.c
gcc/testsuite/gcc.target/i386/pr100865-10a.c
gcc/testsuite/gcc.target/i386/pr100865-4a.c
gcc/testsuite/gcc.target/i386/pr104610.c
gcc/testsuite/gcc.target/i386/pr121410.c
gcc/testsuite/gcc.target/i386/pr90773-20.c
gcc/testsuite/gcc.target/i386/pr90773-21.c
gcc/testsuite/gcc.target/i386/pr90773-22.c
gcc/testsuite/gcc.target/i386/pr90773-23.c

index b0b9e6da946930c43c4fbf9e79746f0a365a6c90..c6f42275a3e50aba85b18e3d3c72d1d529881ae9 100644 (file)
@@ -13915,8 +13915,7 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
       char *opts = ix86_target_string (bisa, bisa2, 0, 0, NULL, NULL,
                                       (enum fpmath_unit) 0,
                                       (enum prefer_vector_width) 0,
-                                      PVW_NONE, PVW_NONE,
-                                      false, add_abi_p);
+                                      PVW_NONE, false, add_abi_p);
       if (!opts)
        error ("%qE needs unknown isa option", fndecl);
       else
index abb5dd7700e7f981566db32c4892c5a10475cff8..cad40194f1779aa3ccbd28a04528e7cf6d85f7a1 100644 (file)
@@ -401,7 +401,6 @@ ix86_target_string (HOST_WIDE_INT isa, HOST_WIDE_INT isa2,
                    enum fpmath_unit fpmath,
                    enum prefer_vector_width pvw,
                    enum prefer_vector_width move_max,
-                   enum prefer_vector_width store_max,
                    bool add_nl_p, bool add_abi_p)
 {
   /* Flag options.  */
@@ -611,10 +610,6 @@ ix86_target_string (HOST_WIDE_INT isa, HOST_WIDE_INT isa2,
   if (move_max)
     add_vector_width (move_max, "-mmove-max=");
 
-  /* Add -mstore-max= option.  */
-  if (store_max)
-    add_vector_width (store_max, "-mstore-max=");
-
   /* Any options?  */
   if (num == 0)
     return NULL;
@@ -680,8 +675,7 @@ ix86_debug_options (void)
                                   target_flags, ix86_target_flags,
                                   ix86_arch_string, ix86_tune_string,
                                   ix86_fpmath, prefer_vector_width_type,
-                                  ix86_move_max, ix86_store_max,
-                                  true, true);
+                                  ix86_move_max, true, true);
 
   if (opts)
     {
@@ -956,8 +950,7 @@ ix86_function_specific_print (FILE *file, int indent,
                          ptr->x_target_flags, ptr->x_ix86_target_flags,
                          NULL, NULL, ptr->x_ix86_fpmath,
                          ptr->x_prefer_vector_width_type,
-                         ptr->x_ix86_move_max, ptr->x_ix86_store_max,
-                         false, true);
+                         ptr->x_ix86_move_max, false, true);
 
   gcc_assert (ptr->arch < PROCESSOR_max);
   fprintf (file, "%*sarch = %d (%s)\n",
@@ -1410,8 +1403,6 @@ ix86_valid_target_attribute_tree (tree fndecl, tree args,
   enum prefer_vector_width orig_pvw_set = opts_set->x_prefer_vector_width_type;
   enum prefer_vector_width orig_ix86_move_max_set
     = opts_set->x_ix86_move_max;
-  enum prefer_vector_width orig_ix86_store_max_set
-    = opts_set->x_ix86_store_max;
   int orig_tune_defaulted = ix86_tune_defaulted;
   int orig_arch_specified = ix86_arch_specified;
   char *option_strings[IX86_FUNCTION_SPECIFIC_MAX] = { NULL, NULL };
@@ -1492,7 +1483,6 @@ ix86_valid_target_attribute_tree (tree fndecl, tree args,
       opts_set->x_ix86_fpmath = orig_fpmath_set;
       opts_set->x_prefer_vector_width_type = orig_pvw_set;
       opts_set->x_ix86_move_max = orig_ix86_move_max_set;
-      opts_set->x_ix86_store_max = orig_ix86_store_max_set;
       opts->x_ix86_excess_precision = orig_ix86_excess_precision;
       opts->x_ix86_unsafe_math_optimizations
        = orig_ix86_unsafe_math_optimizations;
@@ -2940,32 +2930,6 @@ ix86_option_override_internal (bool main_args_p,
        }
     }
 
-  if (opts_set->x_ix86_store_max == PVW_NONE)
-    {
-      /* Set the maximum number of bits can be stored to memory
-        efficiently.  */
-      if (opts_set->x_prefer_vector_width_type != PVW_NONE)
-       opts->x_ix86_store_max = opts->x_prefer_vector_width_type;
-      else if (ix86_tune_features[X86_TUNE_AVX512_STORE_BY_PIECES])
-       opts->x_ix86_store_max = PVW_AVX512;
-      else if (ix86_tune_features[X86_TUNE_AVX256_STORE_BY_PIECES])
-       opts->x_ix86_store_max = PVW_AVX256;
-      else
-       {
-         opts->x_ix86_store_max = opts->x_prefer_vector_width_type;
-         if (opts_set->x_ix86_store_max == PVW_NONE)
-           {
-             if (TARGET_AVX512F_P (opts->x_ix86_isa_flags))
-               opts->x_ix86_store_max = PVW_AVX512;
-             /* Align with vectorizer to avoid potential STLF issue.  */
-             else if (TARGET_AVX_P (opts->x_ix86_isa_flags))
-               opts->x_ix86_store_max = PVW_AVX256;
-             else
-               opts->x_ix86_store_max = PVW_AVX128;
-           }
-       }
-    }
-
   if (opts->x_ix86_recip_name)
     {
       char *p = ASTRDUP (opts->x_ix86_recip_name);
index 0499c0894ff927a31e6cf6ad4b0aa957adcdd98b..56868998e0bb561730e78d0ef4ff48c079a10abc 100644 (file)
@@ -28,7 +28,6 @@ char *ix86_target_string (HOST_WIDE_INT isa, HOST_WIDE_INT isa2,
                          enum fpmath_unit fpmath,
                          enum prefer_vector_width pvw,
                          enum prefer_vector_width move_max,
-                         enum prefer_vector_width store_max,
                          bool add_nl_p, bool add_abi_p);
 
 extern enum attr_cpu ix86_schedule;
index ac0ce687f36ec96a30914f989fe86737b35c9ac7..f4c89f012ddd0c43832831cbdaf25220c5f4016c 100644 (file)
@@ -1916,13 +1916,9 @@ typedef struct ix86_args {
    MOVE_MAX_PIECES defaults to MOVE_MAX.  */
 
 #define MOVE_MAX \
-  ((TARGET_AVX512F \
-    && (ix86_move_max == PVW_AVX512 \
-       || ix86_store_max == PVW_AVX512)) \
+  ((TARGET_AVX512F && ix86_move_max == PVW_AVX512) \
    ? 64 \
-   : ((TARGET_AVX \
-       && (ix86_move_max >= PVW_AVX256 \
-          || ix86_store_max >= PVW_AVX256)) \
+   : ((TARGET_AVX && ix86_move_max >= PVW_AVX256) \
       ? 32 \
       : ((TARGET_SSE2 \
          && TARGET_SSE_UNALIGNED_LOAD_OPTIMAL \
@@ -1935,15 +1931,14 @@ typedef struct ix86_args {
    store_by_pieces of 16/32/64 bytes.  */
 #define STORE_MAX_PIECES \
   (TARGET_INTER_UNIT_MOVES_TO_VEC \
-   ? ((TARGET_AVX512F && ix86_store_max == PVW_AVX512) \
+   ? ((TARGET_AVX512F && ix86_move_max == PVW_AVX512) \
       ? 64 \
-      : ((TARGET_AVX \
-         && ix86_store_max >= PVW_AVX256) \
+      : ((TARGET_AVX && ix86_move_max >= PVW_AVX256) \
          ? 32 \
          : ((TARGET_SSE2 \
              && TARGET_SSE_UNALIGNED_STORE_OPTIMAL) \
-             ? 16 : UNITS_PER_WORD))) \
-   : UNITS_PER_WORD)
+            ? 16 : UNITS_PER_WORD)))                \
+      : UNITS_PER_WORD)
 
 /* If a memory-to-memory move would take MOVE_RATIO or more simple
    move-instruction pairs, we will do a cpymem or libcall instead.
index 6bda22f48437b370fe9847c94641767611cf07c5..11921765b2d239192c04d30762e315b04628dfef 100644 (file)
@@ -644,8 +644,7 @@ Target RejectNegative Joined Var(ix86_move_max) Enum(prefer_vector_width) Init(P
 Maximum number of bits that can be moved from memory to memory efficiently.
 
 mstore-max=
-Target RejectNegative Joined Var(ix86_store_max) Enum(prefer_vector_width) Init(PVW_NONE) Save
-Maximum number of bits that can be stored to memory efficiently.
+Target RejectNegative Joined Uncoumented Var(ix86_move_max) Enum(prefer_vector_width) Init(PVW_NONE) Warn(%<-mstore-max=%> is deprecated; use %<-mmove-max=%> instead)
 
 mnoreturn-no-callee-saved-registers
 Target Var(ix86_noreturn_no_callee_saved_registers)
index 255ea4a16ccb60070bbb60d1375a4760b3c16fbe..3627312bf09e910fbab34ab5589487d73d80ec3a 100644 (file)
@@ -619,21 +619,11 @@ DEF_TUNE (X86_TUNE_AVX512_SPLIT_REGS, "avx512_split_regs", m_ZNVER4)
 DEF_TUNE (X86_TUNE_AVX256_MOVE_BY_PIECES, "avx256_move_by_pieces",
          m_CORE_HYBRID | m_CORE_AVX2 | m_ZNVER1 | m_ZNVER2 | m_ZNVER3)
 
-/* X86_TUNE_AVX256_STORE_BY_PIECES: Optimize store_by_pieces with 256-bit
-   AVX instructions.  */
-DEF_TUNE (X86_TUNE_AVX256_STORE_BY_PIECES, "avx256_store_by_pieces",
-         m_CORE_HYBRID | m_CORE_AVX2 | m_ZNVER1 | m_ZNVER2 | m_ZNVER3)
-
 /* X86_TUNE_AVX512_MOVE_BY_PIECES: Optimize move_by_pieces with 512-bit
    AVX instructions.  */
 DEF_TUNE (X86_TUNE_AVX512_MOVE_BY_PIECES, "avx512_move_by_pieces",
           m_ZNVER4 | m_ZNVER5)
 
-/* X86_TUNE_AVX512_STORE_BY_PIECES: Optimize store_by_pieces with 512-bit
-   AVX instructions.  */
-DEF_TUNE (X86_TUNE_AVX512_STORE_BY_PIECES, "avx512_store_by_pieces",
-         m_ZNVER4 | m_ZNVER5)
-
 /* X86_TUNE_AVX512_TWO_EPILOGUES: Use two vector epilogues for 512-bit
    vectorized loops.  */
 DEF_TUNE (X86_TUNE_AVX512_TWO_EPILOGUES, "avx512_two_epilogues",
index 2a8031c46bd6ac8e5cda1d0a41e266e93873e767..4e6d96a8804c7410c785c761df0ee19473e08ef4 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-do compile }
-// { dg-options "-O2 -march=haswell -mtune-ctrl=avx256_store_by_pieces" }
+// { dg-options "-O2 -march=haswell -mtune-ctrl=avx256_move_by_pieces" }
 // { dg-skip-if "requires hosted libstdc++ for cstring" { ! hostedlib } }
 
 #include <cstring>
index 6061c911165027ec5676b86d714b7c5f1e54d0a8..d4dd0a5159f18c877d2f8e6738f7c82c48ce717d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target ia32 } } */
-/* { dg-options "-O2 -mavx2 -mmove-max=128 -mstore-max=128" } */
+/* { dg-options "-O2 -mavx2 -mmove-max=128" } */
 
 int foo(char *a)
 {
index a5b5b617578cf18090493b6d361a2d2aff5b921e..de9757fc3ea0b3a5da5b415cdfada14d88798e76 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=sapphirerapids -mmove-max=128 -mstore-max=128" } */
+/* { dg-options "-O2 -march=sapphirerapids -mmove-max=128" } */
 
 extern char *dst, *src;
 
index 1feff48c5b24080e4fdde8ede2d809765752dd36..cb96fbab696559bd1d2a673e3b74496ea74333fb 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=sapphirerapids -mmove-max=256 -mstore-max=256" } */
+/* { dg-options "-O2 -march=sapphirerapids -mmove-max=256" } */
 
 extern char *dst, *src;
 
index 3802eb7c14727199b70381e87c3ed5167c5ad94f..fbf76d06b1d02974e750105d6d9cd578d175c175 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 10bc085f83b39e5b88a096d1c0ac995192cdd6d1..cb940f6710c3b3e3c1a5e63abdd18f428e83c082 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 4ebfc4df090ad4aea92f5f233818d92b9fb813a1..53498f9f4aa190480165d9ef16d977ceb396e9a6 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 1dc4db180d307698122b07456cdb5e7c331a7629..09c9defa017275ba4557a11ee3a3a000890540b6 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 9232864024e5c5dc3d421f1d00c43d1cf68cc020..f692ff00b38e2e296df68676f7f1192ee6771c10 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 3b07a64e3f632353d94cfb8770d6abe734c94d99..8499907b41646eaf13a47e17bea00795007da042 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 59595e6d3c4069b88c8391ddec628f8c114f5375..c9c4459894ea6634fae9f76990ed8c80f5940408 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx512f -mavx2 -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx512f -mavx2 -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 68646223b0edd1623fa1b75167f97df8e2a37b57..b88988f50f5de6afe88306d74fce50c00c42513c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 52a16a0292d1c7b4f446cb06031647a7e95731be..b6a6c3dd1634d7055d7d784cce85a7e5d2a2720d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx512f -mavx2 -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx512f -mavx2 -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 5cc4d7749c36db4a7c824b8b32d7de8c4f8339c8..7b9845f9ef4eb16d36ab0898a72caaa138efe00a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx512f -mavx2 -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx512f -mavx2 -mtune-ctrl=avx256_move_by_pieces" } */
 
 void
 foo (int a1, int a2, int a3, int a4, int a5, int a6, int x, char *dst)
index 5986f8e8b2392ba83165cd53dbb589a462f86d19..94552bed9dcfaf1e010f5edc7624b9ca45464f5c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index e8ce7c23256f0ad1a5e227dce007afda73222d74..d0822a774e3c3e9ce2cd2f36c47f50fa78f5d9c5 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=x86-64 -mavx512f -mtune-ctrl=avx512_store_by_pieces" } */
+/* { dg-options "-O2 -march=x86-64 -mavx512f -mtune-ctrl=avx512_move_by_pieces" } */
 
 extern char *dst;
 
index 78d3290c74fb415bdce75b29d662b005be453dce..99d6abe4844b8db0aecfa632ee9847f9f58d9270 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -march=sapphirerapids -mstore-max=128" } */
+/* { dg-warning ".-mstore-max=. is deprecated; use .-mmove-max=. instead" "" { target *-*-* } 0 } */
 
 extern char *dst;
 
index 6342dbb91b00ea85733499f957e65bb7a151be9a..be12fbb2e9b5ed0ce4c16a32d31a175161b280a4 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=sapphirerapids -mstore-max=256" } */
+/* { dg-options "-O2 -march=sapphirerapids -mmove-max=256" } */
 
 extern char *dst;
 
index e2379df71aafbc46a52ee99dfb20eee06d617068..7fc824c3c56c2659d1bc4ba217540f840c94af16 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -mno-avx2 -mavx -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 3bc0f1a2f0fbad3e99bd431132e9a3fa25767f7f..04129f51234dbb9a58b2c54b83570af5164229f4 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile { target int128 } } */
-/* { dg-options "-O3 -march=skylake -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O3 -march=skylake -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern __int128 array[16];
 
index 8009e5cebd6935d2795570b1a77288be59c43dbe..5817f78fbb38a51b72aff9687daddb7927e8b7ca 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_move_by_pieces" } */
 /* { dg-additional-options "-fno-PIE" { target ia32 } } */
 
 extern char array[64];
index 5173fc8898ce3e0fed9594820fa9efe6d6dbd28e..fec9fcbe9357b6f9d3917d6f9c3c9093dec29c2d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -mavx -mmove-max=256 -mstore-max=256 -fno-stack-protector" } */
+/* { dg-options "-O2 -mavx -mmove-max=256 -fno-stack-protector" } */
 /* { dg-final { scan-assembler-times {(?n)vptest.*ymm} 1 } } */
 /* { dg-final { scan-assembler-times {sete} 1 } } */
 /* { dg-final { scan-assembler-not {(?n)je.*L[0-9]} } } */
index 04bab91e1b816f743f5889c40583939899681004..93cb39b80179698dcd77702bb5bdf88683eec728 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=x86-64 -mavx512f -mstore-max=128" } */
+/* { dg-options "-O2 -march=x86-64 -mavx512f -mmove-max=128" } */
 
 extern unsigned _BitInt(3719) a;
 extern _BitInt(465) g;
index 884a5502b5925653b1dfc963fc313f7cde13ad5e..3286d33f396246408f06a23953d6cbbbf6c5370d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 0d620fff83c3eaa8aac311f351b1218151a050f0..56ec843c40f1b291983f51615bf1a9bfcc42be4c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index 245a436b7eb1e518510e99882b647a0627b28b9d..5fc70c3d02d8427169c50e4ff68b231c4faeac05 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;
 
index b7369e802e10ded1da60ba7c5048aaf95b485fe3..120f2d9d809c875936de026d9627d7cd4898dd28 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_store_by_pieces" } */
+/* { dg-options "-O2 -march=skylake -mtune-ctrl=avx256_move_by_pieces" } */
 
 extern char *dst;