From eb79a6b1cb7b97cda532e2efd5612fa80c3eb005 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Sun, 8 Oct 2017 12:41:44 +0200 Subject: [PATCH] * i386.c (has_dispatch): Disable for Ryzen. From-SVN: r253523 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4a7c62b477..e7453131f69 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-10-08 Jan Hubicka + + * i386.c (has_dispatch): Disable for Ryzen. + 2017-10-08 Olivier Hainque * config/arm/arm.c (arm_set_return_address): Use MEM_VOLATILE_P diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e90cbfb5060..8613aa8fa66 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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: -- 2.30.2