OSDN Git Service

* config/mips/mips.c (mips_integer_op): New structure.
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 May 2003 08:10:17 +0000 (08:10 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 May 2003 08:10:17 +0000 (08:10 +0000)
commit600ec5247134408f942ad28ca53fb27f23c34998
treeba7a4dab8a0d9dfbc4136b4be20a1621c1d3e3b3
parent5425d4cb487d4ac17cd5d6b40fb213fd68aaa476
* config/mips/mips.c (mips_integer_op): New structure.
(MIPS_MAX_INTEGER_OPS): Define.
(mips_const_insns): Use mips_build_integer to determine the number
of instructions needed to load a CONST_INT.
(move_operand): Reject compound CONST_INTs.
(mips_build_shift, mips_build_lower, mips_build_integer): New fns.
(mips_move_integer): New fn.
(mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
(mips_legitimize_move): Only legitimize constants when moving
word or subword values.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66419 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.c