From 12b36be2c05306f295304061bb199209274cd917 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 18 Jul 2007 09:36:55 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/config/mips/mips.md | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17c729d19e5..a6abc7a30fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-07-18 Richard Sandiford + + * config/mips/mips.md (clear_cache): Treat the size argument as Pmode. + 2007-07-18 Richard Sandiford * config/mips/mips.md (*extendqihi2): Convert the destination diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index cad5920bc0f..abac631848a 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; -- 2.30.2