Commit 75528b80 by J"orn Rennecke Committed by Joern Rennecke

reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS is earlier than…

reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS is earlier than RELOAD_FOR_OUTPUT_ADDRESS...

	* reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS
	is earlier than RELOAD_FOR_OUTPUT_ADDRESS; RELOAD_FOR_INPADDR_ADDRESS
	is earlier than RELOAD_FOR_INPUT_ADDRESS.

From-SVN: r20526
parent 42b82dd3
Tue Jun 16 23:33:24 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS
is earlier than RELOAD_FOR_OUTPUT_ADDRESS; RELOAD_FOR_INPADDR_ADDRESS
is earlier than RELOAD_FOR_INPUT_ADDRESS.
Tue Jun 16 13:15:16 1998 Jim Wilson <wilson@cygnus.com> Tue Jun 16 13:15:16 1998 Jim Wilson <wilson@cygnus.com>
* libgcc1-test.c (memcpy): Define. * libgcc1-test.c (memcpy): Define.
......
...@@ -4658,6 +4658,10 @@ reload_reg_free_before_p (regno, opnum, type) ...@@ -4658,6 +4658,10 @@ reload_reg_free_before_p (regno, opnum, type)
the first place, since we know that it was allocated. */ the first place, since we know that it was allocated. */
case RELOAD_FOR_OUTPUT_ADDRESS: case RELOAD_FOR_OUTPUT_ADDRESS:
/* Earlier reloads include RELOAD_FOR_INPADDR_ADDRESS reloads. */
if (TEST_HARD_REG_BIT (reload_reg_used_in_outaddr_addr[opnum], regno))
return 0;
/* ... fall through ... */
case RELOAD_FOR_OUTADDR_ADDRESS: case RELOAD_FOR_OUTADDR_ADDRESS:
/* Earlier reloads are for earlier outputs or their addresses, /* Earlier reloads are for earlier outputs or their addresses,
any RELOAD_FOR_INSN reloads, any inputs or their addresses, or any any RELOAD_FOR_INSN reloads, any inputs or their addresses, or any
...@@ -4738,6 +4742,10 @@ reload_reg_free_before_p (regno, opnum, type) ...@@ -4738,6 +4742,10 @@ reload_reg_free_before_p (regno, opnum, type)
return ! TEST_HARD_REG_BIT (reload_reg_used_in_other_addr, regno); return ! TEST_HARD_REG_BIT (reload_reg_used_in_other_addr, regno);
case RELOAD_FOR_INPUT_ADDRESS: case RELOAD_FOR_INPUT_ADDRESS:
/* Earlier reloads include RELOAD_FOR_INPADDR_ADDRESS reloads. */
if (TEST_HARD_REG_BIT (reload_reg_used_in_inpaddr_addr[opnum], regno))
return 0;
/* ... fall through ... */
case RELOAD_FOR_INPADDR_ADDRESS: case RELOAD_FOR_INPADDR_ADDRESS:
/* Similarly, all we have to check is for use in earlier inputs' /* Similarly, all we have to check is for use in earlier inputs'
addresses. */ addresses. */
......
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