aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>2015-02-10 10:10:07 +0000
committerNick Clifton <nickc@gcc.gnu.org>2015-02-10 10:10:07 +0000
commit7299e9f15ad2f66ae7f0f3ff2119948e366bf706 (patch)
tree3c24cf689e56275fc6014f5d9645a4cdc73e7290
parent9e271531390b70fd400fdfbd1ba5a774f9fe4df5 (diff)
downloadgcc-7299e9f15ad2f66ae7f0f3ff2119948e366bf706.zip
gcc-7299e9f15ad2f66ae7f0f3ff2119948e366bf706.tar.gz
gcc-7299e9f15ad2f66ae7f0f3ff2119948e366bf706.tar.bz2
rl78.c: Remove DIV attribute code accidentally included in previous rl78 commit.
* config/rl78/rl78.c: Remove DIV attribute code accidentally included in previous rl78 commit. From-SVN: r220578
-rw-r--r--gcc/ChangeLog15
-rw-r--r--gcc/config/rl78/rl78.c55
2 files changed, 10 insertions, 60 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index db3927e..6ee5216 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-10 Nick Clifton <nickc@redhat.com>
+
+ * config/rl78/rl78.c: Remove DIV attribute code accidentally
+ included in previous rl78 commit.
+
2015-02-10 Richard Biener <rguenther@suse.de>
* tree-streamer.h (streamer_read_tree_bitfields): Adjust.
@@ -65,7 +70,7 @@
2015-02-08 Jan Hubicka <hubicka@ucw.cz>
- PR ipa/63566
+ PR ipa/63566
* ipa-icf.c (set_local): New function.
(sem_function::merge): Use it.
@@ -125,13 +130,13 @@
2015-02-08 Jan Hubicka <hubicka@ucw.cz>
- PR ipa/63566
+ PR ipa/63566
* ipa-visibility.c (cgraph_node::non_local_p): Accept aliases.
(cgraph_node::local_p): Remove thunk related FIXME.
2015-02-08 Jan Hubicka <hubicka@ucw.cz>
- PR ipa/63566
+ PR ipa/63566
* i386.c (ix86_function_regparm): Look through aliases to see if callee
is local and optimized.
(ix86_function_sseregparm): Likewise; also use target's SSE math
@@ -141,12 +146,12 @@
2015-02-08 Jan Hubicka <hubicka@ucw.cz>
- PR ipa/63566
+ PR ipa/63566
* ipa-split.c (execute_split_functions): Split if function has aliases.
2015-02-08 Jan Hubicka <hubicka@ucw.cz>
- PR ipa/63566
+ PR ipa/63566
* cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
aliases before trying to expand it.
(cgraph_node::expand_thunk): Fix formating.
diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c
index 1ab483e..38a99c2 100644
--- a/gcc/config/rl78/rl78.c
+++ b/gcc/config/rl78/rl78.c
@@ -3462,18 +3462,6 @@ rl78_alloc_physical_registers (void)
record_content (BC, NULL_RTX);
record_content (DE, NULL_RTX);
}
- else if (valloc_method == VALLOC_DIVHI)
- {
- record_content (AX, NULL_RTX);
- record_content (BC, NULL_RTX);
- }
- else if (valloc_method == VALLOC_DIVSI)
- {
- record_content (AX, NULL_RTX);
- record_content (BC, NULL_RTX);
- record_content (DE, NULL_RTX);
- record_content (HL, NULL_RTX);
- }
if (insn_ok_now (insn))
continue;
@@ -3509,18 +3497,6 @@ rl78_alloc_physical_registers (void)
record_content (BC, NULL_RTX);
record_content (DE, NULL_RTX);
break;
- case VALLOC_DIVSI:
- rl78_alloc_address_registers_div (insn);
- record_content (AX, NULL_RTX);
- record_content (BC, NULL_RTX);
- record_content (DE, NULL_RTX);
- record_content (HL, NULL_RTX);
- break;
- case VALLOC_DIVHI:
- rl78_alloc_address_registers_div (insn);
- record_content (AX, NULL_RTX);
- record_content (BC, NULL_RTX);
- break;
default:
gcc_unreachable ();
}
@@ -3835,37 +3811,6 @@ set_origin (rtx pat, rtx_insn * insn, int * origins, int * age)
age[i] = 0;
}
}
- else if (get_attr_valloc (insn) == VALLOC_DIVHI)
- {
- if (dump_file)
- fprintf (dump_file, "Resetting origin of AX/DE for DIVHI pattern.\n");
-
- for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
- if (i == A_REG
- || i == X_REG
- || i == D_REG
- || i == E_REG
- || origins[i] == A_REG
- || origins[i] == X_REG
- || origins[i] == D_REG
- || origins[i] == E_REG)
- {
- origins[i] = i;
- age[i] = 0;
- }
- }
- else if (get_attr_valloc (insn) == VALLOC_DIVSI)
- {
- if (dump_file)
- fprintf (dump_file, "Resetting origin of AX/BC/DE/HL for DIVSI pattern.\n");
-
- for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
- if (i <= 7 || origins[i] <= 7)
- {
- origins[i] = i;
- age[i] = 0;
- }
- }
if (GET_CODE (src) == ASHIFT
|| GET_CODE (src) == ASHIFTRT