mips.md (clear_cache): Treat the size argument as Pmode.
authorRichard Sandiford <richard@codesourcery.com>
Wed, 18 Jul 2007 09:36:55 +0000 (09:36 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 18 Jul 2007 09:36:55 +0000 (09:36 +0000)
gcc/
* config/mips/mips.md (clear_cache): Treat the size argument as Pmode.

From-SVN: r126717

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

index 17c729d19e573a264716bb0bf0367b2619f62c51..a6abc7a30fe53b4a5804e8d75bb7d1d10f52895e 100644 (file)
@@ -1,3 +1,7 @@
+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
index cad5920bc0f75ce3b4ca5a9cea89f0a43ccc6caf..abac631848afc7184192614efdba41a1d181b73a 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;