aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAaron Sawdey <acsawdey@gcc.gnu.org>2018-01-08 10:35:31 -0600
committerAaron Sawdey <acsawdey@gcc.gnu.org>2018-01-08 10:35:31 -0600
commit7f047768f22a132ed8959c6ecaf774ead733af79 (patch)
treeb99b36303052b50196884f5ed4b4c6f8d067f146 /gcc
parent647c61f1c4623ec9591cb4f10dd94cff5a7b4fa8 (diff)
downloadgcc-7f047768f22a132ed8959c6ecaf774ead733af79.zip
gcc-7f047768f22a132ed8959c6ecaf774ead733af79.tar.gz
gcc-7f047768f22a132ed8959c6ecaf774ead733af79.tar.bz2
rs6000.c (rs6000_legitimate_combined_insn): Updated with the new names of the branch decrement patterns...
* config/rs6000/rs6000.c (rs6000_legitimate_combined_insn): Updated with the new names of the branch decrement patterns, and added the names of the branch decrement conditional patterns. From-SVN: r256347
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 46e00dd..03db5af 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -9072,10 +9072,14 @@ rs6000_legitimate_combined_insn (rtx_insn *insn)
for the difficult case. It's better to not create problems
in the first place. */
if (icode != CODE_FOR_nothing
- && (icode == CODE_FOR_ctrsi_internal1
- || icode == CODE_FOR_ctrdi_internal1
- || icode == CODE_FOR_ctrsi_internal2
- || icode == CODE_FOR_ctrdi_internal2))
+ && (icode == CODE_FOR_bdz_si
+ || icode == CODE_FOR_bdz_di
+ || icode == CODE_FOR_bdnz_si
+ || icode == CODE_FOR_bdnz_di
+ || icode == CODE_FOR_bdztf_si
+ || icode == CODE_FOR_bdztf_di
+ || icode == CODE_FOR_bdnztf_si
+ || icode == CODE_FOR_bdnztf_di))
return false;
return true;