Commit f69bbb46 by Jan Hubicka Committed by Jan Hubicka

* config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO.

From-SVN: r139856
parent e04ad03d
2008-00-01 Jan Hubicka <jh@suse.cz>
* config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO.
* expr.c (MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P, SET_BY_PIECES_P): Pass speed operand.
* expr.h (MOVE_RATIO, CLEAR_RATIO, SET_RATIO): Update.
* gimplify.c (gimplify_init_constructor): Add speed operand.
......
......@@ -663,7 +663,7 @@ spu_expand_block_move (rtx ops[])
int i;
if (GET_CODE (ops[2]) != CONST_INT
|| GET_CODE (ops[3]) != CONST_INT
|| INTVAL (ops[2]) > (HOST_WIDE_INT) (MOVE_RATIO * 8))
|| INTVAL (ops[2]) > (HOST_WIDE_INT) (MOVE_RATIO (optimize_insn_for_speed_p ()) * 8))
return 0;
bytes = INTVAL (ops[2]);
......
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