diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-02 00:26:48 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-02 00:26:48 +0000 |
commit | 67d57e2701404760de22df23f02dc0f8f246abf7 (patch) | |
tree | 957ebd616ecadebe8567404b9bab31d993ffe3e2 | |
parent | 205ddcbff01837854a777ed0cc71a74e339436fe (diff) | |
download | gcc-67d57e2701404760de22df23f02dc0f8f246abf7.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204309 138bc75d-0d04-0410-961f-82ee72b054a4
-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 6bdaa313d8b..52b0aabc1d3 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 1a0df406306..f8df5a847fd 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 ebc89480240..54acb4d892b 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 995f3b1754d..f071e31daf2 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 e08c6220eac..9b5053337f5 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 */ diff --git a/gcc/gcse.c b/gcc/gcse.c index bb9ba15ea8b..571e8788c83 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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 14a1e7af093..c8594bb5904 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) |