diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-07-18 09:36:55 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-07-18 09:36:55 +0000 |
commit | 12b36be2c05306f295304061bb199209274cd917 (patch) | |
tree | 78d20a51de347ca1341d68be7c1a29065ca9b55f | |
parent | 13e77ed917e9f897446eaf20b7737e5b697afcf8 (diff) | |
download | gcc-12b36be2c05306f295304061bb199209274cd917.zip gcc-12b36be2c05306f295304061bb199209274cd917.tar.gz gcc-12b36be2c05306f295304061bb199209274cd917.tar.bz2 |
mips.md (clear_cache): Treat the size argument as Pmode.
gcc/
* config/mips/mips.md (clear_cache): Treat the size argument as Pmode.
From-SVN: r126717
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/mips/mips.md | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17c729d..a6abc7a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2007-07-18 Richard Sandiford <richard@codesourcery.com> + * config/mips/mips.md (clear_cache): Treat the size argument as Pmode. + +2007-07-18 Richard Sandiford <richard@codesourcery.com> + * config/mips/mips.md (*extendqihi2): Convert the destination to SImode. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index cad5920..abac631 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -4249,8 +4249,7 @@ /* Flush both caches. We need to flush the data cache in case the system has a write-back cache. */ emit_library_call (gen_rtx_SYMBOL_REF (Pmode, mips_cache_flush_func), - 0, VOIDmode, 3, operands[0], Pmode, - len, TYPE_MODE (integer_type_node), + 0, VOIDmode, 3, operands[0], Pmode, len, Pmode, GEN_INT (3), TYPE_MODE (integer_type_node)); } DONE; |