mips.c (mips_valid_offset_p): New function.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 1 Jun 2008 13:01:23 +0000 (13:01 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 1 Jun 2008 13:01:23 +0000 (13:01 +0000)
commitfa21a761a6e3d63bfddbd722e3d754c67b49b832
tree9c55217d47044ea577705c898f5fa55f382ce4d0
parent2f7e2abbd1a97bcc0a8442c8e7358fb01ef7ffa8
mips.c (mips_valid_offset_p): New function.

gcc/
* config/mips/mips.c (mips_valid_offset_p): New function.
(mips_valid_lo_sum_p): Likewise.
(mips_classify_address): Use them.
(mips_force_address): New function.
(mips_legitimize_address): Use it.
* config/mips/mips.md (MOVE128): New mode iterator.
(movtf): Require TARGET_64BIT.  Remove empty strings.
(*movtf_internal): Rename to...
(*movtf): ...this and require !TARGET_MIPS16.  Use "m" instead
of "R" and use {,fp}{load,store} attributes instead of "multi".
Use a separate define_split.
(*movtf_mips16): New pattern.

gcc/testsuite/
* gcc.target/mips/fpr-moves-7.c: New test.
* gcc.target/mips/fpr-moves-8.c: New test.

From-SVN: r136253
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/fpr-moves-7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/mips/fpr-moves-8.c [new file with mode: 0644]