gcc/
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jul 2007 09:36:55 +0000 (09:36 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jul 2007 09:36:55 +0000 (09:36 +0000)
* config/mips/mips.md (clear_cache): Treat the size argument as Pmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126717 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/mips.md

index 17c729d..a6abc7a 100644 (file)
@@ -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.
 
index cad5920..abac631 100644 (file)
       /* 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;