diff options
author | DJ Delorie <dj@redhat.com> | 2007-05-07 18:14:05 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2007-05-07 18:14:05 -0400 |
commit | 3eb5f26faa588b23d8888b0a2fbaa21d7c97d8c4 (patch) | |
tree | 794407358f7133ed442072be735c552aee8d84d7 | |
parent | 38a072970439c42e89cb329b3d5eda77d0c67be0 (diff) | |
download | gcc-3eb5f26faa588b23d8888b0a2fbaa21d7c97d8c4.zip gcc-3eb5f26faa588b23d8888b0a2fbaa21d7c97d8c4.tar.gz gcc-3eb5f26faa588b23d8888b0a2fbaa21d7c97d8c4.tar.bz2 |
re PR target/31794 (Problem while compiling gcc for m32c-elf)
PR 31794
* config/m32c/shift.md (ashlpsi3_i, ashrpsi3_i, ashlpsi3,
ashrpsi3, lshrpsi3): Update shift count constraint.
From-SVN: r124521
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/m32c/shift.md | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index df4aa2f..9d6c0db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-05-07 DJ Delorie <dj@redhat.com> + + PR 31794 + * config/m32c/shift.md (ashlpsi3_i, ashrpsi3_i, ashlpsi3, + ashrpsi3, lshrpsi3): Update shift count constraint. + 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net> Nathan Froyd <froydnj@codesourcery.com diff --git a/gcc/config/m32c/shift.md b/gcc/config/m32c/shift.md index 6679f38..6b8a483 100644 --- a/gcc/config/m32c/shift.md +++ b/gcc/config/m32c/shift.md @@ -175,7 +175,7 @@ (define_insn "ashlpsi3_i" [(set (match_operand:PSI 0 "mra_operand" "=R02RaaSd*Rmm,R02RaaSd*Rmm") (ashift:PSI (match_operand:PSI 1 "mra_operand" "0,0") - (match_operand:QI 2 "mrai_operand" "In4,RqiSd"))) + (match_operand:QI 2 "shiftcount_operand" "In4,RqiSd"))) (clobber (match_scratch:HI 3 "=X,R1w"))] "TARGET_A24" "@ @@ -187,7 +187,7 @@ (define_insn "ashrpsi3_i" [(set (match_operand:PSI 0 "mra_operand" "=R02RaaSd*Rmm,R02RaaSd*Rmm") (ashiftrt:PSI (match_operand:PSI 1 "mra_operand" "0,0") - (neg:QI (match_operand:QI 2 "mrai_operand" "In4,RqiSd")))) + (neg:QI (match_operand:QI 2 "shiftcount_operand" "In4,RqiSd")))) (clobber (match_scratch:HI 3 "=X,R1w"))] "TARGET_A24" "@ @@ -212,7 +212,7 @@ (define_expand "ashlpsi3" [(parallel [(set (match_operand:PSI 0 "mra_operand" "") (ashift:PSI (match_operand:PSI 1 "mra_operand" "") - (match_operand:QI 2 "mrai_operand" ""))) + (match_operand:QI 2 "shiftcount_operand" ""))) (clobber (match_scratch:HI 3 ""))])] "TARGET_A24" "if (m32c_prepare_shift (operands, 1, ASHIFT)) @@ -222,7 +222,7 @@ (define_expand "ashrpsi3" [(parallel [(set (match_operand:PSI 0 "mra_operand" "") (ashiftrt:PSI (match_operand:PSI 1 "mra_operand" "") - (neg:QI (match_operand:QI 2 "mrai_operand" "")))) + (neg:QI (match_operand:QI 2 "shiftcount_operand" "")))) (clobber (match_scratch:HI 3 ""))])] "TARGET_A24" "if (m32c_prepare_shift (operands, -1, ASHIFTRT)) @@ -232,7 +232,7 @@ (define_expand "lshrpsi3" [(parallel [(set (match_operand:PSI 0 "mra_operand" "") (lshiftrt:PSI (match_operand:PSI 1 "mra_operand" "") - (neg:QI (match_operand:QI 2 "mrai_operand" "")))) + (neg:QI (match_operand:QI 2 "shiftcount_operand" "")))) (clobber (match_scratch:HI 3 ""))])] "TARGET_A24" "if (m32c_prepare_shift (operands, -1, LSHIFTRT)) |