From: Venkataramanan Kumar Date: Tue, 11 Oct 2016 11:49:32 +0000 (+0000) Subject: Fix integer load reservation for -march=znver1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d0eabee39af26125889437d3b796c6c2e68449f;p=gcc.git 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 --- 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