diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2013-11-02 00:26:48 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2013-11-02 00:26:48 +0000 |
commit | 337405fddcd48e5fbdb5a1fd35f6e7c3fa387023 (patch) | |
tree | 957ebd616ecadebe8567404b9bab31d993ffe3e2 | |
parent | 98e43317975a7f0f8da2335e4c39ecc685ae7658 (diff) | |
download | gcc-337405fddcd48e5fbdb5a1fd35f6e7c3fa387023.zip gcc-337405fddcd48e5fbdb5a1fd35f6e7c3fa387023.tar.gz gcc-337405fddcd48e5fbdb5a1fd35f6e7c3fa387023.tar.bz2 |
gcse.c (pre_delete): Remove references to regmove from comments.
* gcse.c (pre_delete): Remove references to regmove from comments.
* recog.c: (validate_replace_rtx_1): Likewise.
* config/rl78/rl78.c: Likewise.
* config/v850/v850.h: Likewise, and remove unused ENABLE_REGMOVE_PASS.
* common/config/m32r/m32r-common.c: Don't manipulate OPT_fregmove.
* common/config/mmix/mmix-common.c: Likewise.
From-SVN: r204309
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/common/config/m32r/m32r-common.c | 1 | ||||
-rw-r--r-- | gcc/common/config/mmix/mmix-common.c | 1 | ||||
-rw-r--r-- | gcc/config/rl78/rl78.c | 4 | ||||
-rw-r--r-- | gcc/config/v850/v850.h | 4 | ||||
-rw-r--r-- | gcc/gcse.c | 2 | ||||
-rw-r--r-- | gcc/recog.c | 3 |
7 files changed, 14 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bdaa31..52b0aab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2013-11-02 Steven Bosscher <steven@gcc.gnu.org> + + * gcse.c (pre_delete): Remove references to regmove from comments. + * recog.c: (validate_replace_rtx_1): Likewise. + * config/rl78/rl78.c: Likewise. + * config/v850/v850.h: Likewise, and remove unused ENABLE_REGMOVE_PASS. + * common/config/m32r/m32r-common.c: Don't manipulate OPT_fregmove. + * common/config/mmix/mmix-common.c: Likewise. + 2013-11-01 Trevor Saunders <tsaunders@mozilla.com> * function.c (reorder_blocks): Convert block_stack to a stack_vec. diff --git a/gcc/common/config/m32r/m32r-common.c b/gcc/common/config/m32r/m32r-common.c index 1a0df40..f8df5a8 100644 --- a/gcc/common/config/m32r/m32r-common.c +++ b/gcc/common/config/m32r/m32r-common.c @@ -29,7 +29,6 @@ static const struct default_options m32r_option_optimization_table[] = { { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 }, - { OPT_LEVELS_1_PLUS, OPT_fregmove, NULL, 1 }, { OPT_LEVELS_NONE, 0, NULL, 0 } }; diff --git a/gcc/common/config/mmix/mmix-common.c b/gcc/common/config/mmix/mmix-common.c index ebc8948..54acb4d 100644 --- a/gcc/common/config/mmix/mmix-common.c +++ b/gcc/common/config/mmix/mmix-common.c @@ -28,7 +28,6 @@ along with GCC; see the file COPYING3. If not see static const struct default_options mmix_option_optimization_table[] = { - { OPT_LEVELS_1_PLUS, OPT_fregmove, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fomit_frame_pointer, NULL, 1 }, { OPT_LEVELS_NONE, 0, NULL, 0 } }; diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 995f3b1..f071e31 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -1894,8 +1894,8 @@ post-reload optimizers could operate on the real registers, but when I tried that there were some issues building the target libraries. During devirtualization, a simple register move optimizer is run. It -would be better to run a full CSE/propogation pass on it through, or -re-run regmove, but that has not yet been attempted. +would be better to run a full CSE/propogation pass on it though, but +that has not yet been attempted. */ #define DEBUG_ALLOC 0 diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index e08c622..9b50533 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -954,10 +954,6 @@ extern tree GHS_current_section_names [(int) COUNT_OF_GHS_SECTION_KINDS]; #define FILE_ASM_OP "\t.file\n" -/* Enable the register move pass to improve code. */ -#define ENABLE_REGMOVE_PASS - - /* Implement ZDA, TDA, and SDA */ #define EP_REGNUM 30 /* ep register number */ @@ -2535,7 +2535,7 @@ gcse_emit_move_after (rtx dest, rtx src, rtx insn) /* Delete redundant computations. Deletion is done by changing the insn to copy the `reaching_reg' of the expression into the result of the SET. It is left to later passes - (cprop, cse2, flow, combine, regmove) to propagate the copy or eliminate it. + to propagate the copy or eliminate it. Return nonzero if a change is made. */ diff --git a/gcc/recog.c b/gcc/recog.c index 14a1e7a..c8594bb 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -726,7 +726,7 @@ validate_replace_rtx_1 (rtx *loc, rtx from, rtx to, rtx object, /* Call ourself recursively to perform the replacements. We must not replace inside already replaced expression, otherwise we get infinite recursion for replacements like (reg X)->(subreg (reg X)) - done by regmove, so we must special case shared ASM_OPERANDS. */ + so we must special case shared ASM_OPERANDS. */ if (GET_CODE (x) == PARALLEL) { @@ -762,6 +762,7 @@ validate_replace_rtx_1 (rtx *loc, rtx from, rtx to, rtx object, if (num_changes == prev_changes) return; + /* ??? The regmove is no more, so is this aberration still necessary? */ /* Allow substituted expression to have different mode. This is used by regmove to change mode of pseudo register. */ if (fmt[0] == 'e' && GET_MODE (XEXP (x, 0)) != VOIDmode) |