From c9aab4bddf687b297cd5dcd609d08c4d95563394 Mon Sep 17 00:00:00 2001
From: vekumar <vekumar@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 4 Feb 2016 07:52:08 +0000
Subject: Disable auto prefetcher for -march=znver1.

2016-02-04  Victoria Stepanyan  <victoria.stepanyan@amd.com>

        * gcc/config/i386/x86-tune.def: Disable default prefetching
        for -march=znver1.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233127 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/config/i386/x86-tune.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gcc/config/i386/x86-tune.def')

diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index 9d25e51d407..31a87b913b2 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -218,7 +218,7 @@ DEF_TUNE (X86_TUNE_FOUR_JUMP_LIMIT, "four_jump_limit",
    at -O3.  For the moment, the prefetching seems badly tuned for Intel
    chips.  */
 DEF_TUNE (X86_TUNE_SOFTWARE_PREFETCHING_BENEFICIAL, "software_prefetching_beneficial",
-          m_K6_GEODE | m_AMD_MULTIPLE)
+          m_K6_GEODE | m_ATHLON_K8 | m_AMDFAM10 | m_BDVER | m_BTVER)
 
 /* X86_TUNE_LCP_STALL: Avoid an expensive length-changing prefix stall
    on 16-bit immediate moves into memory on Core2 and Corei7.  */
-- 
cgit v1.2.1

