From: Joseph Myers Date: Thu, 20 Nov 2008 23:00:00 +0000 (+0000) Subject: thumb2.md (thumb2_casesi_internal, [...]): Use earlyclobber for scratch operand 4. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f72d3365ec79f9f57b370f3892948ba893ea324c;p=platform%2Fupstream%2Fgcc.git thumb2.md (thumb2_casesi_internal, [...]): Use earlyclobber for scratch operand 4. * config/arm/thumb2.md (thumb2_casesi_internal, thumb2_casesi_internal_pic): Use earlyclobber for scratch operand 4. From-SVN: r142070 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3f2908e..dff82f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-11-20 Joseph Myers + + * config/arm/thumb2.md (thumb2_casesi_internal, + thumb2_casesi_internal_pic): Use earlyclobber for scratch operand + 4. + 2008-11-20 Andreas Krebbel * gcc/config/s390/s390.c (s390_expand_atomic): Adjust QI/HI atomic diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md index 3278b63..14b52d0 100644 --- a/gcc/config/arm/thumb2.md +++ b/gcc/config/arm/thumb2.md @@ -949,7 +949,7 @@ (label_ref (match_operand 2 "" "")))) (label_ref (match_operand 3 "" "")))) (clobber (reg:CC CC_REGNUM)) - (clobber (match_scratch:SI 4 "=r")) + (clobber (match_scratch:SI 4 "=&r")) (use (label_ref (match_dup 2)))])] "TARGET_THUMB2 && !flag_pic" "* return thumb2_output_casesi(operands);" @@ -966,7 +966,7 @@ (label_ref (match_operand 2 "" "")))) (label_ref (match_operand 3 "" "")))) (clobber (reg:CC CC_REGNUM)) - (clobber (match_scratch:SI 4 "=r")) + (clobber (match_scratch:SI 4 "=&r")) (clobber (match_scratch:SI 5 "=r")) (use (label_ref (match_dup 2)))])] "TARGET_THUMB2 && flag_pic"