OSDN Git Service

* config/mips/mips.c (mips_legitimize_move): Generate special patterns
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Apr 2004 06:10:13 +0000 (06:10 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Apr 2004 06:10:13 +0000 (06:10 +0000)
commite2bf354451d18d0b507261faf11f06831b7f4115
treec7b2d7cabc7ede1be6cf9f7e3577319e6ba602b2
parent5cd4945143a66ce6dc6bdebbc42602656c750160
* config/mips/mips.c (mips_legitimize_move): Generate special patterns
for mflo and mfhi instructions.
(mips_output_move): Remove mflo and mfhi handling.
* config/mips/mips.md (UNSPEC_MFHILO): New unspec.
(*mulsidi3_64bit): Update for new mfhi/mflo representation.
Likewise various define_peephole2s.
(*movdi_32bit, *movdi_64bit, *movsi_internal): Merge x<-J and x<-d
alternatives.
(*movdi_64bit, *movdi_64bit_mips16, *mov[shq]i_internal)
(*mov[shq]i_mips16): Remove mflo and mfhi alternatives.
(mfhilo_di, mfhilo_si): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80883 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/mips.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/mips-hilo-1.c [new file with mode: 0644]