public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-9400] Disable X86_TUNE_AVX256_MOVE_BY_PIECES and STORE_BY_PIECES for znver1-3
@ 2023-04-14 17:20 Jan Hubicka
  0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2023-04-14 17:20 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9075b0f19eece7d5ddf948204507b5dae9d292c4

commit r12-9400-g9075b0f19eece7d5ddf948204507b5dae9d292c4
Author: Jan Hubicka <jh@suse.cz>
Date:   Fri Apr 14 19:18:24 2023 +0200

    Disable X86_TUNE_AVX256_MOVE_BY_PIECES and STORE_BY_PIECES for znver1-3
    
    I have enabled SSE moves for znver1-3 since they are performance win on this
    machine too (we avoid using loops or string operations which are more costy).
    However as discussed in the PR log, this triggers bug in IRA and it was decided
    it is better to not backport the fix.
    
    gcc/ChangeLog:
    
    2023-04-14  Jan Hubicka  <hubicka@ucw.cz>
    
            PR target/109137
            * config/i386/x86-tune.def (X86_TUNE_AVX256_MOVE_BY_PIECES):
            Remove znver1-3.
            (X86_TUNE_AVX256_STORE_BY_PIECES): Remove znver1-3.

Diff:
---
 gcc/config/i386/x86-tune.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index 78d815c32db..e6b9e21250f 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -545,12 +545,12 @@ DEF_TUNE (X86_TUNE_AVX512_SPLIT_REGS, "avx512_split_regs", m_ZNVER4)
 /* X86_TUNE_AVX256_MOVE_BY_PIECES: Optimize move_by_pieces with 256-bit
    AVX instructions.  */
 DEF_TUNE (X86_TUNE_AVX256_MOVE_BY_PIECES, "avx256_move_by_pieces",
-	  m_CORE_AVX512 | m_ZNVER1 | m_ZNVER2 | m_ZNVER3)
+	  m_CORE_AVX512)
 
 /* 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_AVX512 | m_ZNVER1 | m_ZNVER2 | m_ZNVER3)
+	  m_CORE_AVX512)
 
 /* X86_TUNE_AVX512_MOVE_BY_PIECES: Optimize move_by_pieces with 512-bit
    AVX instructions.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-14 17:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 17:20 [gcc r12-9400] Disable X86_TUNE_AVX256_MOVE_BY_PIECES and STORE_BY_PIECES for znver1-3 Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).