]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/i386/i386-expand.cc
Zen4 tuning part 2
[thirdparty/gcc.git] / gcc / config / i386 / i386-expand.cc
index a45640f9a963b68be54363cd658d23f283e7998f..0b887e74515f655fafe0c31e8a7badd58cf925a8 100644 (file)
@@ -8661,6 +8661,8 @@ ix86_expand_set_or_cpymem (rtx dst, rtx src, rtx count_exp, rtx val_exp,
 
       if (TARGET_AVX256_SPLIT_REGS && GET_MODE_BITSIZE (move_mode) > 128)
        move_mode = TImode;
+      if (TARGET_AVX512_SPLIT_REGS && GET_MODE_BITSIZE (move_mode) > 256)
+       move_mode = OImode;
 
       /* Find the corresponding vector mode with the same size as MOVE_MODE.
         MOVE_MODE is an integer mode at the moment (SI, DI, TI, etc.).  */