This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [Patch] 3/3 FFI: Use __builtin_flush_icache() to flush MIPS i-cache.
- From: Richard Sandiford <rsandifo at nildram dot co dot uk>
- To: David Daney <ddaney at avtrex dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Thu, 05 Jul 2007 19:54:08 +0100
- Subject: Re: [Patch] 3/3 FFI: Use __builtin_flush_icache() to flush MIPS i-cache.
- References: <468734D3.3020908@avtrex.com> <4687370E.7090801@avtrex.com> <468CA0EA.5010905@avtrex.com>
David Daney <ddaney@avtrex.com> writes:
> A new version of the patch. All that changed is the name of the
> builtin. It is now __builtin___clear_cache().
Assuming this is considered part of the MIPS target...
> * src/mips/ffi.c: Don't include sys/cachectl.h.
> (ffi_prep_closure_loc): Use __builtin___clear_cache() instead of
> cacheflush().
OK, thanks.
Richard