diff options
author | Joseph Myers <joseph@codesourcery.com> | 2008-11-20 23:00:00 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2008-11-20 23:00:00 +0000 |
commit | f72d3365ec79f9f57b370f3892948ba893ea324c (patch) | |
tree | 3c6522df4aec5170c23983191a41294f42faea28 /gcc | |
parent | d7a9e5c0b91e9e5174a107f0a1d25426208222d0 (diff) | |
download | gcc-f72d3365ec79f9f57b370f3892948ba893ea324c.zip gcc-f72d3365ec79f9f57b370f3892948ba893ea324c.tar.gz gcc-f72d3365ec79f9f57b370f3892948ba893ea324c.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/arm/thumb2.md | 4 |
2 files changed, 8 insertions, 2 deletions
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 <joseph@codesourcery.com> + + * config/arm/thumb2.md (thumb2_casesi_internal, + thumb2_casesi_internal_pic): Use earlyclobber for scratch operand + 4. + 2008-11-20 Andreas Krebbel <krebbel1@de.ibm.com> * 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" |