From: Jan Hubicka Date: Sun, 8 Oct 2017 10:41:44 +0000 (+0200) Subject: * i386.c (has_dispatch): Disable for Ryzen. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb79a6b1cb7b97cda532e2efd5612fa80c3eb005;p=gcc.git * i386.c (has_dispatch): Disable for Ryzen. From-SVN: r253523 --- 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: