From: Pat Haugen Date: Tue, 16 Apr 2019 15:58:02 +0000 (+0000) Subject: re PR target/84369 (test case gcc.dg/sms-10.c fails on power9) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=590df85d1ce9d80e5e628a44a8d7fa03bf02a09c;p=gcc.git re PR target/84369 (test case gcc.dg/sms-10.c fails on power9) PR target/84369 * config/rs6000/power9.md: Add store forwarding bypass. From-SVN: r270394 --- 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"))