diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-05 13:24:11 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-02-05 13:24:11 +0000 |
commit | a9114d35764b2c40c0b8e9f0ef6a8af0c6a59cb6 (patch) | |
tree | 1bd71818e34ce9ccc805e758bbe47c02a9b5470f /toolchain/gcc/4.3.2/306-arm-funroll-loops.patch.arm | |
parent | d41e54e69486083c67d5ee1d105bab7d8c7e85dc (diff) |
toolchain/gcc/4.3.2: fix arm funroll-loops patch from r24993
Rename it so it actually gets applied and fix it so it can be applied
(-p level).
Diffstat (limited to 'toolchain/gcc/4.3.2/306-arm-funroll-loops.patch.arm')
-rw-r--r-- | toolchain/gcc/4.3.2/306-arm-funroll-loops.patch.arm | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/toolchain/gcc/4.3.2/306-arm-funroll-loops.patch.arm b/toolchain/gcc/4.3.2/306-arm-funroll-loops.patch.arm deleted file mode 100644 index dadaf32ac..000000000 --- a/toolchain/gcc/4.3.2/306-arm-funroll-loops.patch.arm +++ /dev/null @@ -1,31 +0,0 @@ -ChangeLog (regrename) - - gcc/ - * regrename.c: Unshare RTX earlier in build_def_use to avoid - corruption of dup_loc. - - -Index: gcc/regrename.c -=================================================================== ---- gcc/regrename.c (revision 197947) -+++ gcc/regrename.c (working copy) -@@ -783,6 +783,10 @@ build_def_use (basic_block bb) - recog_data.operand_type[i] = OP_INOUT; - } - -+ /* Unshare dup_loc RTL */ -+ for (i = 0; i < recog_data.n_dups; i++) -+ *recog_data.dup_loc[i] = copy_rtx(*recog_data.dup_loc[i]); -+ - /* Step 1: Close chains for which we have overlapping reads. */ - for (i = 0; i < n_ops; i++) - scan_rtx (insn, recog_data.operand_loc[i], -@@ -813,7 +817,7 @@ build_def_use (basic_block bb) - OP_IN, 0); - - for (i = 0; i < recog_data.n_dups; i++) -- *recog_data.dup_loc[i] = copy_rtx (old_dups[i]); -+ *recog_data.dup_loc[i] = old_dups[i]; - for (i = 0; i < n_ops; i++) - *recog_data.operand_loc[i] = old_operands[i]; - if (recog_data.n_dups) |