diff options
author | Jeff Law <law@redhat.com> | 2017-03-13 11:43:19 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-03-13 11:43:19 -0600 |
commit | 097de8ffcbc0f85f62d107044ef85cbdfa43b8b0 (patch) | |
tree | 094085f2625d51db34b7654f67d7a1fdf18cbe28 | |
parent | a48018b5dc804de7b8c07197bff56e57269d67a2 (diff) | |
download | gcc-097de8ffcbc0f85f62d107044ef85cbdfa43b8b0.zip gcc-097de8ffcbc0f85f62d107044ef85cbdfa43b8b0.tar.gz gcc-097de8ffcbc0f85f62d107044ef85cbdfa43b8b0.tar.bz2 |
pdp11.md (movmemhi): Adjust operand numbers to match_scratch operand is highest.
* config/pdp11/pdp11.md (movmemhi): Adjust operand numbers to
match_scratch operand is highest.
From-SVN: r246100
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pdp11/pdp11.md | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4cd56f..124dca3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-03-13 Jeff Law <law@redhat.com> + + * config/pdp11/pdp11.md (movmemhi): Adjust operand numbers to + match_scratch operand is highest. + 2017-03-13 Martin Liska <mliska@suse.cz> PR middle-end/78339 diff --git a/gcc/config/pdp11/pdp11.md b/gcc/config/pdp11/pdp11.md index ee820f2..dde7711 100644 --- a/gcc/config/pdp11/pdp11.md +++ b/gcc/config/pdp11/pdp11.md @@ -373,9 +373,9 @@ (match_operand:BLK 1 "general_operand" "g,g")) (use (match_operand:HI 2 "general_operand" "n,mr")) (use (match_operand:HI 3 "immediate_operand" "i,i")) - (clobber (match_scratch:HI 4 "=&r,X")) + (clobber (match_scratch:HI 6 "=&r,X")) + (clobber (match_dup 4)) (clobber (match_dup 5)) - (clobber (match_dup 6)) (clobber (match_dup 2))])] "(TARGET_BCOPY_BUILTIN)" " @@ -387,8 +387,8 @@ = replace_equiv_address (operands[1], copy_to_mode_reg (Pmode, XEXP (operands[1], 0))); - operands[5] = XEXP (operands[0], 0); - operands[6] = XEXP (operands[1], 0); + operands[4] = XEXP (operands[0], 0); + operands[5] = XEXP (operands[1], 0); }") |