Commit 15389075 by Richard Henderson Committed by Richard Henderson

* alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.

From-SVN: r17485
parent 83c8ddef
Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
* alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
* toplev.c (get_run_time): Make sure each case gets its variables.
......
......@@ -1614,6 +1614,12 @@ alpha_expand_block_move (operands)
if (bytes > MAX_MOVE_WORDS*8)
return 0;
/* Ideally we would do nice things when noticing the addressof. */
if (GET_CODE (XEXP (orig_src, 0)) == ADDRESSOF)
orig_src = copy_addr_to_reg (XEXP (orig_src, 0));
if (GET_CODE (XEXP (orig_dst, 0)) == ADDRESSOF)
orig_dst = copy_addr_to_reg (XEXP (orig_dst, 0));
/* Handle a block of contiguous words first. */
if (align >= 8 && bytes >= 8)
......
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