diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f007efe75e..437159728a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-04-16 Pat Haugen + + PR target/84369 + * config/rs6000/power9.md: Add store forwarding bypass. + 2019-04-16 Alexandre Oliva PR debug/89528 diff --git a/gcc/config/rs6000/power9.md b/gcc/config/rs6000/power9.md index 8e62d1046c1..aa42ae3d0d5 100644 --- a/gcc/config/rs6000/power9.md +++ b/gcc/config/rs6000/power9.md @@ -236,6 +236,9 @@ (eq_attr "cpu" "power9")) "DU_super_power9,LSU_pair_power9") +; Store forwarding latency is 6 +(define_bypass 6 "power9-*store*" "power9-*load*") + (define_insn_reservation "power9-larx" 4 (and (eq_attr "type" "load_l") (eq_attr "cpu" "power9"))