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
This commit is contained in:
Nick Clifton 2015-02-10 10:10:07 +00:00
parent 9e27153139
commit 7299e9f15a
2 changed files with 10 additions and 60 deletions

View File

@ -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.

View File

@ -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