Commit 7299e9f1 by Nick Clifton

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
parent 9e271531
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> 2015-02-10 Richard Biener <rguenther@suse.de>
* tree-streamer.h (streamer_read_tree_bitfields): Adjust. * tree-streamer.h (streamer_read_tree_bitfields): Adjust.
...@@ -65,7 +70,7 @@ ...@@ -65,7 +70,7 @@
2015-02-08 Jan Hubicka <hubicka@ucw.cz> 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
PR ipa/63566 PR ipa/63566
* ipa-icf.c (set_local): New function. * ipa-icf.c (set_local): New function.
(sem_function::merge): Use it. (sem_function::merge): Use it.
...@@ -125,13 +130,13 @@ ...@@ -125,13 +130,13 @@
2015-02-08 Jan Hubicka <hubicka@ucw.cz> 2015-02-08 Jan Hubicka <hubicka@ucw.cz>
PR ipa/63566 PR ipa/63566
* ipa-visibility.c (cgraph_node::non_local_p): Accept aliases. * ipa-visibility.c (cgraph_node::non_local_p): Accept aliases.
(cgraph_node::local_p): Remove thunk related FIXME. (cgraph_node::local_p): Remove thunk related FIXME.
2015-02-08 Jan Hubicka <hubicka@ucw.cz> 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 * i386.c (ix86_function_regparm): Look through aliases to see if callee
is local and optimized. is local and optimized.
(ix86_function_sseregparm): Likewise; also use target's SSE math (ix86_function_sseregparm): Likewise; also use target's SSE math
...@@ -141,12 +146,12 @@ ...@@ -141,12 +146,12 @@
2015-02-08 Jan Hubicka <hubicka@ucw.cz> 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. * ipa-split.c (execute_split_functions): Split if function has aliases.
2015-02-08 Jan Hubicka <hubicka@ucw.cz> 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 * cgraphunit.c (cgraph_node::analyze): Be sure target of thunk is
aliases before trying to expand it. aliases before trying to expand it.
(cgraph_node::expand_thunk): Fix formating. (cgraph_node::expand_thunk): Fix formating.
......
...@@ -3462,18 +3462,6 @@ rl78_alloc_physical_registers (void) ...@@ -3462,18 +3462,6 @@ rl78_alloc_physical_registers (void)
record_content (BC, NULL_RTX); record_content (BC, NULL_RTX);
record_content (DE, 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)) if (insn_ok_now (insn))
continue; continue;
...@@ -3509,18 +3497,6 @@ rl78_alloc_physical_registers (void) ...@@ -3509,18 +3497,6 @@ rl78_alloc_physical_registers (void)
record_content (BC, NULL_RTX); record_content (BC, NULL_RTX);
record_content (DE, NULL_RTX); record_content (DE, NULL_RTX);
break; 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: default:
gcc_unreachable (); gcc_unreachable ();
} }
...@@ -3835,37 +3811,6 @@ set_origin (rtx pat, rtx_insn * insn, int * origins, int * age) ...@@ -3835,37 +3811,6 @@ set_origin (rtx pat, rtx_insn * insn, int * origins, int * age)
age[i] = 0; 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 if (GET_CODE (src) == ASHIFT
|| GET_CODE (src) == ASHIFTRT || GET_CODE (src) == ASHIFTRT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment