* config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO.
From-SVN: r139856
This commit is contained in:
parent
e04ad03dae
commit
f69bbb461b
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
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]);
|
||||
|
|
Loading…
Add table
Reference in a new issue