+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
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: