re PR target/84369 (test case gcc.dg/sms-10.c fails on power9)
authorPat Haugen <pthaugen@us.ibm.com>
Tue, 16 Apr 2019 15:58:02 +0000 (15:58 +0000)
committerPat Haugen <pthaugen@gcc.gnu.org>
Tue, 16 Apr 2019 15:58:02 +0000 (15:58 +0000)
PR target/84369
* config/rs6000/power9.md: Add store forwarding bypass.

From-SVN: r270394

gcc/ChangeLog
gcc/config/rs6000/power9.md

index 5f007efe75ef820cd2ea70f58218c052ccb29857..437159728a234420c3a3d13d43b03329778e8c29 100644 (file)
@@ -1,3 +1,8 @@
+2019-04-16  Pat Haugen  <pthaugen@us.ibm.com>
+
+       PR target/84369
+       * config/rs6000/power9.md: Add store forwarding bypass.
+
 2019-04-16  Alexandre Oliva <aoliva@redhat.com>
 
        PR debug/89528
index 8e62d1046c1699e390ba241cf3b52da32c8f2fcd..aa42ae3d0d542d1e9be18d22c7c7d8b704a61710 100644 (file)
        (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"))