From 1d0eabee39af26125889437d3b796c6c2e68449f Mon Sep 17 00:00:00 2001 From: Venkataramanan Kumar Date: Tue, 11 Oct 2016 11:49:32 +0000 Subject: [PATCH] Fix integer load reservation for -march=znver1 2016-10-11 Venkataramanan Kumar * config/i386/znver1.md : Fix imov/imovx load type reservations. From-SVN: r240990 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/znver1.md | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b00cb2c54fc..1a9cb5ac003 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-10-11 Venkataramanan Kumar + + * config/i386/znver1.md : Fix imov/imovx load type reservations. + 2016-10-11 Eric Botcazou * config/sparc/sparc.opt (msubxc): New option. diff --git a/gcc/config/i386/znver1.md b/gcc/config/i386/znver1.md index 7db0562a074..93a707ac750 100644 --- a/gcc/config/i386/znver1.md +++ b/gcc/config/i386/znver1.md @@ -228,18 +228,18 @@ (eq_attr "memory" "store"))) "znver1-direct,znver1-ieu,znver1-store") -(define_insn_reservation "znver1_load_imov_double_load" 6 +(define_insn_reservation "znver1_load_imov_double_load" 5 (and (eq_attr "cpu" "znver1") (and (eq_attr "znver1_decode" "double") (and (eq_attr "type" "imovx") (eq_attr "memory" "load")))) - "znver1-double,znver1-load,znver1-ieu") + "znver1-double,znver1-load") -(define_insn_reservation "znver1_load_imov_direct_load" 5 +(define_insn_reservation "znver1_load_imov_direct_load" 4 (and (eq_attr "cpu" "znver1") (and (eq_attr "type" "imov,imovx") (eq_attr "memory" "load"))) - "znver1-direct,znver1-load,znver1-ieu") + "znver1-direct,znver1-load") ;; INTEGER/GENERAL instructions ;; register/imm operands only: ALU, ICMP, NEG, NOT, ROTATE, ISHIFT, TEST -- 2.30.2