From b6fb7d460cc513f9564a1ba5aeaa431f32e7858f Mon Sep 17 00:00:00 2001 From: James E Wilson Date: Fri, 7 Oct 2005 12:27:37 -0700 Subject: [PATCH] Fix libgfortran build failure, stX insns don't allow post_inc addr w/ reg inc. PR target/24193 * config/ia64/ia64.md (movbi, movti_internal, gr_spill_internal, fr_spill): Use destination_operand for operand 0. From-SVN: r105100 --- gcc/ChangeLog | 6 ++++++ gcc/config/ia64/ia64.md | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7573df00644..5033c48f762 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-10-07 James E. Wilson + + PR target/24193 + * config/ia64/ia64.md (movbi, movti_internal, gr_spill_internal, + fr_spill): Use destination_operand for operand 0. + 2005-10-07 DJ Delorie * varasm.c (output_constant): Limit error to expanding diff --git a/gcc/config/ia64/ia64.md b/gcc/config/ia64/ia64.md index ab546093dbc..989a4fd0e16 100644 --- a/gcc/config/ia64/ia64.md +++ b/gcc/config/ia64/ia64.md @@ -206,8 +206,8 @@ (set_attr "predicable" "no")]) (define_insn "movbi" - [(set (match_operand:BI 0 "nonimmediate_operand" "=c,c,?c,?*r, c,*r,*r,*m,*r") - (match_operand:BI 1 "move_operand" " O,n, c, c,*r, n,*m,*r,*r"))] + [(set (match_operand:BI 0 "destination_operand" "=c,c,?c,?*r, c,*r,*r,*m,*r") + (match_operand:BI 1 "move_operand" " O,n, c, c,*r, n,*m,*r,*r"))] "" "@ cmp.ne %0, %I0 = r0, r0 @@ -659,8 +659,8 @@ }) (define_insn_and_split "*movti_internal" - [(set (match_operand:TI 0 "nonimmediate_operand" "=r, *fm,*x,*f, Q") - (match_operand:TI 1 "general_operand" "r*fim,r, Q, *fOQ,*f"))] + [(set (match_operand:TI 0 "destination_operand" "=r, *fm,*x,*f, Q") + (match_operand:TI 1 "general_operand" "r*fim,r, Q, *fOQ,*f"))] "ia64_move_ok (operands[0], operands[1])" "@ # @@ -5925,7 +5925,7 @@ "operands[3] = gen_rtx_REG (DImode, AR_UNAT_REGNUM);") (define_insn "gr_spill_internal" - [(set (match_operand:DI 0 "memory_operand" "=m") + [(set (match_operand:DI 0 "destination_operand" "=m") (unspec:DI [(match_operand:DI 1 "register_operand" "r") (match_operand:DI 2 "const_int_operand" "")] UNSPEC_GR_SPILL)) @@ -5959,7 +5959,7 @@ [(set_attr "itanium_class" "ld")]) (define_insn "fr_spill" - [(set (match_operand:XF 0 "memory_operand" "=m") + [(set (match_operand:XF 0 "destination_operand" "=m") (unspec:XF [(match_operand:XF 1 "register_operand" "f")] UNSPEC_FR_SPILL))] "" -- 2.30.2