* i386.c (has_dispatch): Disable for Ryzen.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 8 Oct 2017 10:41:44 +0000 (12:41 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 8 Oct 2017 10:41:44 +0000 (10:41 +0000)
From-SVN: r253523

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

index c4a7c62b4770e38186b60244d6dd00f183727fc4..e7453131f695a33d83e19e9bb8f9b22bcf50322f 100644 (file)
@@ -1,3 +1,7 @@
+2017-10-08  Jan Hubicka  <hubicka@ucw.cz>
+
+       * i386.c (has_dispatch): Disable for Ryzen.
+
 2017-10-08  Olivier Hainque  <hainque@adacore.com>
 
        * config/arm/arm.c (arm_set_return_address): Use MEM_VOLATILE_P
index e90cbfb50606d910433981a81807aad163e23c4c..8613aa8fa66a68d6806d0bb349413496ac225c02 100644 (file)
@@ -51798,8 +51798,9 @@ do_dispatch (rtx_insn *insn, int mode)
 static bool
 has_dispatch (rtx_insn *insn, int action)
 {
+  /* Current implementation of dispatch scheduler models buldozer only.  */
   if ((TARGET_BDVER1 || TARGET_BDVER2 || TARGET_BDVER3
-      || TARGET_BDVER4 || TARGET_ZNVER1) && flag_dispatch_scheduler)
+      || TARGET_BDVER4) && flag_dispatch_scheduler)
     switch (action)
       {
       default: