aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/mips.md3
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;