[MIPS] Scheduler fix for the 74k & 24k.
authorSimon Dardis <simon.dardis@imgtec.com>
Wed, 12 Aug 2015 10:44:56 +0000 (11:44 +0100)
committerRobert Suchanek <rts@gcc.gnu.org>
Wed, 12 Aug 2015 10:44:56 +0000 (10:44 +0000)
2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>

gcc/
* config/mips/mips.c (mips_store_data_bypass_p): Bring code into
line with comments.
* config/mips/sb1.md: Update usage of mips_store_data_bypass_p.

From-SVN: r226805

gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/sb1.md

index 62b38279ab09a0260494c4a30d34d0f36c2c4aee..2e94a8d43dfa2fdd97a067fa713c1b48df6334ee 100644 (file)
@@ -1,3 +1,9 @@
+2015-08-12  Simon Dardis  <simon.dardis@imgtec.com>
+
+       * config/mips/mips.c (mips_store_data_bypass_p): Bring code into
+       line with comments.
+       * config/mips/sb1.md: Update usage of mips_store_data_bypass_p.
+
 2015-08-12  Richard Biener  <rguenther@suse.de>
 
        * gimple.h (remove_pointer): New trait.
index bf0f84f5356853a51ebf1ad58f9b197cab915c68..535a865e488f5f22cd494b62b97af7c1f7b84e31 100644 (file)
@@ -13615,7 +13615,7 @@ mips_store_data_bypass_p (rtx_insn *out_insn, rtx_insn *in_insn)
   if (GET_CODE (PATTERN (in_insn)) == UNSPEC_VOLATILE)
     return false;
 
-  return !store_data_bypass_p (out_insn, in_insn);
+  return store_data_bypass_p (out_insn, in_insn);
 }
 \f
 
index 19b9b324653e10a6cae5931f45025f3a9ae0dacf..e8d1f1b2da84bb73885e140ba71cecb0278c5359 100644 (file)
   "ir_sb1_load,ir_sb1a_load,ir_sb1_fpload,ir_sb1_fpload_32bitfp,
    ir_sb1_fpidxload,ir_sb1_fpidxload_32bitfp"
   "ir_sb1_store,ir_sb1_fpstore,ir_sb1_fpidxstore"
-  "mips_store_data_bypass_p")
+  "!mips_store_data_bypass_p")
 
 ;; On SB-1, simple alu instructions can execute on the LS1 unit.
 
 (define_bypass 5
   "ir_sb1a_simple_alu,ir_sb1_alu,ir_sb1_alu_0,ir_sb1_mfhi,ir_sb1_mflo"
   "ir_sb1_store,ir_sb1_fpstore,ir_sb1_fpidxstore"
-  "mips_store_data_bypass_p")
+  "!mips_store_data_bypass_p")
 
 ;; mf{hi,lo} is 1 cycle.  
 
 (define_bypass 7
   "ir_sb1_mulsi,ir_sb1_muldi"
   "ir_sb1_store,ir_sb1_fpstore,ir_sb1_fpidxstore"
-  "mips_store_data_bypass_p")
+  "!mips_store_data_bypass_p")
 
 ;; The divide unit is not pipelined.  Divide busy is asserted in the 4th
 ;; cycle, and then deasserted on the latency cycle.  So only one divide at