diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2021-11-21 20:18:31 -0600 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2021-11-21 20:18:31 -0600 |
commit | 2b5b8610e985e23a0c2e0272339ab074a750e240 (patch) | |
tree | aa47a8cbd3754e2361e28712c41d5d696f4c0da3 /gcc | |
parent | ae957bef065848356215a127d1c3c81c39b68d6b (diff) | |
download | gcc-2b5b8610e985e23a0c2e0272339ab074a750e240.zip gcc-2b5b8610e985e23a0c2e0272339ab074a750e240.tar.gz gcc-2b5b8610e985e23a0c2e0272339ab074a750e240.tar.bz2 |
xtensa: Fix non-robust split condition in define_insn_and_split
This patch is to fix some non-robust split conditions in some
define_insn_and_splits, to make each of them applied on top of
the corresponding condition for define_insn part, otherwise the
splitting could perform unexpectedly.
gcc/ChangeLog:
* config/xtensa/xtensa.md (movdi_internal, movdf_internal): Fix split
condition.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/xtensa/xtensa.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/xtensa/xtensa.md b/gcc/config/xtensa/xtensa.md index cdf22f1..e0bf720 100644 --- a/gcc/config/xtensa/xtensa.md +++ b/gcc/config/xtensa/xtensa.md @@ -779,7 +779,7 @@ "register_operand (operands[0], DImode) || register_operand (operands[1], DImode)" "#" - "reload_completed" + "&& reload_completed" [(set (match_dup 0) (match_dup 2)) (set (match_dup 1) (match_dup 3))] { @@ -1053,7 +1053,7 @@ "register_operand (operands[0], DFmode) || register_operand (operands[1], DFmode)" "#" - "reload_completed" + "&& reload_completed" [(set (match_dup 0) (match_dup 2)) (set (match_dup 1) (match_dup 3))] { |