-
expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use move_by_pieces. · fbe1758d
* expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use move_by_pieces. (MOVE_MAX_PIECES): Define maximum number of bytes to move at once. (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): Define defaults. (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define defaults. (move_by_pieces): Use new macros. (emit_block_move): Use new macros. (clear_by_pieces): Use new macros. (clear_storage): Use new macros. (emit_push_insn): Use new macros. (expand_expr): Use new macros. * config/sh/sh.h (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): Define. (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define. (MOVE_BY_PIECES_P): Define based on alignment and TARGET_SMALLCODE. (MOVE_MAX_PIECES): move 8 bytes on SH4. * tm.texi(MOVE_BY_PIECES_P, MOVE_MAX_PIECES, USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT, USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Describe new macros. From-SVN: r24801
Andrew MacLeod committed
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
elf.h | Loading commit data... | |
lib1funcs.asm | Loading commit data... | |
rtems.h | Loading commit data... | |
rtemself.h | Loading commit data... | |
sh.c | Loading commit data... | |
sh.h | Loading commit data... | |
sh.md | Loading commit data... | |
t-sh | Loading commit data... | |
xm-sh.h | Loading commit data... |