mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe MIPS-specific implementation details.
commita1c6b246b55b9c50aaf5d15e180d13f01b903cf5
authorRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 24 Oct 2007 17:46:39 +0000 (24 17:46 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 24 Oct 2007 17:46:39 +0000 (24 17:46 +0000)
treea8ba7bae7f0a9ef3a148c5177da7c152b6e2e57c
parent32e520abfcfb27d1d0949b1fe8fc8217678ecea3
mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe MIPS-specific implementation details.

gcc/
* config/mips/mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe
MIPS-specific implementation details.
(MIPS_MAX_MOVE_BYTES_PER_LOOP_ITER): New macro.
(MIPS_MAX_MOVE_BYTES_STRAIGHT): Likewise.
(MOVE_RATIO): Define to MIPS_MAX_MOVE_BYTES_STRAIGHT / UNITS_PER_WORD
for targets with movmemsi.
(MOVE_BY_PIECES_P): Define.
* config/mips/mips.c (MAX_MOVE_REGS, MAX_MOVE_BYTES): Delete.
(mips_block_move_loop): Add a bytes_per_iter argument.
(mips_expand_block_move): Use MIPS_MAX_MOVE_BYTES_STRAIGHT.
Update call to mips_block_move_loop.

From-SVN: r129605
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.h