Commit 12b36be2 by Richard Sandiford Committed by Richard Sandiford

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
parent 13e77ed9
2007-07-18 Richard Sandiford <richard@codesourcery.com> 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 * config/mips/mips.md (*extendqihi2): Convert the destination
to SImode. to SImode.
......
...@@ -4249,8 +4249,7 @@ ...@@ -4249,8 +4249,7 @@
/* Flush both caches. We need to flush the data cache in case /* Flush both caches. We need to flush the data cache in case
the system has a write-back cache. */ the system has a write-back cache. */
emit_library_call (gen_rtx_SYMBOL_REF (Pmode, mips_cache_flush_func), emit_library_call (gen_rtx_SYMBOL_REF (Pmode, mips_cache_flush_func),
0, VOIDmode, 3, operands[0], Pmode, 0, VOIDmode, 3, operands[0], Pmode, len, Pmode,
len, TYPE_MODE (integer_type_node),
GEN_INT (3), TYPE_MODE (integer_type_node)); GEN_INT (3), TYPE_MODE (integer_type_node));
} }
DONE; DONE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment