aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2024-11-12 14:26:08 -0500
committerJohn David Anglin <danglin@gcc.gnu.org>2024-11-12 14:26:08 -0500
commitb59c4b1803fca7cd66c27e8a82f89f7c10264f34 (patch)
tree4774f120b4ad4a86972c784c84a54e076a8b93bc /gcc/config/pa
parent534e14ad115da0fc1581a637b048a03ecbda1eaf (diff)
downloadgcc-b59c4b1803fca7cd66c27e8a82f89f7c10264f34.zip
gcc-b59c4b1803fca7cd66c27e8a82f89f7c10264f34.tar.gz
gcc-b59c4b1803fca7cd66c27e8a82f89f7c10264f34.tar.bz2
hppa: Fix decrement_and_branch_until_zero constraint
The third alternative for argument 4 needs to be an early clobber constraint. Noticed testing LRA. 2024-11-12 John David Anglin <danglin@gcc.gnu.org> gcc/ChangeLog: * config/pa/pa.md (decrement_and_branch_until_zero): Fix constraint.
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.md b/gcc/config/pa/pa.md
index bf59b7f..360198e 100644
--- a/gcc/config/pa/pa.md
+++ b/gcc/config/pa/pa.md
@@ -9567,7 +9567,7 @@ add,l %2,%3,%3\;bv,n %%r0(%3)"
(pc)))
(set (match_dup 0)
(plus:SI (match_dup 0) (match_dup 1)))
- (clobber (match_scratch:SI 4 "=X,r,r"))]
+ (clobber (match_scratch:SI 4 "=X,r,&r"))]
""
"* return pa_output_dbra (operands, insn, which_alternative); "
;; Do not expect to understand this the first time through.