diff options
author | Adam Nemet <anemet@caviumnetworks.com> | 2008-04-10 18:28:45 +0000 |
---|---|---|
committer | Adam Nemet <nemet@gcc.gnu.org> | 2008-04-10 18:28:45 +0000 |
commit | 5fb79e4c29afffae11b32f374ee8b120264305e9 (patch) | |
tree | cfc57e17ab56b580908b71d4f44b183d01ef784c /gcc/gcc.c | |
parent | 63d628b2fe6292f5a67eb68ede05b14d52dd4265 (diff) | |
download | gcc-5fb79e4c29afffae11b32f374ee8b120264305e9.zip gcc-5fb79e4c29afffae11b32f374ee8b120264305e9.tar.gz gcc-5fb79e4c29afffae11b32f374ee8b120264305e9.tar.bz2 |
mips.md (GPR2): New mode iterator.
* config/mips/mips.md (GPR2): New mode iterator.
(seq): Add comment.
(*seq_<mode>, *seq_<mode>_mips16, *sne_<mode>, *sgt<u>_<mode>,
*sgt<u>_<mode>_mips16, *sge<u>_<mode>, *slt<u>_<mode>,
*slt<u>_<mode>_mips16 *sle<u>_<mode>, *sle<u>_<mode>_mips16):
Rewrite these to take two modes, the mode of comparison and the
mode of the destination.
* config/mips/mips.c (mips_expand_scc): Instead of having
paradoxical subreg as destination, expand "narrowing" scc if mode
of comparison is SI and target is requested in DI mode.
(mips_emit_int_order_test): Update comment. Make mode of
comparison match CMP0 rather than TARGET. When creating inverse
target use mode of TARGET.
testsuite/
* gcc.target/mips/scc-2.c: New test.
* gcc.target/mips/scc-3.c: New test.
* gcc.target/mips/scc-4.c: New test.
From-SVN: r134167
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions